/* ==========================================================================
   Guest landing page (/) — redesign approved 30 Sep 2026

   Light hero with a slowly scrolling design wall (static pictures from
   Admin → Website → Site images), then occasions, trending, languages,
   steps, the Pro card, reviews + stats, creator strip, FAQ, final CTA and
   SEO links. Classes are prefixed gl-; resets use :where().
   ========================================================================== */
.gl-page {
  --gl-brand: #2563eb;
  --gl-brand-hover: #1d4ed8;
  --gl-brand-soft: #eef3ff;
  --gl-violet: #7c3aed;
  --gl-ink: #0f172a;
  --gl-ink-2: #334155;
  --gl-muted: #64748b;
  --gl-faint: #94a3b8;
  --gl-line: #e5e8ee;
  --gl-line-soft: #eef0f4;
  --gl-soft: #f7f8fa;
  --gl-gold: #b45309;
  background: #fff;
}
:where(.gl-page) :where(h1, h2, h3, p, blockquote, figure) { margin: 0; }
:where(.gl-page) a { text-decoration: none; }
:where(.gl-page) :focus-visible { outline: 2px solid var(--gl-brand); outline-offset: 2px; border-radius: 6px; }

/* ---------- buttons ---------- */
.gl-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 12px; border: 1px solid transparent; font-weight: 700; font-size: 15px; white-space: nowrap; color: var(--gl-ink); transition: background .15s, border-color .15s, color .15s; }
.gl-btn--primary { background: var(--gl-brand); color: #fff; box-shadow: 0 8px 20px -8px rgba(37, 99, 235, .6); }
.gl-btn--primary:hover { background: var(--gl-brand-hover); color: #fff; }
.gl-btn--line { border-color: var(--gl-line); background: #fff; }
.gl-btn--line:hover { border-color: #cdd3dc; background: var(--gl-soft); color: var(--gl-ink); }
.gl-btn--lg { height: 52px; padding: 0 24px; font-size: 16px; border-radius: 14px; }

/* ---------- header ---------- */
.gl-hd { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .9); -webkit-backdrop-filter: saturate(180%) blur(12px); backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.gl-hd.is-scrolled { border-bottom-color: var(--gl-line); }
.gl-hd__in { display: flex; align-items: center; gap: 28px; height: 64px; }
.gl-hd__logo img { display: block; height: 30px; }
.gl-hd__nav { display: flex; gap: 4px; }
.gl-hd__nav a { padding: 8px 12px; border-radius: 10px; font-size: 14.5px; font-weight: 700; color: var(--gl-ink-2); }
.gl-hd__nav a:hover { background: var(--gl-soft); color: var(--gl-ink); }
.gl-hd__right { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.gl-hd__icon { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; color: var(--gl-ink-2); }
.gl-hd__icon:hover { background: var(--gl-soft); color: var(--gl-ink); }
.gl-hd__login { padding: 8px 12px; border-radius: 10px; font-size: 14.5px; font-weight: 700; color: var(--gl-ink-2); }
.gl-hd__login:hover { background: var(--gl-soft); color: var(--gl-ink); }
.gl-hd__cta { height: 40px; padding: 0 16px; font-size: 14px; border-radius: 10px; }

/* ---------- hero ---------- */
.gl-hero { position: relative; overflow: hidden; background:
  radial-gradient(640px 420px at 88% 18%, rgba(124, 58, 237, .13), transparent 62%),
  radial-gradient(560px 380px at 6% 92%, rgba(37, 99, 235, .11), transparent 62%), #fff; }
.gl-hero__in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: 48px; min-height: 560px; padding-top: 40px; padding-bottom: 48px; }
.gl-pill { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 14px; border-radius: 999px; background: #fff; border: 1px solid var(--gl-line); font-size: 12.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--gl-ink-2); box-shadow: 0 2px 8px rgba(15, 23, 42, .05); }
.gl-pill i { width: 8px; height: 8px; border-radius: 50%; background: linear-gradient(135deg, #f97316, #16a34a); }
.gl-hero h1 { margin-top: 20px; font-size: 56px; line-height: 1.04; letter-spacing: -.035em; font-weight: 800; color: var(--gl-ink); }
.gl-hero h1 span { background: linear-gradient(90deg, var(--gl-brand), var(--gl-violet)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.gl-hero__sub { max-width: 540px; margin-top: 18px; color: var(--gl-muted); font-size: 17px; line-height: 1.6; }
.gl-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.gl-trust { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 26px; }
.gl-trust span { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 700; color: var(--gl-ink-2); }
.gl-trust svg { color: #16a34a; }

/* Design wall. Each column holds its pictures twice and is exactly as tall as
   its content (align-items: start), so moving it up by half — one copy plus
   half a gap — lands on the second copy and the loop never jumps. */
.gl-wall { position: relative; height: 540px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: 14px; overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 12%, #000 88%, transparent 100%); mask-image: linear-gradient(to bottom, transparent 0, #000 12%, #000 88%, transparent 100%); }
.gl-wall__col { display: flex; flex-direction: column; gap: 14px; animation: gl-wall-up 42s linear infinite; will-change: transform; }
.gl-wall__col:nth-child(2) { animation-name: gl-wall-down; animation-duration: 50s; }
.gl-wall__col:nth-child(3) { animation-duration: 36s; }
.gl-wall:hover .gl-wall__col { animation-play-state: paused; }
.gl-wall__item { display: block; flex-shrink: 0; border-radius: 12px; overflow: hidden; background: var(--gl-soft); box-shadow: 0 12px 28px -14px rgba(15, 23, 42, .45); }
.gl-wall__item picture, .gl-wall__item img { display: block; width: 100%; height: auto; }
@keyframes gl-wall-up { from { transform: translateY(0); } to { transform: translateY(calc(-50% - 7px)); } }
@keyframes gl-wall-down { from { transform: translateY(calc(-50% - 7px)); } to { transform: translateY(0); } }
.gl-strip { display: none; }

/* ---------- sections ---------- */
.gl { color: var(--gl-ink); padding-bottom: 24px; }
.gl-sec { margin-top: 72px; }
.gl-sec__hd { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.gl-sec__hd h2, .gl-center-hd h2, .gl-faq__side h2 { font-size: 28px; font-weight: 800; letter-spacing: -.022em; line-height: 1.2; color: var(--gl-ink); }
.gl-sec__hd p, .gl-center-hd p, .gl-faq__side p { margin-top: 6px; color: var(--gl-muted); font-size: 15px; }
.gl-center-hd { text-align: center; }
.gl-more { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 700; color: var(--gl-brand); white-space: nowrap; }
.gl-more:hover { text-decoration: underline; }
.gl-center { display: flex; justify-content: center; margin-top: 8px; }

/* occasions */
.gl-occ { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 16px; }
.gl-occ a { display: block; min-width: 0; color: var(--gl-ink); }
.gl-occ__img { display: block; aspect-ratio: 4 / 5; border-radius: 14px; overflow: hidden; background: var(--gl-soft); box-shadow: 0 0 0 1px rgba(15, 23, 42, .06); }
.gl-occ__img img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; transition: transform .35s ease; }
.gl-occ a:hover .gl-occ__img img { transform: scale(1.06); }
.gl-occ b { display: block; margin-top: 8px; font-size: 13.5px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gl-occ small { display: block; font-size: 12px; color: var(--gl-muted); }

/* trending */
.gl-filters { display: flex; flex-wrap: wrap; gap: 6px; }
.gl-filters a { display: inline-flex; align-items: center; height: 32px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--gl-line); font-size: 13px; font-weight: 700; color: var(--gl-ink-2); }
.gl-filters a:hover { border-color: var(--gl-brand); color: var(--gl-brand); }
.gl-masonry { columns: 4 200px; column-gap: 18px; }
.gl-masonry.is-js { columns: auto; display: flex; align-items: flex-start; gap: 18px; }
.gl-masonry.is-js .gl-col { flex: 1 1 0; min-width: 0; }
.gl-card { position: relative; break-inside: avoid; margin: 0 0 22px; }
.gl-card__media { position: relative; display: block; border-radius: 10px; overflow: hidden; background: var(--gl-soft); box-shadow: 0 0 0 1px rgba(15, 23, 42, .06); }
.gl-card__media img { display: block; width: 100%; height: auto; transition: transform .35s ease; }
.gl-card:hover .gl-card__media img { transform: scale(1.035); }
.gl-card__ph { display: grid; place-items: center; padding: 16px; text-align: center; color: var(--gl-faint); font-size: 13px; font-weight: 700; }
.gl-card__pro { position: absolute; left: 8px; bottom: 8px; display: inline-flex; align-items: center; gap: 4px; height: 24px; padding: 0 8px; border-radius: 999px; background: rgba(255, 255, 255, .95); color: var(--gl-gold); font-size: 11.5px; font-weight: 800; box-shadow: 0 1px 4px rgba(15, 23, 42, .18); }
.gl-card__meta { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 13.5px; }
.gl-card__title { flex: 1; min-width: 0; font-weight: 700; color: var(--gl-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gl-card__title:hover { color: var(--gl-brand); }
.gl-card__sub { color: var(--gl-muted); font-size: 12.5px; white-space: nowrap; }

/* languages */
.gl-langs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.gl-lang { display: flex; flex-direction: column; justify-content: space-between; min-height: 112px; padding: 16px 18px; border: 1px solid var(--gl-line); border-radius: 16px; background: #fff; color: var(--gl-ink); transition: border-color .15s, box-shadow .15s, transform .15s; }
.gl-lang:hover { border-color: transparent; box-shadow: 0 10px 28px -12px rgba(15, 23, 42, .28); transform: translateY(-2px); color: var(--gl-ink); }
.gl-lang__hello { font-size: 22px; font-weight: 700; line-height: 1.3; overflow-wrap: anywhere; }
.gl-lang__row { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-top: 10px; }
.gl-lang__row b { font-size: 14px; }
.gl-lang__row small { font-size: 12.5px; color: var(--gl-muted); white-space: nowrap; }

/* steps */
.gl-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 28px; }
.gl-step { padding: 26px 24px 24px; border-radius: 20px; background: var(--gl-soft); border: 1px solid var(--gl-line-soft); }
.gl-step__n { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: #fff; color: var(--gl-brand); font-weight: 800; font-size: 18px; box-shadow: 0 6px 16px -8px rgba(37, 99, 235, .5); }
.gl-step h3 { margin-top: 16px; font-size: 18px; font-weight: 800; color: var(--gl-ink); }
.gl-step p { margin-top: 6px; color: var(--gl-muted); font-size: 14.5px; }

/* Pro */
.gl-pro { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; align-items: center; padding: 44px 48px; border-radius: 28px; color: #fff;
  background: radial-gradient(520px 300px at 90% 10%, rgba(250, 204, 21, .18), transparent 60%), linear-gradient(135deg, #0b1437 0%, #1e3a8a 55%, #4c1d95 100%); }
.gl-pro__badge { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border-radius: 999px; background: rgba(250, 204, 21, .16); color: #fde68a; font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.gl-pro h2 { margin-top: 14px; font-size: 34px; font-weight: 800; letter-spacing: -.025em; line-height: 1.15; color: #fff; }
.gl-pro__sub { margin-top: 8px; color: rgba(255, 255, 255, .75); }
.gl-pro ul { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; margin: 20px 0 0; padding: 0; }
.gl-pro li { display: flex; gap: 8px; font-size: 14px; color: rgba(255, 255, 255, .9); }
.gl-pro li svg { flex-shrink: 0; margin-top: 3px; color: #86efac; }
.gl-price { padding: 26px; border-radius: 20px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); text-align: center; }
.gl-price small { font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: rgba(255, 255, 255, .65); }
.gl-price strong { display: block; margin-top: 6px; font-size: 44px; font-weight: 800; letter-spacing: -.03em; color: #fff; }
.gl-price strong span { font-size: 15px; font-weight: 600; color: rgba(255, 255, 255, .7); }
.gl-price .gl-btn { width: 100%; margin-top: 16px; background: #facc15; color: #1f2937; }
.gl-price .gl-btn:hover { background: #fde047; color: #1f2937; }

/* reviews + stats */
.gl-love { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 28px; }
.gl-quote { padding: 24px; border-radius: 20px; border: 1px solid var(--gl-line); background: #fff; }
.gl-quote__stars { color: #f59e0b; letter-spacing: 2px; }
.gl-quote blockquote { margin-top: 10px; font-size: 15.5px; line-height: 1.6; color: var(--gl-ink-2); }
.gl-quote__who { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.gl-quote__who span { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; }
.gl-quote__who b { display: block; font-size: 14.5px; color: var(--gl-ink); }
.gl-quote__who small { color: var(--gl-muted); font-size: 13px; }
.gl-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 18px; border-radius: 20px; background: var(--gl-soft); border: 1px solid var(--gl-line-soft); }
.gl-stat { padding: 22px 16px; text-align: center; }
.gl-stat + .gl-stat { border-left: 1px solid var(--gl-line); }
.gl-stat strong { display: block; font-size: 30px; font-weight: 800; letter-spacing: -.02em; background: linear-gradient(90deg, var(--gl-brand), var(--gl-violet)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.gl-stat small { font-size: 13px; font-weight: 600; color: var(--gl-muted); }

/* creator strip */
.gl-creator { display: flex; align-items: center; gap: 20px; padding: 22px 26px; border-radius: 20px; border: 1px solid var(--gl-line); background: linear-gradient(90deg, #fff7ed, #fff 60%); }
.gl-creator__ic { width: 52px; height: 52px; flex-shrink: 0; border-radius: 16px; display: grid; place-items: center; background: #ffedd5; color: #c2410c; }
.gl-creator small { font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #c2410c; }
.gl-creator h3 { margin-top: 2px; font-size: 19px; font-weight: 800; color: var(--gl-ink); }
.gl-creator p { margin-top: 2px; color: var(--gl-muted); font-size: 14.5px; }
.gl-creator .gl-btn { margin-left: auto; }

/* FAQ */
.gl-faq { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 40px; align-items: start; }
.gl-faq details { border-bottom: 1px solid var(--gl-line); }
.gl-faq details:first-child { border-top: 1px solid var(--gl-line); }
.gl-faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 2px; font-weight: 700; font-size: 15.5px; color: var(--gl-ink); cursor: pointer; }
.gl-faq summary::-webkit-details-marker { display: none; }
.gl-faq summary:hover { color: var(--gl-brand); }
.gl-faq summary svg { flex-shrink: 0; color: var(--gl-muted); transition: transform .2s; }
.gl-faq details[open] summary svg { transform: rotate(180deg); }
.gl-faq details p { max-width: 760px; padding: 0 2px 16px; color: var(--gl-ink-2); font-size: 15px; }

/* final CTA */
.gl-final { padding: 56px 32px; border-radius: 28px; text-align: center; color: #fff;
  background: radial-gradient(500px 280px at 15% 0%, rgba(255, 255, 255, .18), transparent 60%), linear-gradient(115deg, #1e40af 0%, #2563eb 45%, #7c3aed 100%); }
.gl-final h2 { font-size: 38px; font-weight: 800; letter-spacing: -.03em; color: #fff; }
.gl-final p { max-width: 560px; margin: 10px auto 0; color: rgba(255, 255, 255, .85); font-size: 16px; }
.gl-final__cta { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.gl-btn--white { background: #fff; color: var(--gl-brand); box-shadow: 0 10px 24px -10px rgba(15, 23, 42, .5); }
.gl-btn--white:hover { background: #eef3ff; color: var(--gl-brand); }
.gl-btn--ghost { border-color: rgba(255, 255, 255, .4); color: #fff; }
.gl-btn--ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; }

/* SEO links */
.gl-seo { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--gl-line-soft); }
.gl-seo h3 { font-size: 15px; font-weight: 800; color: var(--gl-ink-2); }
.gl-seo p { max-width: 900px; margin-top: 6px; font-size: 13.5px; color: var(--gl-muted); }
.gl-seo__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 16px; font-size: 13.5px; }
.gl-seo__cols b { display: block; margin-bottom: 6px; color: var(--gl-ink-2); }
.gl-seo__cols a { display: block; padding: 2px 0; color: var(--gl-muted); }
.gl-seo__cols a:hover { color: var(--gl-brand); }

/* ---------- reduced motion: every column stands still ---------- */
@media (prefers-reduced-motion: reduce) {
  .gl-wall .gl-wall__col, .gl-strip .gl-strip__track { animation: none !important; }
}

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .gl-hero h1 { font-size: 46px; }
  .gl-occ { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .gl-occ a:nth-child(n+7) { display: none; }
  .gl-langs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .gl-pro { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .gl-hd__nav { display: none; }
  .gl-hero__in { grid-template-columns: 1fr; gap: 0; min-height: 0; padding-top: 28px; padding-bottom: 20px; }
  .gl-wall { display: none; }
  /* Phones and small tablets: all 12 pictures slide past in one row. */
  .gl-strip { display: block; overflow: hidden; padding-bottom: 28px;
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%); mask-image: linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%); }
  .gl-strip__track { display: flex; gap: 12px; width: max-content; animation: gl-strip 60s linear infinite; }
  .gl-strip__item { display: block; flex-shrink: 0; width: 140px; height: 196px; border-radius: 12px; overflow: hidden; background: var(--gl-soft); box-shadow: 0 10px 24px -14px rgba(15, 23, 42, .45); }
  .gl-strip__item img { display: block; width: 100%; height: 100%; object-fit: cover; }
  @keyframes gl-strip { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 6px)); } }
  .gl-steps, .gl-love { grid-template-columns: 1fr; }
  .gl-faq { grid-template-columns: 1fr; gap: 18px; }
}
@media (max-width: 767px) {
  .gl-hd__in { height: 58px; gap: 12px; }
  .gl-hd__cta { display: none; }
  .gl-hero h1 { margin-top: 14px; font-size: 36px; }
  .gl-hero__sub { margin-top: 12px; font-size: 15.5px; }
  .gl-hero__cta { margin-top: 20px; }
  .gl-hero__cta .gl-btn { flex: 1; }
  .gl-trust { gap: 8px 14px; margin-top: 18px; }
  .gl-sec { margin-top: 48px; }
  .gl-sec__hd h2, .gl-center-hd h2, .gl-faq__side h2 { font-size: 22px; }
  .gl-sec__hd p, .gl-center-hd p, .gl-faq__side p { font-size: 14px; }
  .gl-filters { display: none; }
  .gl-occ, .gl-langs { display: flex; gap: 12px; overflow-x: auto; margin: 0 -12px; padding: 0 12px 4px; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .gl-occ::-webkit-scrollbar, .gl-langs::-webkit-scrollbar { display: none; }
  .gl-occ a, .gl-occ a:nth-child(n+7) { display: block; flex: 0 0 100px; scroll-snap-align: start; }
  .gl-lang { flex: 0 0 150px; min-height: 100px; padding: 14px; scroll-snap-align: start; }
  .gl-lang__hello { font-size: 19px; }
  .gl-masonry { columns: 2; column-gap: 12px; }
  .gl-masonry.is-js { gap: 12px; }
  .gl-card { margin-bottom: 16px; }
  .gl-pro { padding: 28px 22px; border-radius: 22px; }
  .gl-pro h2 { font-size: 26px; }
  .gl-pro ul { grid-template-columns: 1fr; }
  .gl-stats { grid-template-columns: 1fr 1fr; }
  .gl-stat:nth-child(3) { border-left: 0; }
  .gl-stat:nth-child(n+3) { border-top: 1px solid var(--gl-line); }
  .gl-creator { flex-wrap: wrap; padding: 20px; }
  .gl-creator .gl-btn { margin-left: 0; width: 100%; }
  .gl-final { padding: 40px 20px; border-radius: 22px; }
  .gl-final h2 { font-size: 27px; }
  .gl-seo__cols { grid-template-columns: 1fr 1fr; }
}
