/* Stamperr 2026 modern visual system — customer-app-first hero & floating glass shell.
   Color palette derived directly from Stamperr logo and live customer app UI. */
.landing-page {
  --home-void: #060a16;
  --home-navy: #0c1328;
  --home-surface-dark: #111a36;
  --home-blue: #4345d9;
  --home-blue-bright: #6366f1;
  --home-deep: #2b2ea8;
  --home-accent: #f5b544;
  --home-accent-hover: #fbcb6b;
  --home-emerald: #10b981;
  --home-ink: #0b1224;
  --home-muted: #526077;
  --home-paper: #f6f8fc;
  --home-line: rgba(15, 23, 42, 0.09);
  --home-line-dark: rgba(255, 255, 255, 0.11);
  background: #fff;
  color: var(--home-ink);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.landing-page .wrap { max-width: 1240px; width: calc(100% - 88px); }
.landing-page h1, .landing-page h2, .landing-page h3 {
  font-weight: 700;
  letter-spacing: -0.04em;
  text-wrap: balance;
}
.landing-page main :is(section, [id]) { scroll-margin-top: 108px; }

/* Floating frosted-glass header */
.landing-page .header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  background: transparent;
  border: 1px solid transparent;
  color: #f8fafc;
  transition: background .28s ease, border-color .28s ease, box-shadow .28s ease, inset .28s ease, border-radius .28s ease;
}
.landing-page:not(.home-enhanced) .header { position: absolute; }
.landing-page.header-scrolled .header {
  inset: 12px 24px auto;
  max-width: 1260px;
  margin-inline: auto;
  border-color: rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  background: rgba(9, 14, 32, 0.82);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  box-shadow: 0 18px 48px rgba(3, 7, 18, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.landing-page.header-scrolled .header .wrap { width: calc(100% - 36px); }
.landing-page .nav { min-height: 84px; gap: 28px; }
.landing-page.header-scrolled .nav { min-height: 68px; }
.landing-page .brand {
  color: #fff;
  font-size: 23px;
  font-weight: 750;
  letter-spacing: -0.04em;
  gap: 10px;
}
.landing-page .header .brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  padding: 0;
  object-fit: cover;
  box-shadow: 0 4px 14px rgba(67, 69, 217, 0.35);
}
.landing-page .desktop-nav { gap: 26px; margin-left: auto; }
.landing-page .desktop-nav a {
  color: rgba(241, 245, 249, 0.84);
  font-weight: 550;
  font-size: 13.5px;
  opacity: 1;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  transition: color .18s ease;
}
.landing-page .desktop-nav a:hover { color: #fff; text-decoration: none; }
.landing-page .language-picker > summary {
  color: #f1f5f9;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 8px 13px;
  min-height: 44px;
  font-size: 12.5px;
}
.landing-page .language-picker > summary > span { color: rgba(226, 232, 240, 0.78); }
.landing-page .header .language-options {
  color: #f1f5f9;
  background: #0d152e;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(2, 6, 23, 0.55);
}
.landing-page .header .language-options > span { color: #94a3b8; }
.landing-page .header .language-options a { color: #f1f5f9; border-color: rgba(255, 255, 255, 0.08); }
.landing-page .header .language-options a > span { color: #94a3b8; }
.landing-page .header .language-options a:hover,
.landing-page .header .language-options a[aria-current=true] {
  background: rgba(245, 181, 68, 0.14);
  color: var(--home-accent);
}
.landing-page .header .button.small,
.landing-page.header-scrolled .header .button.small {
  background: var(--home-accent);
  color: #0b1224;
  border-color: var(--home-accent);
  border-radius: 12px;
  font-size: 13px !important;
  font-weight: 680;
  padding: 10px 18px;
  min-height: 44px;
  box-shadow: 0 6px 20px rgba(245, 181, 68, 0.25);
}
.landing-page .header .button.small:hover {
  background: var(--home-accent-hover);
  border-color: var(--home-accent-hover);
  transform: translateY(-1px);
}
.landing-page .menu-toggle {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  width: 44px;
  height: 44px;
}
.landing-page .menu-toggle span { background: #fff; }
.landing-page .mobile-nav,
.landing-page.header-scrolled .mobile-nav {
  background: #0b132b;
  border-color: rgba(255, 255, 255, 0.1);
  border-radius: 0 0 21px 21px;
  padding-bottom: 20px;
}
.landing-page .mobile-nav a { color: #f1f5f9; border-color: rgba(255, 255, 255, 0.08); min-height: 48px; }
.landing-page .mobile-nav a:last-child { color: var(--home-accent); font-weight: 650; }
.landing-page :is(a, button, summary):focus-visible { outline: 2.5px solid var(--home-blue-bright); outline-offset: 4px; }
.landing-page .hero :is(a, button):focus-visible,
.landing-page .header :is(a, button, summary):focus-visible { outline-color: var(--home-accent); }

/* Hero — Midnight Obsidian-Indigo stage showcasing the LIVE Customer App */
.landing-page .hero {
  position: relative;
  padding: 118px 0 64px;
  background:
    radial-gradient(ellipse 68% 58% at 78% 36%, rgba(79, 70, 229, 0.42), transparent 64%),
    radial-gradient(ellipse 46% 42% at 62% 76%, rgba(245, 181, 68, 0.16), transparent 62%),
    radial-gradient(ellipse 52% 48% at 10% 10%, rgba(52, 54, 200, 0.28), transparent 60%),
    linear-gradient(155deg, #060916 0%, #0b1128 52%, #131b42 100%);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
  margin: 0;
  border-radius: 0;
}
.landing-page .hero-mesh {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(255, 255, 255, 0.11) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse 85% 75% at 50% 40%, #000 35%, transparent 100%);
  opacity: 0.45;
  pointer-events: none;
}
.landing-page .hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 56px;
  align-items: center;
}
.landing-page .hero-copy {
  text-align: left;
  max-width: 560px;
  min-width: 0;
  position: relative;
  z-index: 4;
}
.landing-page .hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  margin: 0 0 28px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  color: #e2e8f0;
  font-size: 12.5px;
  font-weight: 560;
  letter-spacing: 0.01em;
  text-transform: none;
  line-height: 1.4;
}
.landing-page .hero .eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--home-emerald);
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.24);
  flex: none;
}
.landing-page .hero .eyebrow > span:not(.eyebrow-dot) {
  width: auto;
  height: auto;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
}
.landing-page .hero h1 {
  font-size: clamp(44px, 4.7vw, 68px);
  font-weight: 720;
  line-height: 1.04;
  letter-spacing: -0.048em;
  max-width: 560px;
  margin: 0;
  color: #fff;
}
.landing-page .hero h1 em {
  display: inline-block;
  font-style: normal;
  background: linear-gradient(96deg, #fde68a 0%, #f5b544 55%, #fb923c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-top: 4px;
}
.landing-page .hero .lead {
  font-size: 17px;
  line-height: 1.72;
  color: #cbd5e1;
  max-width: 495px;
  margin: 26px 0 34px;
}
.landing-page .hero .actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.landing-page .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 14px;
  min-height: 54px;
  padding: 14px 24px;
  font-size: 14.5px;
  font-weight: 650;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.landing-page .hero .hero-primary {
  background: linear-gradient(180deg, #fbcb6b 0%, #f5b544 100%);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #0b1224;
  font-weight: 700;
  box-shadow: 0 12px 32px rgba(245, 181, 68, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.55);
}
.landing-page .hero .hero-primary:hover {
  background: linear-gradient(180deg, #fde098 0%, #f8c057 100%);
  transform: translateY(-2px);
  box-shadow: 0 16px 38px rgba(245, 181, 68, 0.36);
}
.landing-page .hero-app-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 14px 22px;
  font-size: 14.5px;
  font-weight: 600;
  color: #f1f5f9;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.landing-page .hero-app-link:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.28);
  text-decoration: none;
  transform: translateY(-1px);
}
.landing-page .hero :is(.button, .hero-app-link) svg { width: 18px; height: 18px; }
.landing-page .hero-venues {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  max-width: 520px;
}
.landing-page .hero-venues > a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  font-size: 12.5px;
  font-weight: 520;
  color: #cbd5e1;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.landing-page .hero-venues > a:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(245, 181, 68, 0.45);
  color: #fff;
  text-decoration: none;
}

/* Flagship Customer App Hero Phone Stage */
.landing-page .guest-hero-showcase {
  margin: 0;
  width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}
.landing-page .hero-stage-shell {
  position: relative;
  width: 100%;
  max-width: 560px;
  height: 620px;
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
}
.landing-page .hero-halo {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 460px;
  height: 460px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.42) 0%, rgba(245, 181, 68, 0.14) 48%, transparent 72%);
  filter: blur(18px);
  z-index: -2;
  pointer-events: none;
}
.landing-page .hero-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 490px;
  height: 490px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 0 0 42px rgba(255, 255, 255, 0.02);
  z-index: -1;
  pointer-events: none;
}
.landing-page .hero-phone-wrap {
  position: relative;
  width: 282px;
  z-index: 2;
}
.landing-page .hero-phone {
  position: relative;
  padding: 8px;
  border-radius: 44px;
  background: linear-gradient(145deg, #4b5575 0%, #1d253d 28%, #5b678a 52%, #1a2138 78%, #3c4666 100%);
  box-shadow:
    0 36px 80px rgba(2, 6, 23, 0.72),
    0 0 0 1px rgba(255, 255, 255, 0.22),
    inset 0 1px 1px rgba(255, 255, 255, 0.35);
}
.landing-page .hero-phone-island {
  position: absolute;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  width: 78px;
  height: 20px;
  border-radius: 999px;
  background: #050812;
  z-index: 5;
  pointer-events: none;
}
.landing-page .hero-phone-screen {
  position: relative;
  width: 100%;
  aspect-ratio: 390 / 844;
  border-radius: 36px;
  overflow: hidden;
  border: 3px solid #090e1c;
  background: #f1f5f9;
  contain: layout paint;
}
.landing-page .hero-screen-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: #f1f5f9;
}
.landing-page .hero-screen-frame[hidden] { display: none; }

/* Floating Live App Widgets around Hero Phone */
.landing-page .hero-float {
  position: absolute;
  z-index: 4;
  border-radius: 18px;
  pointer-events: none;
}
.landing-page .hero-float-notification {
  left: -8px;
  top: 74px;
  width: 238px;
  padding: 11px 12px 9px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 24px 50px rgba(2, 6, 23, 0.45);
  transform: rotate(-2.5deg);
}
.landing-page .hero-float-notification .floating-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 650;
  color: #475569;
  margin: 0 0 6px;
}
.landing-page .hero-float-notification .floating-label svg { width: 13px; height: 13px; color: var(--home-blue); }
.landing-page .hero-float-coupon {
  right: -14px;
  bottom: 58px;
  width: 256px;
  padding: 10px 10px 8px;
  background: rgba(15, 23, 48, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 24px 52px rgba(2, 6, 23, 0.55);
  transform: rotate(3.2deg);
}
.landing-page .hero-float-coupon .floating-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 650;
  color: #fde68a;
  margin: 0 0 7px 4px;
}
.landing-page .hero-float-coupon .floating-label svg { width: 13px; height: 13px; color: var(--home-accent); }
.landing-page .hero-float .notification-surface { position: relative; width: 100%; aspect-ratio: 388 / 116; }
.landing-page .hero-float .coupon-surface { position: relative; width: 100%; aspect-ratio: 388 / 158; border-radius: 14px; overflow: hidden; }
.landing-page .hero-float .app-ui-frame { position: absolute; inset: 0; width: 100%; height: 100%; }

/* Hero Switcher Controls */
.landing-page .return-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin: 8px 0 10px;
  position: relative;
  z-index: 5;
}
.landing-page .return-controls[hidden] { display: none; }
.landing-page .return-steps {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
}
.landing-page .return-steps button {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 8px 14px;
  min-height: 44px;
  font: inherit;
  font-size: 12px;
  font-weight: 560;
  color: #cbd5e1;
  background: transparent;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.landing-page .return-steps button > span {
  font-size: 10px;
  font-variant-numeric: tabular-nums;
  opacity: 0.72;
}
.landing-page .return-steps button:hover { background: rgba(255, 255, 255, 0.09); color: #fff; }
.landing-page .return-steps button[aria-pressed=true] {
  background: #fff;
  color: #0b1224;
  font-weight: 660;
}
.landing-page .return-steps button[aria-pressed=true] > span { color: var(--home-blue); opacity: 1; }
.landing-page .story-progress {
  position: absolute;
  bottom: 0;
  left: 10px;
  right: 10px;
  height: 2.5px;
  border-radius: 2px;
  background: var(--home-blue);
  transform: scaleX(0);
  transform-origin: left;
  pointer-events: none;
}
.landing-page .return-steps button:not([aria-pressed=true]) .story-progress { visibility: hidden; }
.landing-page .return-playback { display: flex; align-items: center; gap: 6px; flex: none; }
.landing-page .story-replay,
.landing-page .return-controls .motion-toggle {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  color: #f1f5f9;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease;
}
.landing-page .story-replay:hover,
.landing-page .return-controls .motion-toggle:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.3);
}
.landing-page .story-replay svg,
.landing-page .return-controls .motion-toggle svg { width: 17px; height: 17px; }
.landing-page .guest-hero-showcase figcaption {
  color: #94a3b8;
  font-size: 11px;
  line-height: 1.6;
  text-align: center;
  max-width: 380px;
  margin: 4px auto 0;
}
.landing-page .guest-hero-showcase figcaption > span { display: block; opacity: 0.85; }

@media (prefers-reduced-motion: no-preference) {
  .landing-page .motion-ready .hero-float-notification { animation: stamperr-float-a 7.5s ease-in-out infinite; }
  .landing-page .motion-ready .hero-float-coupon { animation: stamperr-float-b 8.5s ease-in-out infinite; }
}
.landing-page .motion-paused :is(.hero-float-notification, .hero-float-coupon),
.landing-page .motion-offscreen :is(.hero-float-notification, .hero-float-coupon) { animation-play-state: paused; }
@keyframes stamperr-float-a { 50% { transform: translateY(-7px) rotate(-1.5deg); } }
@keyframes stamperr-float-b { 50% { transform: translateY(7px) rotate(2.2deg); } }

@media (prefers-reduced-motion: reduce) {
  .landing-page .story-progress,
  .landing-page .return-controls .motion-toggle { display: none; }
}

/* Responsive Hero */
@media (max-width: 1160px) {
  .landing-page .wrap { width: calc(100% - 64px); }
  .landing-page .header-cta { display: none; }
  .landing-page .hero-layout { gap: 36px; }
  .landing-page .hero h1 { font-size: clamp(40px, 4.8vw, 56px); }
  .landing-page .hero-stage-shell { height: 580px; }
  .landing-page .hero-phone-wrap { width: 260px; }
  .landing-page .hero-float-notification { width: 205px; left: -4px; top: 64px; }
  .landing-page .hero-float-coupon { width: 220px; right: -4px; bottom: 52px; }
}
@media (max-width: 980px) {
  .landing-page .hero { padding: 112px 0 56px; }
  .landing-page .hero-layout { grid-template-columns: 1fr; gap: 44px; }
  .landing-page .hero-copy { max-width: 660px; }
  .landing-page .hero h1 { font-size: clamp(42px, 7.2vw, 62px); max-width: 640px; }
  .landing-page .hero .lead { max-width: 560px; }
  .landing-page .hero-stage-shell { max-width: 540px; height: 600px; }
}
@media (max-width: 640px) {
  .landing-page .wrap { width: calc(100% - 36px); }
  .landing-page.header-scrolled .header { inset: 8px 10px auto; border-radius: 18px; }
  .landing-page.header-scrolled .header .wrap { width: calc(100% - 24px); }
  .landing-page .nav { min-height: 70px; gap: 12px; }
  .landing-page.header-scrolled .nav { min-height: 60px; }
  .landing-page .brand { font-size: 20px; }
  .landing-page .header .brand img { width: 32px; height: 32px; border-radius: 9px; }
  .landing-page .hero { padding: 98px 0 46px; }
  .landing-page .hero .eyebrow { font-size: 11.5px; padding: 7px 13px; margin-bottom: 22px; }
  .landing-page .hero h1 { font-size: clamp(36px, 9.6vw, 50px); line-height: 1.07; overflow-wrap: anywhere; }
  .landing-page .hero .lead { font-size: 15px; margin: 20px 0 26px; }
  .landing-page .hero .actions { flex-direction: column; align-items: stretch; gap: 10px; }
  .landing-page .hero .hero-primary,
  .landing-page .hero-app-link { width: 100%; }
  .landing-page .hero-venues { margin-top: 24px; padding-top: 18px; gap: 7px; }
  .landing-page .hero-venues > a { font-size: 11.5px; padding: 5px 12px; }
  .landing-page .hero-stage-shell { height: auto; padding: 14px 0 10px; }
  .landing-page .hero-float { display: none; }
  .landing-page .hero-halo { width: 320px; height: 320px; }
  .landing-page .hero-ring { width: 340px; height: 340px; }
  .landing-page .hero-phone-wrap { width: min(268px, 78vw); }
  .landing-page .return-controls { flex-wrap: wrap; width: 100%; }
  .landing-page .return-steps { width: 100%; justify-content: space-between; }
  .landing-page .return-steps button { flex: 1; padding: 8px 6px; font-size: 11px; gap: 4px; }
}
html:is([lang=ky], [lang=kk]) .landing-page .hero h1 { font-size: clamp(38px, 4.1vw, 58px); }
@media (max-width: 640px) {
  html:is([lang=ky], [lang=kk]) .landing-page .hero h1 { font-size: clamp(33px, 8.6vw, 44px); }
}
