/* GuestCam standalone landing — guestcam.ir */
:root {
  --rose: #D691A3;
  --rose-dark: #C06F86;
  --rose-soft: #fae0e6;
  --cream: #fdfbee;
  --cream-deep: #fef1f5;
  --lilac: #fef1f5;
  --sage: #e0ecc6;
  --accent: #9eb9da;
  --ink: #2F2829;
  --muted: #6B5E60;
  --line: #E7E0D2;
  --white: #fff;
  --success: #08A48F;
  --danger: #A2464D;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(47, 40, 41, 0.06);
  --shadow: 0 12px 32px -12px rgba(47, 40, 41, 0.18);
  --font: 'Vazirmatn', Tahoma, sans-serif;
  --header-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(224, 236, 198, 0.6), transparent 70%),
    radial-gradient(ellipse 55% 40% at 0% 100%, rgba(158, 185, 218, 0.3), transparent 70%),
    var(--cream);
  background-attachment: fixed;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
[hidden] { display: none !important; }

:focus-visible {
  outline: 3px solid rgba(214, 145, 163, 0.55);
  outline-offset: 2px;
  border-radius: 8px;
}

.gl-visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.gl-skip {
  position: absolute;
  inset-inline-start: 1rem;
  top: -100px;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: 10px;
}
.gl-skip:focus { top: 1rem; }

.gl-container {
  width: min(1120px, 100% - 2.5rem);
  margin-inline: auto;
}
.gl-container-narrow { width: min(760px, 100% - 2.5rem); }

/* ---------- Buttons ---------- */
.gl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0 1.35rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 0.98rem;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}
.gl-btn:active { transform: translateY(1px); }
.gl-btn:disabled { opacity: 0.65; cursor: progress; }
.gl-btn-sm { min-height: 40px; padding: 0 1rem; font-size: 0.9rem; }
.gl-btn-primary {
  background: var(--rose);
  color: #fff;
  box-shadow: 0 8px 18px -8px rgba(143, 94, 105, 0.6);
}
.gl-btn-primary:hover { background: var(--rose-dark); }
.gl-btn-ghost {
  background: var(--white);
  border-color: var(--line);
  color: var(--ink);
}
.gl-btn-ghost:hover { border-color: var(--rose); color: var(--rose-dark); }
.gl-btn-light { background: #fff; color: var(--rose-dark); }
.gl-btn-light:hover { background: var(--cream); }
.gl-btn-outline-light { border-color: rgba(255, 255, 255, 0.55); color: #fff; }
.gl-btn-outline-light:hover { background: rgba(255, 255, 255, 0.12); }

.gl-link {
  font-weight: 700;
  color: var(--rose-dark);
  border-bottom: 2px solid rgba(214, 145, 163, 0.35);
  padding-bottom: 1px;
}
.gl-link:hover { border-color: var(--rose-dark); }

/* ---------- Header ---------- */
.gl-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 244, 232, 0.82);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid transparent;
  padding-top: env(safe-area-inset-top);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.gl-header.is-scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.gl-header-inner.gl-container {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding-inline: clamp(0.85rem, 2.2vw, 1.5rem);
  box-sizing: border-box;
}
.gl-header-inner {
  height: var(--header-h);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
}
.gl-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  direction: ltr;
  flex-shrink: 0;
  grid-column: 1;
  justify-self: start; /* RTL: flush to the right edge */
}
.gl-brand img { border-radius: 10px; }
.gl-brand-sm { font-size: 1rem; }
.gl-nav {
  display: flex;
  gap: 1.75rem;
  font-size: 0.93rem;
  color: var(--muted);
  justify-self: center;
  grid-column: 2;
}
.gl-nav a:hover { color: var(--rose-dark); }
.gl-nav a.is-active { color: var(--ink); font-weight: 700; }

/* qr.bazakapp.ir: Bazak logo in the landing header */
html.gc-bazak .gl-brand-bazak {
  direction: rtl;
  gap: 0;
}
html.gc-bazak .gl-brand-bazak img {
  height: 2.35rem;
  width: auto;
  border-radius: 8px;
}
/* qr.bazakapp.ir: hide GuestCam footer (Bazak site footer + bottom nav stay) */
html.gc-bazak .gl-footer {
  display: none !important;
}
html.gc-bazak .gl-closing {
  padding-bottom: 0;
}
/* Room for Bazak bottom nav on mobile */
@media (max-width: 1023px) {
  html.gc-bazak body {
    padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)) !important;
  }
}
.gl-header-actions {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
  grid-column: 3;
  justify-self: end; /* RTL: flush to the left edge */
}
/* ---------- Hero ---------- */
.gl-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: clamp(30rem, 78vh, 46rem);
  padding: calc(var(--header-h) + clamp(1.5rem, 4vw, 2.75rem)) 0 clamp(2rem, 5vw, 3.25rem);
  overflow: hidden;
  background: #1c1718;
}
.gl-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.gl-hero-media img,
.gl-hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}
.gl-hero-media video {
  position: absolute;
  inset: 0;
  display: none;
}
.gl-hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(28, 23, 24, 0.35) 0%, rgba(28, 23, 24, 0.15) 32%, rgba(28, 23, 24, 0.55) 62%, rgba(28, 23, 24, 0.88) 100%),
    linear-gradient(90deg, rgba(28, 23, 24, 0.45) 0%, transparent 42%, transparent 58%, rgba(28, 23, 24, 0.35) 100%);
  pointer-events: none;
}
.gl-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  /* Keep side inset from .gl-container — do not force width:100% */
  width: min(40rem, 100% - 2.5rem);
  max-width: 40rem;
  margin-inline: auto;
  box-sizing: border-box;
}
.gl-hero-copy {
  text-align: center;
  color: #fff;
  width: 100%;
  min-width: 0;
}
.gl-hero .gl-lead,
.gl-hero .gl-code { margin-inline: auto; }
.gl-hero .gl-code { text-align: start; }
.gl-hero h1 {
  font-size: clamp(1.85rem, 4.4vw, 3.1rem);
  line-height: 1.35;
  font-weight: 800;
  letter-spacing: -0.015em;
  margin-bottom: 1rem;
  color: #fff;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}
.gl-accent { color: #f0c9cb; white-space: nowrap; }
.gl-lead {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: rgba(255, 255, 255, 0.88);
  max-width: 34rem;
  margin-bottom: 1.75rem;
}
/* Code entry — primary guest task (desktop default; compact overrides on mobile) */
.gl-code {
  width: 100%;
  max-width: 34rem;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow:
    0 12px 40px -16px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(18px) saturate(1.35);
  -webkit-backdrop-filter: blur(18px) saturate(1.35);
  color: #fff;
}
.gl-code-label {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.6rem;
  color: #fff;
}
.gl-code-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 0.5rem;
  min-width: 0;
}
.gl-code-row input {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 48px;
  border: 1.5px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius-sm);
  padding: 0 1rem;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-align: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: border-color 0.15s ease, background 0.15s ease;
}
.gl-code-row input::placeholder { letter-spacing: 0.04em; font-weight: 500; color: rgba(255, 255, 255, 0.55); }
.gl-code-row input:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.2);
}
.gl-code-row input[aria-invalid="true"] { border-color: #f0a8ad; }
.gl-code-hint {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.78);
  margin-top: 0.55rem;
}
.gl-code-error { font-size: 0.85rem; color: #ffc9cd; font-weight: 600; margin-top: 0.45rem; }
.gl-hero .gl-code .gl-btn-primary {
  box-shadow: 0 8px 24px -10px rgba(0, 0, 0, 0.45);
}

/* Phone mockup (roles section showcase) */
.gl-showcase {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 460px;
  max-width: 420px;
  width: 100%;
  margin-inline: auto;
  justify-self: center;
}
.gl-phone {
  width: 250px;
  height: 500px;
  border-radius: 40px;
  background: var(--ink);
  padding: 12px;
  box-shadow: 0 40px 70px -30px rgba(47, 40, 41, 0.55);
  position: relative;
  transform: rotate(-3deg);
}
.gl-phone-notch {
  position: absolute;
  top: 18px;
  left: 50%;
  translate: -50% 0;
  width: 80px; height: 20px;
  border-radius: 999px;
  background: #1c1718;
  z-index: 2;
}
.gl-phone-screen {
  height: 100%;
  border-radius: 30px;
  background: linear-gradient(180deg, var(--cream) 0%, var(--lilac) 140%);
  padding: 48px 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
}
.gl-mock-head {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  font-weight: 700;
  justify-content: center;
}
.gl-mock-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); }
.gl-mock-drop {
  border: 2px dashed rgba(214, 145, 163, 0.55);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.7);
  display: grid;
  place-items: center;
  gap: 0.4rem;
  padding: 1.4rem 0.5rem;
  color: var(--rose-dark);
  font-size: 0.78rem;
  font-weight: 700;
  text-align: center;
}
.gl-mock-files { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.gl-mock-files span {
  aspect-ratio: 1;
  border-radius: 12px;
  background: linear-gradient(135deg, #d9b9ba, #efe2cf);
}
.gl-mock-files span:nth-child(2) { background: linear-gradient(135deg, #cdb8d6, #f0e6d4); }
.gl-mock-files span:nth-child(3) { background: linear-gradient(135deg, #e4c7b6, #d8c8e2); }
.gl-mock-bar { height: 8px; border-radius: 999px; background: rgba(47, 40, 41, 0.08); overflow: hidden; }
.gl-mock-bar i {
  display: block;
  height: 100%;
  width: 70%;
  border-radius: inherit;
  background: var(--rose);
  animation: gl-progress 2.8s ease-in-out infinite;
}
.gl-mock-btn {
  margin-top: auto;
  background: var(--rose);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 12px;
  text-align: center;
  padding: 0.7rem;
}
.gl-float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0.65rem 0.85rem;
  box-shadow: var(--shadow);
  font-size: 0.82rem;
}
.gl-float strong { display: block; font-size: 0.88rem; }
.gl-float span { color: var(--muted); }
.gl-float img { border-radius: 10px; }
.gl-float-qr { top: 34%; inset-inline-end: -56px; animation: gl-float 6s ease-in-out infinite; }
.gl-float-ok {
  bottom: 14%;
  inset-inline-start: -48px;
  color: var(--success);
  font-weight: 700;
  animation: gl-float 6s ease-in-out infinite reverse;
}
.gl-float-ok span { color: var(--ink); }

@keyframes gl-progress { 0% { width: 12%; } 70% { width: 92%; } 100% { width: 92%; } }
@keyframes gl-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ---------- Sections ---------- */
.gl-section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.gl-section-soft { background: var(--white); border-block: 1px solid var(--line); }
.gl-section-head { text-align: center; max-width: 40rem; margin: 0 auto 2.5rem; }
.gl-section-head h2 {
  font-size: clamp(1.45rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
}
.gl-section-head p { color: var(--muted); }

/* Roles */
.gl-roles-wrap { padding-top: clamp(1rem, 3vw, 2rem); }
.gl-roles-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}
.gl-roles-layout > .gl-visually-hidden { position: absolute; }
.gl-roles { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
.gl-role {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.35rem 1.4rem 1.25rem;
  background: rgba(255, 255, 255, 0.94);
  border: 1.5px solid rgba(231, 224, 210, 0.95);
  border-radius: var(--radius);
  color: var(--ink);
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 10px 26px -18px rgba(47, 40, 41, 0.35);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.gl-role:hover {
  transform: translateY(-3px);
  border-color: rgba(214, 145, 163, 0.65);
  box-shadow: 0 20px 36px -20px rgba(143, 94, 105, 0.55);
}
.gl-role:active { transform: translateY(0) scale(0.985); }
.gl-role:focus-visible {
  outline: 3px solid rgba(214, 145, 163, 0.55);
  outline-offset: 3px;
}
.gl-role-head { display: flex; align-items: center; gap: 0.85rem; }
.gl-role h3 { font-size: 1.15rem; font-weight: 800; }
.gl-role p { color: var(--muted); font-size: 0.93rem; line-height: 1.8; }
.gl-role-icon {
  flex-shrink: 0;
  width: 48px; height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--rose-soft);
  color: var(--rose-dark);
  transition: background 0.2s ease, color 0.2s ease;
}
.gl-role:hover .gl-role-icon { background: var(--rose); color: #fff; }
.gl-role-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.15rem;
  padding: 0.75rem 1rem;
  min-height: 48px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 0.95rem;
  background: var(--rose-soft);
  color: var(--rose-dark);
  transition: background 0.2s ease, color 0.2s ease;
}
.gl-role-guest:hover .gl-role-cta { background: #ecd3d3; }
.gl-role-arrow { flex-shrink: 0; transition: transform 0.2s ease; }
.gl-role:hover .gl-role-arrow { transform: translateX(-4px); }
.gl-role-host {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.95) 40%, rgba(243, 230, 228, 0.94));
}
.gl-role-host .gl-role-cta {
  background: var(--rose);
  color: #fff;
  box-shadow: 0 8px 18px -10px rgba(143, 94, 105, 0.7);
}
.gl-role-host:hover .gl-role-cta { background: var(--rose-dark); }
@media (prefers-reduced-motion: reduce) {
  .gl-role, .gl-role-arrow { transition: none; }
  .gl-role:hover { transform: none; }
}

/* Steps */
.gl-steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  align-items: stretch;
  counter-reset: step;
}
.gl-step {
  position: relative;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(231, 224, 210, 0.95);
  border-radius: var(--radius);
  padding: 1.6rem;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.gl-step-media {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
}
.gl-step-body { flex: 1; min-width: 0; }
.gl-step-visual {
  --v: 104px;
  position: relative;
  flex-shrink: 0;
  width: var(--v);
  height: var(--v);
  border-radius: 22px;
  background: #fff;
  border: 1.5px solid rgba(214, 145, 163, 0.45);
  box-shadow:
    0 0 0 4px rgba(214, 145, 163, 0.08),
    0 14px 28px -16px rgba(143, 94, 105, 0.35);
  display: grid;
  place-items: center;
  overflow: hidden;
  animation: gl-qr-float 5.5s ease-in-out infinite;
}
.gl-step-media:nth-child(2) .gl-step-visual { animation-delay: -1.8s; }
.gl-step-media:nth-child(3) .gl-step-visual { animation-delay: -3.6s; }
.gl-step-visual img {
  width: 85%;
  height: 85%;
  object-fit: contain;
  display: block;
}
@keyframes gl-qr-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

/* Step 2: photos fly up from the guest's phone */
.gl-up-phone {
  position: absolute;
  bottom: -8%;
  left: 50%;
  translate: -50% 0;
  width: 46%;
  height: 58%;
  border: 3px solid var(--ink);
  border-radius: 12px 12px 0 0;
  border-bottom: 0;
  background: var(--cream);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 12%;
  gap: 10%;
  color: var(--rose-dark);
}
.gl-up-arrow {
  width: 42%;
  animation: gl-up-nudge 1.8s ease-in-out infinite;
}
.gl-up-bar {
  width: 66%;
  height: 5px;
  border-radius: 999px;
  background: rgba(47, 40, 41, 0.1);
  overflow: hidden;
}
.gl-up-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--rose);
  animation: gl-up-fill 2.7s ease-in-out infinite;
}
.gl-up-file {
  position: absolute;
  bottom: 30%;
  left: 50%;
  width: 22%;
  aspect-ratio: 1;
  border-radius: 6px;
  background: linear-gradient(135deg, #d9b9ba, #efe2cf);
  box-shadow: 0 4px 10px -4px rgba(47, 40, 41, 0.3);
  opacity: 0;
  animation: gl-up-fly 2.7s ease-out infinite;
}
.gl-up-file:nth-child(2) {
  background: linear-gradient(135deg, #cdb8d6, #f0e6d4);
  animation-delay: 0.9s;
  --dx: -150%;
}
.gl-up-file:nth-child(3) {
  background: linear-gradient(135deg, #e4c7b6, #d8c8e2);
  animation-delay: 1.8s;
  --dx: 50%;
}
@keyframes gl-up-fly {
  0% { opacity: 0; transform: translate(-50%, 0) scale(0.6); }
  15% { opacity: 1; }
  70% { opacity: 1; }
  100% { opacity: 0; transform: translate(var(--dx, -50%), -260%) scale(1); }
}
@keyframes gl-up-nudge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
@keyframes gl-up-fill {
  0% { width: 8%; }
  80%, 100% { width: 100%; }
}

/* Step 3: files drop into a ZIP, then download */
.gl-zip-box {
  position: absolute;
  bottom: 24%;
  left: 50%;
  translate: -50% 0;
  width: 52%;
  height: 34%;
  border-radius: 8px;
  background: var(--rose);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  display: grid;
  place-items: center;
  z-index: 1;
  box-shadow: 0 6px 14px -6px rgba(143, 94, 105, 0.6);
  animation: gl-zip-pulse 3s ease-in-out infinite;
}
.gl-zip-file {
  position: absolute;
  top: 6%;
  left: 50%;
  width: 18%;
  height: 22%;
  border-radius: 4px;
  background: linear-gradient(135deg, #d9b9ba, #efe2cf);
  opacity: 0;
  animation: gl-zip-drop 3s ease-in infinite;
}
.gl-zip-file:nth-child(1) { --x: -130%; }
.gl-zip-file:nth-child(2) { --x: -50%; animation-delay: 0.35s; background: linear-gradient(135deg, #cdb8d6, #f0e6d4); }
.gl-zip-file:nth-child(3) { --x: 30%; animation-delay: 0.7s; background: linear-gradient(135deg, #e4c7b6, #d8c8e2); }
.gl-zip-arrow {
  position: absolute;
  bottom: 3%;
  left: 50%;
  width: 20%;
  translate: -50% 0;
  color: var(--success);
  opacity: 0;
  animation: gl-zip-down 3s ease-in-out infinite;
}
@keyframes gl-zip-drop {
  0% { opacity: 0; transform: translate(var(--x), -40%); }
  10% { opacity: 1; }
  40% { opacity: 1; transform: translate(var(--x), 150%); }
  48%, 100% { opacity: 0; transform: translate(-50%, 190%) scale(0.5); }
}
@keyframes gl-zip-pulse {
  0%, 45%, 100% { transform: scale(1); }
  52% { transform: scale(1.08); }
  60% { transform: scale(1); }
}
@keyframes gl-zip-down {
  0%, 55% { opacity: 0; transform: translateY(-30%); }
  65% { opacity: 1; transform: translateY(0); }
  80% { opacity: 1; transform: translateY(18%); }
  95%, 100% { opacity: 0; transform: translateY(30%); }
}
.gl-step-num {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--rose);
  color: #fff;
  font-weight: 800;
  margin-bottom: 1rem;
}
.gl-step h3 { font-size: 1.05rem; font-weight: 800; margin-bottom: 0.35rem; }
.gl-step p { color: var(--muted); font-size: 0.93rem; }

/* Body band (roles → how → features): same heart-QR wash as «چرا GuestCam؟» */
.gl-body {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-color: var(--cream);
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}
.gl-body-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url('/assets/qr-heart.png');
  background-size: 132px 134px;
  background-repeat: repeat;
  filter: invert(42%) sepia(18%) saturate(720%) hue-rotate(314deg) brightness(92%) contrast(88%);
  opacity: 0.2;
}
.gl-body > .gl-section {
  position: relative;
  z-index: 1;
  background: transparent !important;
}
.gl-body .gl-section-head h2,
.gl-body .gl-section-head p {
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.7);
}
/* Features carousel */
.gl-features-carousel {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas:
    "prev track next"
    "dots dots dots";
  align-items: center;
  gap: 0.65rem 0.35rem;
}
.gl-feat-prev { grid-area: prev; }
.gl-feat-next { grid-area: next; }
.gl-features { grid-area: track; }
.gl-feat-dots { grid-area: dots; }
.gl-features {
  display: flex;
  gap: 0.85rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  padding: 0.35rem 0.15rem 0.75rem;
  scrollbar-width: none;
}
.gl-features::-webkit-scrollbar { display: none; }
.gl-feature {
  flex: 0 0 min(78%, 22rem);
  scroll-snap-align: center;
  padding: 1.4rem;
  border-radius: var(--radius);
  background: rgba(247, 244, 232, 0.92);
  border: 1px solid rgba(231, 224, 210, 0.9);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.gl-feature.is-active {
  border-color: rgba(214, 145, 163, 0.45);
  background: rgba(251, 249, 241, 0.98);
  box-shadow: var(--shadow);
}
.gl-feature:hover {
  border-color: rgba(214, 145, 163, 0.35);
  background: rgba(251, 249, 241, 0.97);
}
.gl-feature svg {
  width: 44px; height: 44px;
  padding: 11px;
  border-radius: 12px;
  background: #fff;
  color: var(--rose-dark);
  margin-bottom: 0.85rem;
  box-shadow: var(--shadow-sm);
}
.gl-feature h3 { font-size: 1rem; font-weight: 800; margin-bottom: 0.25rem; }
.gl-feature p { color: var(--muted); font-size: 0.9rem; }
.gl-feat-nav {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(231, 224, 210, 0.95);
  background: rgba(255, 255, 255, 0.92);
  color: var(--rose-dark);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
  flex-shrink: 0;
}
.gl-feat-nav:hover {
  background: #fff;
  border-color: rgba(214, 145, 163, 0.45);
}
.gl-feat-nav:active { transform: scale(0.96); }
/* Keep chevrons pointing toward scroll direction in RTL */
html[dir="rtl"] .gl-feat-nav svg { transform: scaleX(-1); }
.gl-feat-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.4rem;
  padding-top: 0.15rem;
}
.gl-feat-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: none;
  padding: 0;
  background: rgba(214, 145, 163, 0.28);
  cursor: pointer;
  transition: width 0.2s ease, background 0.2s ease;
}
.gl-feat-dot[aria-selected="true"] {
  width: 1.35rem;
  background: var(--rose);
}
@media (min-width: 900px) {
  .gl-feature { flex-basis: min(42%, 20rem); }
}
@media (max-width: 720px) {
  .gl-features-carousel {
    grid-template-columns: 1fr;
    grid-template-areas:
      "track"
      "dots";
  }
  .gl-feat-nav { display: none; }
  .gl-feature { flex-basis: min(82%, 18rem); }
  .gl-video-band {
    overflow: hidden;
    isolation: isolate;
  }
  .gl-video-band .gl-features-media { display: block; }
  .gl-video-band .gl-section-head h2,
  .gl-video-band .gl-section-head p {
    color: #fff;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.45);
  }
}
.gl-video-band {
  position: relative;
  z-index: 1;
}
.gl-video-band > .gl-section {
  position: relative;
  z-index: 1;
  background: transparent !important;
}
.gl-features-media {
  display: none;
  position: absolute;
  inset: 0;
  z-index: -1;
  background: #1c1718;
}
.gl-features-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gl-features-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(28, 23, 24, 0.68) 0%, rgba(28, 23, 24, 0.35) 45%, rgba(28, 23, 24, 0.55) 100%);
}

/* Guest-count pricer */
.gl-pricer {
  max-width: 44rem;
  margin: 0 auto;
}
.gl-pricer-card {
  display: grid;
  gap: 1rem;
  padding: clamp(1.1rem, 3vw, 1.75rem);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(214, 145, 163, 0.3);
  box-shadow: var(--shadow);
}
.gl-pricer-q {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--ink);
}
.gl-pricer-q-sub { font-size: 0.95rem; margin-top: 0.25rem; }
.gl-segs {
  display: flex;
  padding: 4px;
  gap: 4px;
  border-radius: 14px;
  background: var(--rose-soft);
  overflow-x: auto;
  scrollbar-width: none;
}
.gl-segs::-webkit-scrollbar { display: none; }
.gl-seg {
  flex: 1 0 auto;
  min-width: 3rem;
  min-height: 44px;
  padding: 0 0.6rem;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--rose-dark);
  font: inherit;
  font-weight: 700;
  font-size: 0.98rem;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}
.gl-seg:hover { background: rgba(255, 255, 255, 0.55); }
.gl-seg.is-on {
  background: var(--rose);
  color: #fff;
  box-shadow: 0 4px 12px rgba(192, 111, 134, 0.3);
}
.gl-seg-more { font-size: 0.88rem; white-space: nowrap; }
.gl-pricer-tier {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.25rem 1rem;
  padding: 0.8rem 1rem;
  border-radius: 12px;
  background: var(--cream);
  border: 1px solid rgba(224, 236, 198, 0.9);
}
.gl-pricer-tier strong { font-size: 1.1rem; font-weight: 800; }
.gl-pricer-tier span { color: var(--rose-dark); font-weight: 700; }
.gl-pricer-includes {
  margin: -0.35rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}
.gl-addons { display: grid; gap: 0.55rem; margin-top: 0.55rem; }
.gl-addon {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  border: 1.5px solid rgba(214, 145, 163, 0.25);
  background: #fff;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease;
}
.gl-addon input { position: absolute; opacity: 0; pointer-events: none; }
.gl-addon-check {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  border: 2px solid rgba(214, 145, 163, 0.6);
  display: grid;
  place-items: center;
  transition: background 0.18s ease, border-color 0.18s ease;
}
.gl-addon-check::after {
  content: "";
  width: 6px;
  height: 11px;
  border: solid #fff;
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg) translate(-1px, -1px);
  opacity: 0;
}
.gl-addon:has(input:checked) { border-color: var(--rose); background: var(--cream-deep); }
.gl-addon input:checked + .gl-addon-check { background: var(--rose); border-color: var(--rose); }
.gl-addon input:checked + .gl-addon-check::after { opacity: 1; }
.gl-addon input:focus-visible + .gl-addon-check { outline: 2px solid var(--accent); outline-offset: 2px; }
.gl-addon-text { display: grid; gap: 0.1rem; min-width: 0; }
.gl-addon-text strong { font-size: 0.95rem; font-weight: 700; }
.gl-addon-text small { color: var(--muted); font-size: 0.8rem; line-height: 1.5; }
.gl-addon-price { font-weight: 800; color: var(--rose-dark); white-space: nowrap; font-size: 0.92rem; }
.gl-pricer-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  padding-top: 1rem;
  border-top: 1px dashed rgba(214, 145, 163, 0.35);
}
.gl-pricer-total { display: grid; gap: 0.1rem; }
.gl-pricer-total span { font-size: 0.82rem; color: var(--muted); }
.gl-pricer-total strong { font-size: 1.45rem; font-weight: 800; color: var(--rose-dark); letter-spacing: -0.01em; }
.gl-pricer-cta { min-width: 12rem; }

@media (max-width: 560px) {
  .gl-seg { min-width: 2.6rem; padding: 0 0.4rem; font-size: 0.88rem; }
  .gl-seg-more { font-size: 0.78rem; }
  .gl-addon { gap: 0.6rem; padding: 0.65rem 0.75rem; }
  .gl-addon-text small { font-size: 0.74rem; }
  .gl-pricer-foot { flex-direction: column; align-items: stretch; }
  .gl-pricer-cta { width: 100%; }
}

/* Subscribe checkout — same cream + heart-QR wash as landing .gl-body */
.gs-page {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100dvh;
  background-color: var(--cream);
}
.gs-page-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url('/assets/qr-heart.png');
  background-size: 132px 134px;
  background-repeat: repeat;
  filter: invert(42%) sepia(18%) saturate(720%) hue-rotate(314deg) brightness(92%) contrast(88%);
  opacity: 0.2;
}
.gs-page > *:not(.gs-page-bg, .bottom-nav) {
  position: relative;
  z-index: 1;
}
.gs-main {
  max-width: 640px;
  padding-top: calc(var(--header-h) + 0.55rem);
  padding-bottom: calc(2.5rem + env(safe-area-inset-bottom, 0px));
}
.gs-head { margin-bottom: 1.25rem; }
.gs-head h1 { font-size: clamp(1.45rem, 4vw, 1.85rem); font-weight: 800; }
.gs-lead { color: var(--muted); margin-top: 0.35rem; }
.gs-steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}
.gs-steps li {
  text-align: center;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  padding: 0.55rem 0.35rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--line);
}
.gs-steps li.is-active {
  color: #fff;
  background: var(--rose);
  border-color: var(--rose);
}
.gs-steps li.is-done {
  color: var(--rose-dark);
  border-color: rgba(214, 145, 163, 0.45);
  background: var(--rose-soft);
}
.gs-plan-summary {
  margin-bottom: 1rem;
  padding: 1.05rem 1.2rem;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #fae0e6 0%, #EDE3F1 100%);
  border: 1px solid rgba(214, 145, 163, 0.35);
  box-shadow: 0 1px 0 rgba(143, 94, 105, 0.06);
}
.gs-plan-summary-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--rose-dark);
  opacity: 0.85;
}
.gs-plan-summary-name {
  font-size: 1.25rem;
  font-weight: 800;
  margin: 0.15rem 0 0.5rem;
  color: var(--ink);
}
.gs-plan-summary-meta {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  color: var(--rose-dark);
  font-size: 0.92rem;
  font-weight: 600;
}
.gs-plan-summary-edit {
  margin-inline-start: 0.4rem;
  color: var(--rose-dark);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.gs-plan-summary-addons {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0.55rem 0 0;
  padding: 0;
}
.gs-plan-summary-addons li {
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(158, 185, 218, 0.6);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink);
}
.gs-plan-summary-addons,
.gs-plan-summary-total { width: 100%; }
.gs-plan-summary-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  margin: 0.65rem 0 0;
  padding-top: 0.55rem;
  border-top: 1px dashed rgba(192, 111, 134, 0.35);
  font-size: 0.85rem;
  color: var(--muted);
}
.gs-plan-summary-total strong { font-size: 1.15rem; color: var(--rose-dark); font-weight: 800; }
.gs-error {
  margin-bottom: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  background: #f8e8ea;
  color: var(--danger);
  font-weight: 600;
}
.gs-card {
  padding: 1.35rem 1.25rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.gs-card h2 { font-size: 1.1rem; font-weight: 800; margin-bottom: 1rem; }
.gs-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}
.gs-field { display: grid; gap: 0.35rem; font-weight: 600; font-size: 0.9rem; }
.gs-field-full { grid-column: 1 / -1; }
.gs-field input[type="text"],
.gs-field input[type="tel"],
.gs-field select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.75rem 0.9rem;
  background: #fff;
  font-weight: 500;
  font-family: inherit;
  color: inherit;
}
.gs-field select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238F5E69' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 0.85rem center;
  padding-left: 2.4rem;
}
.gs-field select.gs-select-native {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.gs-select {
  position: relative;
  min-width: 0;
}
.gs-select-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 500;
  line-height: 1.4;
  text-align: start;
  cursor: pointer;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.gs-select-value {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.gs-select.is-placeholder .gs-select-value { color: var(--muted); }
.gs-select-chevron {
  flex-shrink: 0;
  color: var(--rose-dark);
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}
.gs-select-trigger:hover { border-color: rgba(214, 145, 163, 0.55); }
.gs-select-trigger:focus-visible,
.gs-select.is-open .gs-select-trigger {
  outline: none;
  border-color: var(--rose);
  box-shadow: 0 0 0 3px rgba(214, 145, 163, 0.16);
}
.gs-select.is-open .gs-select-chevron { transform: rotate(180deg); }
.gs-select-menu {
  position: absolute;
  top: calc(100% + 0.35rem);
  inset-inline: 0;
  z-index: 30;
  max-height: 15rem;
  overflow-y: auto;
  margin: 0;
  padding: 0.3rem;
  list-style: none;
  background: #fff;
  border: 1px solid rgba(214, 145, 163, 0.2);
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(58, 50, 51, 0.14);
  transform-origin: top center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px) scale(0.97);
  pointer-events: none;
  scrollbar-width: none;
  transition:
    opacity 0.16s ease,
    transform 0.22s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s linear 0.22s;
}
.gs-select-menu::-webkit-scrollbar { display: none; }
.gs-select.is-open .gs-select-menu {
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
  transition:
    opacity 0.18s ease,
    transform 0.28s cubic-bezier(0.34, 1.4, 0.64, 1),
    visibility 0s;
}
.gs-select-option {
  padding: 0.55rem 0.7rem;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.12s ease, color 0.12s ease;
}
.gs-select-option:hover,
.gs-select-option:focus {
  outline: none;
  background: var(--cream-deep);
}
.gs-select-option.is-selected {
  background: rgba(214, 145, 163, 0.16);
  color: var(--rose-dark);
  font-weight: 700;
}
@media (prefers-reduced-motion: reduce) {
  .gs-select-menu,
  .gs-select.is-open .gs-select-menu,
  .gs-select-chevron { transition: none; }
}
#eventDate {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23A3A380' stroke-width='1.5'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cline x1='16' y1='2' x2='16' y2='6'/%3E%3Cline x1='8' y1='2' x2='8' y2='6'/%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 0.85rem center;
  padding-left: 2.6rem;
  text-align: right;
}

/* Compact Jalali picker on subscribe */
.gs-page .jalali-picker {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  left: auto;
  width: min(17.5rem, 100%);
  z-index: 40;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 16px 40px -18px rgba(58, 50, 51, 0.35);
  padding: 0.6rem 0.7rem 0.7rem;
  box-sizing: border-box;
}
.gs-page .jalali-picker-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.45rem;
  gap: 0.35rem;
}
.gs-page .jalali-title { font-weight: 700; font-size: 0.9rem; }
.gs-page .jalali-nav {
  width: 28px;
  height: 28px;
  border: none;
  border-radius: 999px;
  background: rgba(214, 145, 163, 0.12);
  color: var(--ink);
  font-size: 1.05rem;
  cursor: pointer;
}
.gs-page .jalali-nav:hover {
  background: var(--rose);
  color: #fff;
}
.gs-page .jalali-weekdays,
.gs-page .jalali-days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 2px;
}
.gs-page .jalali-weekdays {
  margin-bottom: 0.3rem;
  text-align: center;
  font-size: 0.68rem;
  color: var(--muted);
  font-weight: 700;
}
.gs-page .jalali-day,
.gs-page .jalali-empty {
  aspect-ratio: 1;
  width: 100%;
  max-width: 2.15rem;
  max-height: 2.15rem;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 8px;
  font-size: 0.8rem;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  padding: 0;
}
.gs-page .jalali-day:hover:not([disabled]) {
  background: rgba(214, 145, 163, 0.12);
}
.gs-page .jalali-day.selected {
  background: var(--rose);
  color: #fff;
  font-weight: 700;
}
.gs-page .jalali-day.today:not(.selected) {
  border: 1px solid var(--rose);
  color: var(--rose-dark);
}
.gs-page .jalali-day[disabled] {
  color: #cfc7c0;
  cursor: not-allowed;
}
.gs-file {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  width: 100%;
  min-height: 3.25rem;
  padding: 0.45rem 0.55rem;
  border: 1.5px dashed rgba(214, 145, 163, 0.45);
  border-radius: 14px;
  background: linear-gradient(180deg, #fff 0%, #fbf8f3 100%);
  cursor: pointer;
  direction: ltr;
  text-align: left;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.gs-file:hover,
.gs-file:focus-within {
  border-color: var(--rose);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(214, 145, 163, 0.12);
}
.gs-file input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  font-size: 0;
}
.gs-file-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
  padding: 0.55rem 0.95rem;
  border-radius: 10px;
  background: var(--rose);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  pointer-events: none;
}
.gs-file:hover .gs-file-btn {
  background: var(--rose-dark);
}
.gs-file-name {
  flex: 1;
  min-width: 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  pointer-events: none;
}
.gs-file.has-file {
  border-style: solid;
  border-color: rgba(8, 164, 143, 0.4);
  background: rgba(8, 164, 143, 0.06);
}
.gs-file.has-file .gs-file-name {
  color: var(--ink);
  font-weight: 600;
}
.gs-hint { color: var(--muted); font-size: 0.82rem; margin: 0.35rem 0 1rem; }
.gs-terms {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-top: 0.35rem;
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--ink);
  cursor: pointer;
}
.gs-terms input[type="checkbox"] {
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
  accent-color: var(--rose);
  cursor: pointer;
}
.gs-terms-link {
  display: inline;
  padding: 0;
  border: none;
  background: none;
  color: var(--rose-dark);
  font: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.15em;
  cursor: pointer;
}
.gs-terms-link:hover { color: var(--rose); }
.gs-terms-dialog {
  position: fixed;
  inset: 0;
  margin: auto;
  width: min(40rem, calc(100vw - 2rem));
  max-height: min(82dvh, 42rem);
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.42);
  color: var(--ink);
  box-shadow:
    0 30px 70px -24px rgba(47, 40, 41, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(22px) saturate(1.45);
  -webkit-backdrop-filter: blur(22px) saturate(1.45);
  overflow: hidden;
}
.gs-terms-dialog::backdrop {
  background: rgba(47, 40, 41, 0.28);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.gs-terms-dialog-panel {
  display: flex;
  flex-direction: column;
  max-height: min(82dvh, 42rem);
  background: transparent;
}
.gs-terms-dialog-head {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1.1rem 1.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(247, 244, 232, 0.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.gs-terms-dialog-head h2 {
  flex: 1;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.45;
  margin: 0;
  text-align: start;
}
.gs-terms-close {
  width: 2rem;
  height: 2rem;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  color: var(--ink);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.gs-terms-close:hover { background: rgba(255, 255, 255, 0.7); }
.gs-terms-dialog-body {
  overflow: auto;
  padding: 1.1rem 1.25rem 1.4rem;
  font-size: 0.9rem;
  line-height: 1.8;
  scrollbar-width: thin;
  scrollbar-color: rgba(214, 145, 163, 0.45) transparent;
}
.gs-terms-dialog-body::-webkit-scrollbar {
  width: 6px;
}
.gs-terms-dialog-body::-webkit-scrollbar-track {
  background: transparent;
  margin-block: 0.5rem;
}
.gs-terms-dialog-body::-webkit-scrollbar-thumb {
  background: rgba(214, 145, 163, 0.38);
  border-radius: 999px;
}
.gs-terms-dialog-body::-webkit-scrollbar-thumb:hover {
  background: rgba(143, 94, 105, 0.55);
}
.gs-terms-dialog-body::-webkit-scrollbar-button {
  display: none;
  width: 0;
  height: 0;
}
.gs-terms-dialog-body h3 {
  font-size: 0.98rem;
  font-weight: 800;
  margin: 1.15rem 0 0.45rem;
}
.gs-terms-dialog-body h3:first-child { margin-top: 0; }
.gs-terms-dialog-body p { margin: 0 0 0.55rem; color: var(--ink); }
.gs-terms-dialog-body ol,
.gs-terms-dialog-body ul {
  margin: 0 0 0.65rem;
  padding-inline-start: 1.25rem;
}
.gs-terms-dialog-body li { margin-bottom: 0.35rem; }
.gs-terms-dialog-body hr {
  border: none;
  border-top: 1px solid rgba(231, 224, 210, 0.7);
  margin: 1.25rem 0;
}
.gs-terms-confirm-note {
  margin-top: 0.75rem !important;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  background: rgba(243, 230, 228, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.4);
  font-weight: 700;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.gs-terms-dialog-foot {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(247, 244, 232, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.gs-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: flex-end;
  margin-top: 1.15rem;
}
.gs-invoice {
  display: grid;
  gap: 0.65rem;
  margin-bottom: 1.15rem;
}
.gs-invoice > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px dashed var(--line);
}
.gs-invoice dt { color: var(--muted); }
.gs-invoice dd { font-weight: 700; text-align: start; }
.gs-invoice-total dd { color: var(--rose-dark); font-size: 1.1rem; }
.gs-bank {
  margin-bottom: 1rem;
  padding: 1rem;
  border-radius: 12px;
  background: var(--cream);
  border: 1px solid var(--line);
}
.gs-bank-label { font-size: 0.82rem; color: var(--muted); margin-bottom: 0.35rem; }
.gs-bank-label-spaced { margin-top: 1rem; }
.gs-bank-note {
  font-size: 0.8rem;
  color: var(--muted);
  margin: -0.1rem 0 0.4rem;
}
.gs-bank-row {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: nowrap;
}
.gs-bank-row .gs-copy-btn { order: -1; }
.gs-bank-value {
  flex: 1 1 auto;
  min-width: 0;
  font-weight: 800;
  font-size: 1.02rem;
  word-break: break-all;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  letter-spacing: 0.02em;
  background: transparent;
  border: 0;
  padding: 0;
  color: inherit;
}
.gs-copy-btn {
  flex: 0 0 auto;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--rose-dark);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
}
.gs-copy-btn:hover { border-color: rgba(214, 145, 163, 0.55); }
.gs-copy-btn.is-copied {
  background: var(--rose-dark);
  border-color: var(--rose-dark);
  color: #fff;
}
.gs-bank-holder {
  margin-top: 1rem;
  display: grid;
  gap: 0.2rem;
}
.gs-bank-holder strong {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--ink);
}
.gs-bank-hint { color: var(--muted); font-size: 0.85rem; margin-top: 0.65rem; }
.gs-copy-toast {
  margin-top: 0.55rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--rose-dark);
}
.gs-success {
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 0.35rem;
}
.gs-success-icon {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin: 0.15rem 0 0.65rem;
  border-radius: 50%;
  background: rgba(8, 164, 143, 0.12);
  color: var(--success);
  animation: gs-success-pop 0.45s ease-out both;
}
.gs-success-icon svg {
  display: block;
}
.gs-success h2 {
  margin-bottom: 0.15rem;
}
.gs-success p {
  color: var(--muted);
  margin-bottom: 0.25rem;
  max-width: 28rem;
}
.gs-success .gs-actions {
  justify-content: center;
  width: 100%;
  margin-top: 1rem;
}
@keyframes gs-success-pop {
  0% { opacity: 0; transform: scale(0.6); }
  70% { opacity: 1; transform: scale(1.08); }
  100% { opacity: 1; transform: scale(1); }
}
@media (max-width: 560px) {
  .gs-actions { flex-direction: column-reverse; }
  .gs-actions .gl-btn { width: 100%; }
}

/* Subscribe mobile: fit step content in one screen without scrolling */
@media (max-width: 720px) {
  .gs-page {
    --header-h: 48px;
  }
  .gs-page .gl-header-inner {
    height: var(--header-h);
    min-height: var(--header-h);
    padding-block: 0;
    padding-inline: 0.75rem;
  }
  .gs-page .gl-brand img {
    width: 26px;
    height: 26px;
  }
  .gs-page .gl-brand span {
    font-size: 0.92rem;
  }
  .gs-page .gl-btn-sm {
    padding: 0.3rem 0.6rem;
    font-size: 0.75rem;
  }
  .gs-main {
    padding-top: calc(var(--header-h) - 28px);
    padding-bottom: 0.65rem;
    max-width: 100%;
  }
  html.gc-bazak .gs-main {
    padding-bottom: calc(0.45rem + 72px + env(safe-area-inset-bottom, 0px));
  }
  .gs-head {
    margin-top: 0;
    margin-bottom: 0.95rem;
  }
  .gs-head h1 {
    font-size: 1.12rem;
    line-height: 1.3;
  }
  .gs-lead {
    display: none;
  }
  .gs-steps {
    gap: 0.3rem;
    margin-bottom: 0.45rem;
  }
  .gs-steps li {
    padding: 0.32rem 0.2rem;
    font-size: 0.7rem;
  }
  .gs-plan-summary {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    column-gap: 0.65rem;
    row-gap: 0.2rem;
    padding: 0.55rem 0.75rem;
    margin-bottom: 0.45rem;
  }
  .gs-plan-summary-label {
    width: 100%;
    font-size: 0.68rem;
    margin: 0;
  }
  .gs-plan-summary-name {
    margin: 0;
    font-size: 0.98rem;
  }
  .gs-plan-summary-meta {
    gap: 0.25rem 0.55rem;
    font-size: 0.75rem;
    margin: 0;
  }
  .gs-error {
    margin-bottom: 0.45rem;
    padding: 0.5rem 0.7rem;
    font-size: 0.82rem;
  }
  .gs-card {
    padding: 0.8rem 0.85rem;
    border-radius: 14px;
  }
  .gs-card h2 {
    font-size: 0.92rem;
    margin-bottom: 0.5rem;
  }
  .gs-fields {
    grid-template-columns: 1fr 1fr;
    gap: 0.45rem 0.5rem;
  }
  .gs-field {
    font-size: 0.78rem;
    gap: 0.18rem;
  }
  .gs-field input[type="text"],
  .gs-field input[type="tel"],
  .gs-field select {
    padding: 0.52rem 0.65rem;
    font-size: 16px; /* avoid iOS zoom */
    border-radius: 10px;
  }
  .gs-select-trigger {
    padding: 0.52rem 0.65rem;
    font-size: 0.95rem;
    border-radius: 10px;
  }
  .gs-select-option { font-size: 0.88rem; padding: 0.5rem 0.6rem; }
  .gs-actions {
    margin-top: 0.55rem;
    gap: 0.4rem;
  }
  /* Header already has back — drop cancel to save a row */
  #infoForm .gs-actions .gl-btn-ghost,
  #invoiceForm .gs-actions .gl-btn-ghost {
    display: none;
  }
  .gs-invoice {
    gap: 0.4rem;
    margin-bottom: 0.55rem;
  }
  .gs-invoice > div {
    padding-bottom: 0.35rem;
    font-size: 0.88rem;
  }
  .gs-invoice-total dd {
    font-size: 1rem;
  }
  .gs-bank {
    margin-bottom: 0.55rem;
    padding: 0.65rem 0.75rem;
  }
  .gs-bank-value {
    font-size: 0.92rem;
  }
  .gs-bank-hint {
    font-size: 0.75rem;
    margin-top: 0.25rem;
  }
  .gs-file {
    min-height: 2.75rem;
    padding: 0.35rem 0.4rem;
    gap: 0.55rem;
    border-radius: 12px;
  }
  .gs-file-btn {
    padding: 0.45rem 0.7rem;
    font-size: 0.8rem;
  }
  .gs-hint {
    margin: 0.25rem 0 0.55rem;
    font-size: 0.72rem;
  }
  .gs-success-icon {
    width: 56px;
    height: 56px;
    margin: 0 0 0.35rem;
  }
  .gs-success-icon svg {
    width: 28px;
    height: 28px;
  }
  .gs-success .gs-actions {
    margin-top: 0.65rem;
  }
}

@media (max-width: 720px) and (max-height: 700px) {
  .gs-steps li {
    padding: 0.25rem 0.15rem;
    font-size: 0.65rem;
  }
  .gs-plan-summary {
    padding: 0.45rem 0.65rem;
  }
  .gs-card {
    padding: 0.65rem 0.7rem;
  }
  .gs-field input[type="text"],
  .gs-field input[type="tel"],
  .gs-field select,
  .gs-select-trigger {
    padding: 0.45rem 0.55rem;
  }
}

/* Closing band: FAQ → CTA → footer — same cream + heart-QR wash as .gl-body */
.gl-closing {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-top: -1px; /* overlap body edge — kills white hairline seam */
  padding-top: 1px;
  background-color: var(--cream);
}
.gl-closing::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url('/assets/qr-heart.png');
  background-size: 132px 134px;
  background-repeat: repeat;
  filter: invert(42%) sepia(18%) saturate(720%) hue-rotate(314deg) brightness(92%) contrast(88%);
  opacity: 0.2;
}
.gl-body > .gl-section:last-child {
  padding-bottom: clamp(2rem, 5vw, 3.25rem);
}
.gl-closing > .gl-section {
  position: relative;
  z-index: 1;
  background: transparent;
}
.gl-closing > .gl-footer {
  position: relative;
  z-index: 2;
}
.gl-closing > .gl-section:first-child {
  padding-top: clamp(2.5rem, 6vw, 4rem);
}
.gl-section-cta {
  padding-top: 0.5rem;
}
.gl-plans-loading .gl-btn { display: flex; margin: 0.75rem auto 0; }
.gl-plans-loading {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--muted);
  padding: 1.25rem 0.5rem;
  margin: 0;
}

/* Support / Telegram */
.gl-support-section {
  padding-top: 0.25rem;
  padding-bottom: 0.5rem;
}
.gl-support {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
  padding: clamp(1.35rem, 3vw, 1.85rem) clamp(1.35rem, 3.5vw, 2rem);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.gl-support-copy h2 {
  font-size: clamp(1.2rem, 2.4vw, 1.45rem);
  font-weight: 800;
  margin: 0 0 0.35rem;
  color: var(--ink);
}
.gl-support-copy p {
  margin: 0;
  color: var(--muted);
  max-width: 34rem;
  line-height: 1.65;
}
.gl-support-tg {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem 1.15rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #2aabee 0%, #229ed9 100%);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  box-shadow: 0 12px 28px -14px rgba(34, 158, 217, 0.85);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}
.gl-support-tg:hover {
  color: #fff;
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow: 0 16px 32px -14px rgba(34, 158, 217, 0.95);
}
.gl-support-tg svg {
  flex-shrink: 0;
}
@media (max-width: 720px) {
  .gl-support {
    flex-direction: column;
    align-items: stretch;
  }
  .gl-support-tg { align-self: center; }
}
.gl-footer-tg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  color: #7dd3f0;
  background: rgba(45, 170, 230, 0.16);
  border: 1px solid rgba(125, 211, 240, 0.22);
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.gl-footer-tg:hover {
  background: rgba(45, 170, 230, 0.28);
  color: #fff;
  border-color: rgba(125, 211, 240, 0.45);
}
.gl-faq { display: grid; gap: 0.75rem; max-width: 40rem; margin-inline: auto; }
.gl-faq details {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.15s ease;
}
.gl-faq details[open] { border-color: rgba(214, 145, 163, 0.5); }
.gl-faq summary {
  list-style: none;
  cursor: pointer;
  padding: 1rem 1.2rem;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.gl-faq summary::-webkit-details-marker { display: none; }
.gl-faq summary::after {
  content: '';
  width: 10px; height: 10px;
  border-right: 2px solid var(--rose-dark);
  border-bottom: 2px solid var(--rose-dark);
  transform: rotate(135deg); /* closed: ← */
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.gl-faq details[open] summary::after {
  transform: rotate(45deg); /* open: ↓ */
  margin-top: 2px;
}
.gl-faq details p { padding: 0 1.2rem 1.1rem; color: var(--muted); }

/* CTA */
.gl-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding: clamp(1.75rem, 4vw, 2.75rem);
  border-radius: 24px;
  background: linear-gradient(135deg, var(--rose) 0%, var(--rose-dark) 100%);
  color: #fff;
  box-shadow: 0 30px 60px -30px rgba(143, 94, 105, 0.8);
}
.gl-cta h2 { font-size: clamp(1.3rem, 2.6vw, 1.75rem); font-weight: 800; margin-bottom: 0.3rem; }
.gl-cta p { opacity: 0.9; }
.gl-cta-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }

/* Footer — carbon black band (guestcam.ir) */
.gl-footer {
  --gc-footer-carbon: #121212;
  --gc-footer-carbon-deep: #0a0a0a;
  margin-top: 0;
  padding: 1.85rem 0 calc(1.65rem + env(safe-area-inset-bottom));
  font-size: 0.88rem;
  color: rgba(245, 242, 235, 0.58);
  background-color: var(--gc-footer-carbon);
  background-image:
    linear-gradient(180deg, #171717 0%, var(--gc-footer-carbon-deep) 100%),
    repeating-linear-gradient(
      0deg,
      transparent 0,
      transparent 2px,
      rgba(255, 255, 255, 0.018) 2px,
      rgba(255, 255, 255, 0.018) 3px
    ),
    repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent 2px,
      rgba(255, 255, 255, 0.012) 2px,
      rgba(255, 255, 255, 0.012) 3px
    );
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 -18px 40px -28px rgba(0, 0, 0, 0.45);
}
.gl-footer-on-closing {
  background-color: var(--gc-footer-carbon);
  border-top-color: rgba(255, 255, 255, 0.08);
  color: rgba(245, 242, 235, 0.58);
}
.gl-footer-mark { display: contents; }
.gl-footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas:
    "brand nav tg"
    "copy copy copy";
  align-items: center;
  gap: 1rem 1.5rem;
}
.gl-footer .gl-brand { grid-area: brand; }
.gl-footer-tg { grid-area: tg; }
.gl-footer nav { grid-area: nav; }
.gl-footer nav {
  display: flex;
  gap: 1.15rem;
  flex-wrap: wrap;
  justify-content: center;
}
.gl-footer nav a {
  color: rgba(245, 242, 235, 0.72);
  transition: color 0.15s ease;
}
.gl-footer nav a:hover {
  color: #fff;
}
.gl-footer .gl-brand {
  color: #f7f4ec;
}
.gl-footer .gl-brand img {
  filter: brightness(1.08);
}
.gl-footer-copy {
  grid-area: copy;
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  text-align: center;
  font-size: 0.8rem;
  color: rgba(245, 242, 235, 0.42);
  letter-spacing: 0.01em;
}
.gl-footer-ver { white-space: nowrap; }
.gl-footer-ver { white-space: nowrap; }

/* ---------- Responsive ---------- */
@media (max-width: 1060px) {
  .gl-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
  }
  .gl-step { min-width: 0; }
  .gl-step-media {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 0.75rem;
    padding: 1rem 0.75rem;
    min-width: 0;
  }
  .gl-step-body { min-width: 0; }
  .gl-step-visual { --v: 88px; margin-inline: auto; order: -1; }
  .gl-step-num { margin-inline: auto; margin-bottom: 0.55rem; }
}

@media (max-width: 900px) {
  .gl-roles-layout { grid-template-columns: 1fr; gap: 2rem; }
  .gl-showcase { order: -1; min-height: 380px; }
  .gl-phone { width: 210px; height: 420px; }
  .gl-float-qr { inset-inline-end: -28px; }
  .gl-float-ok { inset-inline-start: -24px; }
}

@media (max-width: 720px) {
  .gl-nav { display: none; }
  .gl-header-inner { grid-template-columns: 1fr 1fr; }
  .gl-header-actions { grid-column: 2; }
  .gl-hero {
    min-height: clamp(28rem, 78vh, 40rem);
    align-items: flex-start;
    padding-top: 1.75rem;
  }
  .gl-hero-media img { object-position: 55% 30%; }
  .gl-hero-media .gl-hero-video { display: block; object-position: center 60%; }
  .gl-hero-media::after {
    background: linear-gradient(180deg, rgba(28, 23, 24, 0.7) 0%, rgba(28, 23, 24, 0.55) 45%, rgba(28, 23, 24, 0.1) 70%, rgba(28, 23, 24, 0.6) 100%);
  }
  .gl-roles { grid-template-columns: 1fr; }
  .gl-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.4rem;
    width: 100%;
  }
  .gl-step {
    padding: 0;
    border-radius: 14px;
    min-width: 0;
  }
  .gl-step-media { padding: 0.65rem 0.4rem 0.75rem; gap: 0.4rem; }
  .gl-step-visual { --v: 48px; border-radius: 12px; }
  .gl-step-num { width: 26px; height: 26px; font-size: 0.75rem; margin-bottom: 0.35rem; }
  .gl-step h3 {
    font-size: 0.7rem;
    line-height: 1.35;
    margin-bottom: 0.2rem;
    overflow-wrap: anywhere;
  }
  .gl-step p {
    font-size: 0.58rem;
    line-height: 1.4;
    overflow-wrap: anywhere;
  }
  .gl-body-bg,
  .gl-closing::before,
  .gs-page-bg {
    opacity: 0.26;
    background-size: 108px 110px;
  }
  .gl-showcase { min-height: 340px; }
  .gl-phone { width: 180px; height: 360px; }
  .gl-float { font-size: 0.75rem; padding: 0.5rem 0.7rem; }
  .gl-float-qr { inset-inline-end: -12px; top: 30%; }
  .gl-float-ok { inset-inline-start: -8px; }
  .gl-cta { flex-direction: column; align-items: stretch; text-align: center; }
  .gl-cta-actions { flex-direction: column; }
  .gl-cta-actions .gl-btn { width: 100%; }
  .gl-footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
  }
  .gl-footer-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
  }
  .gl-footer .gl-brand,
  .gl-footer-tg,
  .gl-footer nav { grid-area: auto; }
  .gl-footer nav { justify-content: center; }
  .gl-footer-copy { padding-top: 0.65rem; }
}

/* Compact code box — mobile only (keep current mobile sizing) */
@media (max-width: 720px) {
  .gl-code {
    width: min(100%, 19rem);
    max-width: 100%;
    padding: 0.8rem 0.85rem;
  }
  .gl-code-label {
    font-size: 0.88rem;
    margin-bottom: 0.55rem;
    text-align: center;
    line-height: 1.45;
  }
  .gl-code-row { gap: 0.45rem; }
  .gl-code-row input {
    width: 0;
    min-height: 44px;
    padding: 0 0.75rem;
    font-size: 0.98rem;
    letter-spacing: 0.12em;
  }
  .gl-code-row .gl-btn {
    flex: 0 0 auto;
    min-height: 44px;
    padding: 0 0.95rem;
    font-size: 0.9rem;
  }
  .gl-code-hint {
    font-size: 0.78rem;
    margin-top: 0.5rem;
    text-align: center;
    line-height: 1.5;
  }
}

@media (max-width: 420px) {
  .gl-code { width: min(100%, 17rem); padding: 0.7rem 0.75rem; }
  .gl-code-row .gl-btn { padding: 0 0.8rem; font-size: 0.85rem; }
  .gl-header-actions .gl-btn { padding: 0 0.8rem; font-size: 0.85rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
