/* GuestCam standalone landing — guestcam.ir */
:root {
  --rose: #BB8588;
  --rose-dark: #8F5E69;
  --rose-soft: #F3E6E4;
  --cream: #F7F4E8;
  --cream-deep: #EFEBCE;
  --lilac: #EDE3F1;
  --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: var(--cream);
  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(187, 133, 136, 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(187, 133, 136, 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 {
  height: var(--header-h);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  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;
  justify-self: start;
}
.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-header-actions {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
  justify-self: end;
  grid-column: 3;
}
/* ---------- Hero ---------- */
.gl-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: clamp(34rem, 88vh, 52rem);
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2.25rem, 5vw, 3.5rem);
  overflow: hidden;
  background: #1c1718;
}
.gl-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.gl-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}
.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: end;
  max-width: 40rem;
  margin-inline: auto;
  width: 100%;
}
.gl-hero-copy { text-align: center; color: #fff; }
.gl-hero .gl-lead,
.gl-hero .gl-code { margin-inline: auto; }
.gl-hero .gl-code { text-align: start; }
.gl-hero .gl-trust { justify-content: center; }
.gl-eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 0.3rem 0.85rem;
  margin-bottom: 1rem;
  backdrop-filter: blur(8px);
}
.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;
}
.gl-hero .gl-trust li { color: rgba(255, 255, 255, 0.92); }
.gl-hero .gl-trust li::before {
  background: rgba(255, 255, 255, 0.18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat;
}

/* Code entry — primary guest task */
.gl-code {
  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);
  max-width: 34rem;
  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; gap: 0.5rem; }
.gl-code-row input {
  flex: 1;
  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);
}

.gl-trust {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  margin-top: 1.25rem;
  font-size: 0.9rem;
  color: var(--muted);
}
.gl-trust li { display: inline-flex; align-items: center; gap: 0.4rem; }
.gl-trust li::before {
  content: '';
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(8, 164, 143, 0.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2308A48F' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat;
  flex-shrink: 0;
}

/* 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(187, 133, 136, 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 {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.6rem;
  box-shadow: var(--shadow-sm);
}
.gl-role h3 { font-size: 1.15rem; font-weight: 800; }
.gl-role p { color: var(--muted); font-size: 0.95rem; flex: 1; margin-bottom: 0.4rem; }
.gl-role-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--rose-soft);
  color: var(--rose-dark);
  margin-bottom: 0.3rem;
}
.gl-role-host { background: linear-gradient(160deg, #fff 40%, var(--rose-soft)); }

/* 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: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
}
.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(187, 133, 136, 0.45);
  box-shadow:
    0 0 0 4px rgba(187, 133, 136, 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; }

/* Features */
.gl-features-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72) 0%, rgba(247, 244, 232, 0.55) 45%, rgba(255, 255, 255, 0.78) 100%);
  border-block: 1px solid var(--line);
}
.gl-features-bg {
  position: absolute;
  inset: -6%;
  z-index: 0;
  pointer-events: none;
  background-color: transparent;
  background-image: url('/assets/qr-heart.png');
  background-size: 132px 134px;
  background-repeat: repeat;
  opacity: 0.18;
  filter: invert(42%) sepia(18%) saturate(720%) hue-rotate(314deg) brightness(92%) contrast(88%);
  transform: rotate(-3deg);
}
.gl-features-section > .gl-container {
  position: relative;
  z-index: 1;
}
.gl-features-section .gl-section-head h2,
.gl-features-section .gl-section-head p {
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.7);
}
.gl-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.gl-feature {
  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;
}
.gl-feature:hover {
  border-color: rgba(187, 133, 136, 0.35);
  background: rgba(251, 249, 241, 0.97);
  transform: translateY(-2px);
}
.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; }

/* Closing band: FAQ → CTA → footer share one floral background */
.gl-closing,
.gl-footer-on-closing {
  background-color: #f3d4d8;
  background-image: url('/assets/guestcam-faq-bg.jpg');
  background-size: cover;
  background-position: left bottom;
  background-repeat: no-repeat;
  background-attachment: fixed;
}
.gl-closing {
  position: relative;
  isolation: isolate;
}
.gl-closing > .gl-section {
  background: transparent;
}
.gl-section-cta {
  padding-top: 0.5rem;
}
.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(187, 133, 136, 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 */
.gl-footer {
  border-top: 1px solid var(--line);
  padding: 1.75rem 0 calc(1.75rem + env(safe-area-inset-bottom));
  font-size: 0.88rem;
  color: var(--muted);
}
.gl-footer-on-closing {
  border-top-color: rgba(143, 94, 105, 0.18);
}
.gl-footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.gl-footer nav { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.gl-footer nav a:hover { color: var(--rose-dark); }
.gl-footer .gl-brand { color: var(--ink); }

/* ---------- Responsive ---------- */
@media (max-width: 1060px) {
  .gl-steps { grid-template-columns: 1fr; max-width: 44rem; margin-inline: auto; }
  .gl-step-visual { --v: 120px; }
}

@media (max-width: 900px) {
  .gl-closing,
  .gl-footer-on-closing {
    background-attachment: scroll;
  }
  .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; }
  .gl-features { grid-template-columns: 1fr 1fr; }
}

@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(30rem, 92vh, 44rem); }
  .gl-hero-media img { object-position: 55% 30%; }
  .gl-roles, .gl-steps, .gl-features { grid-template-columns: 1fr; }
  .gl-step-visual { --v: 96px; }
  .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 { flex-direction: column; text-align: center; }
}

@media (max-width: 420px) {
  .gl-code-row { flex-direction: column; }
  .gl-code-row .gl-btn { width: 100%; }
  .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; }
}
