/* ==========================================================================
   Gahez AI - premium landing ("جاهز / Ready")
   Chapters: Ink (hero) -> Paper (services, chapters, pricing) -> Ink (closing)
   ========================================================================== */

:root {
  --gz-ink: #050a1a;
  --gz-ink-2: #0b1430;
  --gz-ink-line: rgba(255, 255, 255, 0.12);
  --gz-paper: #f6f4ef;
  --gz-paper-2: #ece8df;
  --gz-paper-line: rgba(10, 15, 31, 0.12);
  --gz-white: #ffffff;
  --gz-text: #0a0f1f;
  --gz-muted: #5b6275;
  --gz-blue: #0562eb;
  --gz-blue-light: #5b9bff;
  --gz-deep: #0024ab;
  --gz-wa: #25d366;

  --gz-font: "Cairo", system-ui, sans-serif;
  --gz-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", monospace;
  --gz-radius: 4px;
  --gz-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --gz-gutter: clamp(16px, 4vw, 48px);

  /* Direction helpers (flipped for RTL below) */
  --gz-start: left;
  --gz-nudge: 4px;
  --gz-shift: 16px;
  --gz-sign: 1;

  /* Used by the hero title highlight and plan list checks */
  --primary: var(--gz-blue);
}

[dir="rtl"] {
  --gz-start: right;
  --gz-nudge: -4px;
  --gz-shift: -16px;
  --gz-sign: -1;
}

/* ---------- Base & Premium Scrollbar ---------- */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
  scrollbar-width: thin;
  scrollbar-color: rgba(5, 98, 235, 0.45) transparent;
}

/* Custom Premium Scrollbar (WebKit & Blink) */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
  background-color: transparent;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background-color: rgba(5, 98, 235, 0.35);
  border-radius: 999px;
  border: 2px solid transparent;
  background-clip: padding-box;
  transition: background-color 0.25s ease;
}

::-webkit-scrollbar-thumb:hover {
  background-color: rgba(5, 98, 235, 0.75);
}

::-webkit-scrollbar-thumb:active {
  background-color: var(--gz-blue);
}

::-webkit-scrollbar-corner {
  background: transparent;
}

::-webkit-scrollbar-button {
  display: none;
  width: 0;
  height: 0;
}

body.gz-body {
  font-family: var(--gz-font);
  background: var(--gz-paper);
  color: var(--gz-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

body.gz-body ::selection {
  background: var(--gz-blue);
  color: #fff;
}

.gz-body a:focus-visible,
.gz-body button:focus-visible {
  outline: 2px solid var(--gz-blue);
  outline-offset: 3px;
}

.gz-wrap {
  width: min(1240px, calc(100% - 2 * var(--gz-gutter)));
  margin-inline: auto;
}

.gz-mono {
  font-family: var(--gz-mono);
  font-weight: 500;
  direction: ltr;
  unicode-bidi: isolate;
}

[dir="ltr"] .gz-flip {
  transform: scaleX(-1);
}

.gz-section {
  position: relative;
  padding-block: clamp(48px, 6vw, 72px);
}

.gz-paper {
  background: var(--gz-paper);
}

.gz-paper-2 {
  background: var(--gz-paper-2);
}

.gz-ink {
  position: relative;
  background: var(--gz-ink);
  color: #fff;
}

/* Film grain on dark chapters */
.gz-ink::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.gz-ink > .gz-wrap {
  position: relative;
  z-index: 1;
}

/* ---------- Type ---------- */
.gz-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--gz-muted);
}

[dir="ltr"] .gz-label {
  font-family: var(--gz-mono);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gz-label .gz-mono {
  color: var(--gz-blue);
}

.gz-label--ink {
  color: rgba(255, 255, 255, 0.7);
}

.gz-label__dot {
  width: 8px;
  height: 8px;
  background: var(--gz-blue);
  box-shadow: 0 0 0 0 rgba(5, 98, 235, 0.6);
  animation: gzPulse 2.4s var(--gz-ease) infinite;
}

.gz-h2 {
  margin: 18px 0 20px;
  font-size: clamp(2.2rem, 5vw, 4.1rem);
  font-weight: 900;
  line-height: 1.25;
  color: var(--gz-text);
  text-wrap: balance;
}

[dir="ltr"] .gz-h2 {
  letter-spacing: -0.025em;
  line-height: 1.08;
}

.gz-lead {
  margin: 0;
  max-width: 60ch;
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  line-height: 1.85;
  color: var(--gz-muted);
}

.gz-text {
  margin: 0 0 28px;
  max-width: 56ch;
  font-size: 1.1rem;
  line-height: 1.95;
  color: var(--gz-muted);
}

/* ---------- Buttons & links ---------- */
.gz-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.97rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.5s var(--gz-ease), background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.5s var(--gz-ease);
}

.gz-btn i,
.gz-link i,
.gz-plan__cta i {
  transition: translate 0.5s var(--gz-ease);
}

.gz-btn:hover i,
.gz-link:hover i,
.gz-plan__cta:hover i {
  translate: var(--gz-nudge) 0;
}

.gz-btn:active {
  transform: scale(0.97);
}

.gz-btn--lg {
  padding: 16px 30px;
  font-size: 1.05rem;
}

.gz-btn--blue {
  background: var(--gz-blue);
  color: #fff;
}

.gz-btn--blue:hover {
  background: #fff;
  color: var(--gz-ink);
  transform: translateY(-2px);
  box-shadow: 0 20px 40px -16px rgba(5, 98, 235, 0.7);
}

.gz-btn--ghost {
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
}

.gz-btn--ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  transform: translateY(-2px);
}

.gz-btn--ink {
  background: var(--gz-ink);
  color: #fff;
}

.gz-btn--ink:hover {
  background: var(--gz-blue);
  color: #fff;
}

.gz-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--gz-blue);
  font-weight: 700;
  color: var(--gz-text);
  text-decoration: none;
  transition: color 0.3s ease;
}

.gz-link:hover {
  color: var(--gz-blue);
}

/* ---------- Navigation ---------- */
.gz-nav {
  position: fixed;
  top: 16px;
  inset-inline: 0;
  z-index: 1030;
  pointer-events: none;
  transition: top 0.5s var(--gz-ease);
}

.gz-nav__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
  padding: 10px;
  padding-inline-start: 20px;
  background: var(--gz-paper);
  border: 1px solid rgba(10, 15, 31, 0.08);
  border-radius: var(--gz-radius);
  pointer-events: auto;
  transition: box-shadow 0.5s var(--gz-ease), min-height 0.5s var(--gz-ease);
}

.gz-nav.is-scrolled {
  top: 10px;
}

.gz-nav.is-scrolled .gz-nav__bar {
  min-height: 60px;
  box-shadow: 0 24px 48px -24px rgba(5, 10, 26, 0.45);
}

.gz-nav__brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.gz-nav__brand img {
  height: 60px;
  width: auto;
  object-fit: contain;
}

.gz-nav__links {
  display: none;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.gz-nav__links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gz-text);
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.gz-nav__links a .gz-mono {
  font-size: 0.7rem;
  color: var(--gz-blue);
}

.gz-nav__links a:hover,
.gz-nav__links a.is-current {
  background: rgba(10, 15, 31, 0.06);
}

.gz-nav__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.gz-lang__toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 14px;
  border: 1px solid var(--gz-paper-line);
  border-radius: 999px;
  background: transparent;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gz-text);
  transition: background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.gz-lang__toggle:hover {
  border-color: rgba(5, 98, 235, 0.28);
  background: rgba(10, 15, 31, 0.04);
}

.gz-lang__toggle[aria-expanded="true"] {
  border-color: rgba(5, 98, 235, 0.45);
  background: rgba(5, 98, 235, 0.05);
  box-shadow: 0 0 0 3px rgba(5, 98, 235, 0.12);
}

.gz-lang__toggle i {
  font-size: 0.65rem;
  color: var(--gz-muted);
  transition: rotate 0.35s cubic-bezier(0.16, 1, 0.3, 1), color 0.25s ease;
}

.gz-lang__toggle[aria-expanded="true"] i {
  rotate: 180deg;
  color: var(--gz-blue);
}

.gz-lang__toggle img,
.gz-lang__menu img {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(10, 15, 31, 0.08);
  transition: transform 0.25s var(--gz-ease);
}

/* Premium Animated Dropdown Menu */
.dropdown.gz-lang {
  position: relative;
}

.gz-lang__menu {
  display: block !important;
  position: absolute !important;
  top: 100% !important;
  right: 0 !important;
  left: auto !important;
  transform: none !important;
  min-width: 175px;
  margin-top: 10px !important;
  padding: 6px;
  border: 1px solid rgba(10, 15, 31, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow:
    0 4px 16px -2px rgba(5, 10, 26, 0.06),
    0 16px 36px -8px rgba(5, 10, 26, 0.14),
    0 24px 48px -12px rgba(5, 98, 235, 0.08);
  font-family: var(--gz-font);
  opacity: 0;
  visibility: hidden;
  translate: 0 -8px;
  scale: 0.96;
  transform-origin: top right;
  pointer-events: none;
  transition:
    opacity 0.24s cubic-bezier(0.16, 1, 0.3, 1),
    translate 0.24s cubic-bezier(0.16, 1, 0.3, 1),
    scale 0.24s cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0.24s;
  will-change: opacity, translate, scale;
}

[dir="rtl"] .gz-lang__menu {
  right: auto !important;
  left: 0 !important;
  transform-origin: top left;
}

.gz-lang__menu.show {
  opacity: 1;
  visibility: visible;
  translate: 0 0;
  scale: 1;
  pointer-events: auto;
}

.gz-lang__menu .dropdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 12px;
  border-radius: 9px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gz-text);
  background: transparent;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.gz-lang__opt {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.gz-lang__check {
  font-size: 0.75rem;
  color: var(--gz-blue);
}

.gz-lang__menu .dropdown-item:hover {
  background: rgba(5, 98, 235, 0.07);
  color: var(--gz-blue);
  transform: translateX(var(--gz-nudge));
}

.gz-lang__menu .dropdown-item:hover img {
  transform: scale(1.12);
}

.gz-lang__menu .dropdown-item.is-active {
  background: rgba(5, 98, 235, 0.05);
  color: var(--gz-blue);
  font-weight: 700;
}

.gz-lang__menu .dropdown-item:active {
  background: var(--gz-blue);
  color: #fff;
}

.gz-lang__menu .dropdown-item:active .gz-lang__check {
  color: #fff;
}

.gz-nav__auth {
  height: 42px;
}

/* Login / dashboard button: brand blue by default, lighter blue on hover */
.gz-nav__auth.gz-btn--ink {
  background: var(--gz-blue);
  color: #fff;
}

.gz-nav__auth.gz-btn--ink:hover {
  background: #2f7bff;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 12px 24px -12px rgba(5, 98, 235, 0.7);
}

.gz-nav__auth i {
  font-size: 1.1rem;
}

/* ---------- Mobile Navigation Toggle & Premium Drawer ---------- */
.gz-nav__toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--gz-paper-line);
  border-radius: 999px;
  background: transparent;
  color: var(--gz-text);
  cursor: pointer;
  transition: background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.gz-nav__toggle:hover {
  border-color: rgba(5, 98, 235, 0.35);
  background: rgba(5, 98, 235, 0.05);
}

.gz-nav__toggle[aria-expanded="true"],
.gz-nav__toggle.is-active {
  border-color: rgba(5, 98, 235, 0.5);
  background: rgba(5, 98, 235, 0.08);
  box-shadow: 0 0 0 3px rgba(5, 98, 235, 0.12);
}

.gz-nav__toggle-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  width: 20px;
  height: 16px;
}

.gz-nav__toggle-bar {
  display: block;
  height: 2px;
  border-radius: 2px;
  background-color: var(--gz-text);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease, width 0.3s ease, background-color 0.25s ease;
}

.gz-nav__toggle-bar:nth-child(1) {
  width: 18px;
}

.gz-nav__toggle-bar:nth-child(2) {
  width: 12px;
  align-self: flex-start;
}

[dir="rtl"] .gz-nav__toggle-bar:nth-child(2) {
  align-self: flex-start;
}

.gz-nav__toggle-bar:nth-child(3) {
  width: 18px;
}

.gz-nav__toggle:hover .gz-nav__toggle-bar:nth-child(2) {
  width: 18px;
}

.gz-nav__toggle.is-active .gz-nav__toggle-bar:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
  background-color: var(--gz-blue);
}

.gz-nav__toggle.is-active .gz-nav__toggle-bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.gz-nav__toggle.is-active .gz-nav__toggle-bar:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
  background-color: var(--gz-blue);
}

/* Mobile Drawer Backdrop */
.gz-drawer__backdrop {
  position: fixed;
  inset: 0;
  z-index: 1040;
  background: rgba(10, 15, 31, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s ease;
}

.gz-drawer__backdrop.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Mobile Drawer Container (Light Mode) */
.gz-drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  height: 100vh;
  height: 100dvh;
  width: min(340px, 86vw);
  max-width: 100vw;
  z-index: 1050;
  background: #ffffff;
  background-image:
    radial-gradient(circle at 100% 0%, rgba(5, 98, 235, 0.06) 0%, transparent 60%),
    radial-gradient(circle at 0% 100%, rgba(246, 244, 239, 0.7) 0%, transparent 50%);
  color: var(--gz-text);
  box-shadow:
    0 24px 48px -12px rgba(10, 15, 31, 0.18),
    0 0 1px rgba(10, 15, 31, 0.12);
  display: flex;
  flex-direction: column;
  visibility: hidden;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s ease;
  will-change: transform;
}

[dir="ltr"] .gz-drawer {
  left: 0;
  right: auto;
  transform: translateX(-100%);
  border-right: 1px solid var(--gz-paper-line);
}

[dir="rtl"] .gz-drawer {
  right: 0;
  left: auto;
  transform: translateX(100%);
  border-left: 1px solid var(--gz-paper-line);
}

.gz-drawer.is-open {
  transform: translateX(0) !important;
  visibility: visible;
}

.gz-drawer__inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  overflow: hidden;
}

/* Drawer Header */
.gz-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 72px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--gz-paper-line);
  background: var(--gz-paper);
}

.gz-drawer__brand {
  display: inline-flex;
  align-items: center;
}

.gz-drawer__brand img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.gz-drawer__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--gz-paper-line);
  background: rgba(10, 15, 31, 0.04);
  color: var(--gz-text);
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease, color 0.25s ease;
}

.gz-drawer__close:hover {
  background: rgba(5, 98, 235, 0.08);
  border-color: rgba(5, 98, 235, 0.25);
  color: var(--gz-blue);
  transform: rotate(90deg);
}

/* Drawer Body */
.gz-drawer__body {
  flex: 1 1 auto;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  background: #ffffff;
}

/* Custom scrollbar for drawer body */
.gz-drawer__body::-webkit-scrollbar {
  width: 4px;
}
.gz-drawer__body::-webkit-scrollbar-thumb {
  background: rgba(10, 15, 31, 0.15);
  border-radius: 4px;
}

.gz-drawer__section {
  display: flex;
  flex-direction: column;
}

.gz-drawer__section-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gz-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
  font-family: var(--gz-mono);
}

/* Drawer Navigation Links */
.gz-drawer__nav {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.gz-drawer__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 14px;
  border-radius: 12px;
  background: rgba(10, 15, 31, 0.02);
  border: 1px solid rgba(10, 15, 31, 0.06);
  color: var(--gz-text);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  transition: background-color 0.22s ease, border-color 0.22s ease, transform 0.22s ease, color 0.22s ease, box-shadow 0.22s ease;
}

.gz-drawer__link-main {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.gz-drawer__link-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: rgba(5, 98, 235, 0.08);
  border: 1px solid rgba(5, 98, 235, 0.16);
  color: var(--gz-blue);
  font-size: 0.9rem;
  transition: background-color 0.22s ease, color 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}

.gz-drawer__link-icon--wa {
  background: rgba(37, 211, 102, 0.1);
  border-color: rgba(37, 211, 102, 0.25);
  color: #1da851;
}

.gz-drawer__link-text {
  color: var(--gz-text);
  transition: color 0.22s ease;
}

.gz-drawer__link-num {
  font-size: 0.72rem;
  color: var(--gz-muted);
  transition: color 0.22s ease;
}

.gz-drawer__link:hover {
  background: rgba(5, 98, 235, 0.06);
  border-color: rgba(5, 98, 235, 0.25);
  color: var(--gz-blue);
  transform: translateX(calc(var(--gz-sign) * -3px));
}

.gz-drawer__link:hover .gz-drawer__link-icon {
  background: var(--gz-blue);
  color: #ffffff;
  border-color: var(--gz-blue);
  box-shadow: 0 4px 14px rgba(5, 98, 235, 0.35);
}

.gz-drawer__link:hover .gz-drawer__link-text {
  color: var(--gz-blue);
}

.gz-drawer__link:hover .gz-drawer__link-num {
  color: var(--gz-blue);
}

/* Drawer Language Switcher */
.gz-drawer__lang-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.gz-drawer__lang-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(10, 15, 31, 0.03);
  border: 1px solid rgba(10, 15, 31, 0.08);
  color: var(--gz-text);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.gz-drawer__lang-info {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.gz-drawer__lang-info img {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(10, 15, 31, 0.08);
}

.gz-drawer__lang-check {
  font-size: 0.72rem;
  color: var(--gz-blue);
}

.gz-drawer__lang-item:hover {
  background: rgba(10, 15, 31, 0.06);
  border-color: rgba(10, 15, 31, 0.16);
  color: var(--gz-text);
}

.gz-drawer__lang-item.is-active {
  background: rgba(5, 98, 235, 0.08);
  border-color: rgba(5, 98, 235, 0.35);
  color: var(--gz-blue);
  box-shadow: 0 2px 10px rgba(5, 98, 235, 0.08);
}

/* Drawer Footer */
.gz-drawer__foot {
  padding: 16px 20px;
  border-top: 1px solid var(--gz-paper-line);
  background: var(--gz-paper);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.gz-drawer__ctas {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.gz-drawer__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 44px;
  padding: 0 16px;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.22s ease, background-color 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.gz-drawer__btn--ghost {
  background: #ffffff;
  border: 1px solid rgba(10, 15, 31, 0.12);
  color: var(--gz-text);
  box-shadow: 0 2px 4px rgba(10, 15, 31, 0.03);
}

.gz-drawer__btn--ghost:hover {
  background: rgba(10, 15, 31, 0.04);
  border-color: rgba(10, 15, 31, 0.2);
  color: var(--gz-text);
}

.gz-drawer__btn.gz-btn--blue {
  background: var(--gz-blue);
  color: #ffffff;
  box-shadow: 0 6px 18px -4px rgba(5, 98, 235, 0.45);
}

.gz-drawer__btn.gz-btn--blue:hover {
  background: #2f7bff;
  box-shadow: 0 8px 22px -4px rgba(5, 98, 235, 0.6);
  transform: translateY(-1px);
}

.gz-drawer__btn.gz-btn--ink {
  background: var(--gz-blue);
  color: #ffffff;
  box-shadow: 0 6px 18px -4px rgba(5, 98, 235, 0.45);
}

.gz-drawer__btn.gz-btn--ink:hover {
  background: #2f7bff;
  box-shadow: 0 8px 22px -4px rgba(5, 98, 235, 0.6);
  transform: translateY(-1px);
}

body.gz-drawer-open {
  overflow: hidden !important;
  touch-action: none;
}

/* ---------- Hero ---------- */
.gz-hero {
  --primary: var(--gz-blue-light);
  z-index: 2;
  min-height: 100svh;
  padding-top: clamp(128px, 16vh, 168px);
  overflow-x: clip;
  background:
    radial-gradient(1100px 560px at 70% 115%, rgba(5, 98, 235, 0.38), transparent 62%),
    var(--gz-ink);
}

.gz-hero__grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 25%, transparent 78%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 25%, transparent 78%);
}

.gz-hero__beam {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  z-index: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(91, 155, 255, 0.9), transparent);
}

.gz-hero__inner {
  display: flex;
  flex-direction: column;
}

.gz-hero__title {
  position: relative;
  z-index: 3;
  margin: 28px 0 0;
  max-width: 13em;
  font-size: clamp(2.3rem, 5vw, 4.6rem);
  font-weight: 800;
  line-height: 1.14;
  color: #fff;
  text-wrap: balance;
}

[dir="ltr"] .gz-hero__title {
  letter-spacing: -0.035em;
  line-height: 1.02;
}

.gz-hero__body {
  display: grid;
  grid-template-columns: minmax(0, 34rem) minmax(0, 1fr);
  align-items: end;
  gap: clamp(24px, 4vw, 64px);
  margin-top: clamp(20px, 2.5vw, 36px);
}

.gz-hero__copy {
  position: relative;
  z-index: 3;
  max-width: 34rem;
  align-self: start;
  padding-bottom: clamp(48px, 6vw, 88px);
}

.gz-rotator {
  display: grid;
  align-items: start;
  overflow: hidden;
  transition: height 0.6s var(--gz-ease);
}

.gz-rotator__item {
  grid-area: 1 / 1;
  margin: 0;
  font-size: clamp(1.05rem, 1.4vw, 1.22rem);
  line-height: 1.95;
  color: rgba(255, 255, 255, 0.76);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.8s var(--gz-ease), transform 0.8s var(--gz-ease);
  pointer-events: none;
}

.gz-rotator__item.is-active {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.gz-rotator__bars {
  display: flex;
  gap: 8px;
  margin: 18px 0 34px;
}

html:not(.js) .gz-rotator__bars {
  display: none;
}

.gz-rotator__bars button {
  flex: 0 0 48px;
  padding: 10px 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.gz-rotator__bars span {
  position: relative;
  display: block;
  height: 2px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.18);
}

.gz-rotator__bars span::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #fff;
  transform: scaleX(0);
  transform-origin: var(--gz-start) center;
}

.gz-rotator__bars .is-done span::after {
  transform: scaleX(1);
}

.gz-rotator__bars .is-active span::after {
  animation: gzFill 6s linear forwards;
}

.gz-rotator.is-paused + .gz-rotator__bars .is-active span::after {
  animation-play-state: paused;
}

.gz-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.gz-hero__visual {
  position: relative;
  z-index: 1;
  justify-self: end;
  width: min(100%, 520px);
  margin-bottom: clamp(24px, 4vh, 48px);
}

.gz-orbit {
  position: absolute;
  top: 44%;
  left: 50%;
  z-index: 1;
  width: min(100%, 620px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  container-type: size;
  pointer-events: none;
}

.gz-orbit__ring {
  position: absolute;
  border-radius: 50%;
}

.gz-orbit__ring--1 {
  inset: 0;
  border: 1px dashed rgba(255, 255, 255, 0.16);
}

.gz-orbit__ring--2 {
  inset: 13%;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.gz-orbit__ring--3 {
  inset: 27%;
  border: 1px solid rgba(91, 155, 255, 0.35);
  box-shadow: inset 0 0 80px rgba(5, 98, 235, 0.25);
}

.gz-hero__scroll {
  position: absolute;
  bottom: 28px;
  inset-inline-start: 0;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
}

.gz-hero__scroll-line {
  position: relative;
  width: 64px;
  height: 1px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.18);
}

.gz-hero__scroll-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #fff;
  animation: gzScan 2.4s var(--gz-ease) infinite;
}

/* Hero product stack (sized in container units so it scales as one piece) */
.gz-stack {
  position: relative;
  z-index: 2;
  aspect-ratio: 6 / 5;
  container-type: inline-size;
}

.gz-stack__phone {
  position: absolute;
  top: 2%;
  inset-inline-start: 28cqw;
  width: 44cqw;
  aspect-ratio: 9 / 18.5;
  padding: 1.6cqw;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6.5cqw;
  background: #0e1733;
  box-shadow: 0 50px 80px -30px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(5, 98, 235, 0.25);
  animation: gzBob 7s ease-in-out infinite;
}

.gz-stack__screen {
  display: flex;
  flex-direction: column;
  gap: 2.4cqw;
  height: 100%;
  padding: 2.6cqw 3cqw 0;
  overflow: hidden;
  border-radius: 5cqw;
  background: var(--gz-paper);
  font-size: 2.4cqw;
  color: var(--gz-text);
}

.gz-stack__status {
  display: flex;
  justify-content: space-between;
  font-size: 2cqw;
  color: var(--gz-muted);
}

.gz-stack__appbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 2.8cqw;
}

.gz-stack__appbar strong {
  font-weight: 800;
}

.gz-stack__banner {
  position: relative;
  height: 21cqw;
  padding: 3cqw;
  border-radius: 2.5cqw;
  background:
    radial-gradient(circle at 85% 20%, rgba(91, 155, 255, 0.7), transparent 55%),
    linear-gradient(135deg, var(--gz-blue), var(--gz-deep));
}

.gz-stack__banner i {
  position: absolute;
  bottom: 3cqw;
  inset-inline-end: 3cqw;
  font-size: 6.5cqw;
  color: rgba(255, 255, 255, 0.92);
}

.gz-stack__line {
  display: block;
  width: 70%;
  height: 1.6cqw;
  margin-bottom: 1.4cqw;
  border-radius: 1cqw;
  background: rgba(10, 15, 31, 0.1);
}

.gz-stack__line--w {
  background: rgba(255, 255, 255, 0.85);
}

.gz-stack__line--short {
  width: 42%;
}

.gz-stack__tiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2cqw;
}

.gz-stack__tiles span {
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 0.82;
  border-radius: 2.5cqw;
  background: var(--gz-paper-2);
  font-size: 5cqw;
  color: var(--gz-blue);
}

.gz-stack__tiles span:nth-child(2) {
  background: var(--gz-ink);
  color: #fff;
}

.gz-stack__tabbar {
  display: flex;
  justify-content: space-around;
  margin-top: auto;
  padding: 2.6cqw 0 3.2cqw;
  border-top: 1px solid var(--gz-paper-line);
  font-size: 3cqw;
  color: var(--gz-muted);
}

.gz-stack__tabbar .is-on {
  color: var(--gz-blue);
}

.gz-stack__card {
  position: absolute;
  padding: 3cqw;
  border-radius: 2.4cqw;
  background: #fff;
  box-shadow: 0 40px 70px -24px rgba(0, 0, 0, 0.7);
  font-size: 2.3cqw;
  line-height: 1.6;
  color: var(--gz-text);
  animation: gzBob 7s ease-in-out infinite;
}

.gz-stack__chat {
  top: 14%;
  inset-inline-end: 0;
  width: 50cqw;
  animation-delay: -2.3s;
}

.gz-stack__chat-head {
  display: flex;
  align-items: center;
  gap: 2cqw;
  padding-bottom: 2cqw;
  border-bottom: 1px solid var(--gz-paper-line);
}

.gz-stack__chat-head strong {
  font-size: 2.6cqw;
  font-weight: 800;
}

.gz-stack__chat-head small {
  margin-inline-start: auto;
  font-size: 1.9cqw;
  font-weight: 700;
  color: #1da851;
}

.gz-stack__wa {
  display: grid;
  flex-shrink: 0;
  place-items: center;
  width: 6cqw;
  height: 6cqw;
  border-radius: 50%;
  background: var(--gz-wa);
  font-size: 3.4cqw;
  color: #fff;
}

.gz-stack__bubble {
  width: fit-content;
  max-width: 88%;
  margin: 2cqw 0 0;
  padding: 1.6cqw 2.4cqw;
  border-radius: 2cqw;
  border-start-start-radius: 0.5cqw;
  background: #f0f2f5;
}

.gz-stack__bubble--out {
  margin-inline-start: auto;
  border-start-start-radius: 2cqw;
  border-start-end-radius: 0.5cqw;
  background: #d9fdd3;
}

.gz-stack__product {
  bottom: 4%;
  inset-inline-start: 2%;
  width: 40cqw;
  animation-delay: -4.6s;
}

.gz-stack__product-media {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  border-radius: 1.6cqw;
  background:
    radial-gradient(circle at 30% 20%, rgba(91, 155, 255, 0.55), transparent 55%),
    linear-gradient(135deg, var(--gz-ink-2), var(--gz-blue));
  font-size: 7cqw;
  color: #fff;
}

.gz-stack__ok {
  display: inline-flex;
  align-items: center;
  gap: 1cqw;
  margin: 2.4cqw 0 1.2cqw;
  padding: 0.6cqw 2cqw;
  border-radius: 999px;
  background: rgba(5, 98, 235, 0.1);
  font-size: 2cqw;
  font-weight: 700;
  color: var(--gz-blue);
}

.gz-stack__product strong {
  display: block;
  font-size: 2.5cqw;
  font-weight: 800;
}

@keyframes gzBob {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -12px; }
}

/* ---------- Services showcase ---------- */
.gz-index__head {
  max-width: 780px;
  margin-bottom: clamp(40px, 5vw, 64px);
}

.gz-svc {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(40px, 6vw, 96px);
}

.gz-svc__list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--gz-paper-line);
}

.gz-svc__row {
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  align-items: center;
  gap: 16px;
  padding: 28px 0;
  border-bottom: 1px solid var(--gz-paper-line);
  color: var(--gz-text);
  text-decoration: none;
}

.gz-svc__num {
  font-size: 0.85rem;
  color: var(--gz-muted);
  transition: color 0.4s ease;
}

.gz-svc__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.gz-svc__title {
  font-size: clamp(1.35rem, 2.4vw, 2.1rem);
  font-weight: 800;
  line-height: 1.3;
  color: rgba(10, 15, 31, 0.32);
  transition: color 0.4s ease;
}

.gz-svc__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-height: 0;
  overflow: hidden;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gz-muted);
  opacity: 0;
  transition: max-height 0.5s var(--gz-ease), opacity 0.4s ease;
}

.gz-svc__arrow {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--gz-paper-line);
  border-radius: 50%;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.gz-svc__bar {
  position: absolute;
  bottom: -1px;
  inset-inline: 0;
  height: 2px;
  background: var(--gz-blue);
  transform: scaleX(0);
  transform-origin: var(--gz-start) center;
}

.gz-svc__row:hover .gz-svc__title,
.gz-svc__row.is-active .gz-svc__title {
  color: var(--gz-text);
}

.gz-svc__row.is-active .gz-svc__num {
  color: var(--gz-blue);
}

.gz-svc__row.is-active .gz-svc__tag {
  max-height: 32px;
  opacity: 1;
}

.gz-svc__row.is-active .gz-svc__arrow,
.gz-svc__row:hover .gz-svc__arrow {
  border-color: var(--gz-ink);
  background: var(--gz-ink);
  color: #fff;
}

html.js .gz-svc__row.is-active .gz-svc__bar {
  animation: gzFill 5s linear forwards;
}

.gz-svc.is-paused .gz-svc__row.is-active .gz-svc__bar {
  animation-play-state: paused;
}

/* Showcase panel - sizes inside are in panel container units */
.gz-show {
  position: relative;
  aspect-ratio: 5 / 4;
  overflow: hidden;
  border-radius: var(--gz-radius);
  background-color: var(--gz-ink);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  box-shadow: 0 60px 100px -50px rgba(5, 10, 26, 0.6);
  container-type: inline-size;
}

.gz-show__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 55% at 50% 60%, rgba(5, 98, 235, 0.42), transparent 70%);
}

.gz-scene {
  position: absolute;
  inset: 0;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.6s ease, visibility 0s linear 0.6s;
}

.gz-scene.is-active {
  visibility: visible;
  opacity: 1;
  transition: opacity 0.6s ease;
}

.gz-scene > :not(.gz-scene__label) {
  opacity: 0;
  transform: translateY(4cqw) scale(0.97);
  transition: opacity 0.7s var(--gz-ease), transform 0.9s var(--gz-ease);
}

.gz-scene.is-active > :not(.gz-scene__label) {
  opacity: 1;
  transform: none;
}

.gz-scene.is-active > :nth-child(3) { transition-delay: 0.12s; }
.gz-scene.is-active > :nth-child(4) { transition-delay: 0.24s; }
.gz-scene.is-active > :nth-child(5) { transition-delay: 0.36s; }

.gz-scene__label {
  position: absolute;
  top: 3.6cqw;
  inset-inline-start: 4cqw;
  font-size: 1.8cqw;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.5);
}

.gz-scene__card {
  position: absolute;
  padding: 3cqw;
  border-radius: 2cqw;
  background: #fff;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.7);
  font-size: 2.2cqw;
  line-height: 1.55;
  color: var(--gz-text);
}

.gz-scene.is-active .gz-scene__card {
  animation: gzBob 7s ease-in-out infinite;
}

.gz-scene.is-active .gz-scene__card + .gz-scene__card {
  animation-delay: -3.5s;
}

/* Scene: apps */
.gz-scene__device {
  position: absolute;
  top: 10cqw;
  inset-inline-start: 8cqw;
  width: 72cqw;
  container-type: inline-size;
}

.gz-scene__phone {
  width: 44cqw;
  aspect-ratio: 9 / 18.5;
  padding: 1.6cqw;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6.5cqw;
  background: #0e1733;
  box-shadow: 0 50px 80px -30px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(5, 98, 235, 0.25);
}

.gz-scene__steps {
  top: 17cqw;
  inset-inline-end: 6cqw;
  display: flex;
  flex-direction: column;
  gap: 1.8cqw;
  width: 44cqw;
}

.gz-scene__step {
  display: flex;
  align-items: center;
  gap: 1.8cqw;
  padding: 1.6cqw 2cqw;
  border-radius: 1.4cqw;
  background: var(--gz-paper);
  font-weight: 700;
}

.gz-scene__step i {
  display: grid;
  flex-shrink: 0;
  place-items: center;
  width: 4.4cqw;
  height: 4.4cqw;
  border-radius: 50%;
  background: var(--gz-ink);
  font-size: 2cqw;
  color: #fff;
}

.gz-scene__step.is-done i {
  background: var(--gz-blue);
}

.gz-scene__step:not(.is-done) {
  border: 1px dashed rgba(5, 98, 235, 0.45);
  background: rgba(5, 98, 235, 0.06);
}

.gz-scene__stores {
  bottom: 13cqw;
  inset-inline-end: 16cqw;
  display: flex;
  gap: 3cqw;
  padding: 2.4cqw 3.6cqw;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: var(--gz-ink-2);
  font-size: 4.6cqw;
  color: #fff;
}

/* Scene: WhatsApp */
.gz-scene__chat {
  position: absolute;
  top: 11cqw;
  inset-inline-start: 7cqw;
  width: 56cqw;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 2.4cqw;
  background: #0b141a;
  box-shadow: 0 50px 80px -30px rgba(0, 0, 0, 0.8);
}

.gz-scene__chat-head {
  display: flex;
  align-items: center;
  gap: 2cqw;
  padding: 2.6cqw 3cqw;
  background: #1f2c34;
  font-size: 2.5cqw;
  color: #e9edef;
}

.gz-scene__chat-head small {
  margin-inline-start: auto;
  font-size: 1.9cqw;
  color: var(--gz-wa);
}

.gz-scene__chat-body {
  display: flex;
  flex-direction: column;
  gap: 2cqw;
  min-height: 40cqw;
  padding: 3cqw;
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 3cqw 3cqw;
}

.gz-scene__msg {
  align-self: flex-start;
  max-width: 82%;
  margin: 0;
  padding: 1.8cqw 2.4cqw;
  border-radius: 2cqw;
  border-start-start-radius: 0.5cqw;
  background: #202c33;
  font-size: 2.3cqw;
  line-height: 1.6;
  color: #e9edef;
}

.gz-scene__msg--out {
  align-self: flex-end;
  border-start-start-radius: 2cqw;
  border-start-end-radius: 0.5cqw;
  background: #005c4b;
}

.gz-scene__chart {
  top: 24cqw;
  inset-inline-end: 5cqw;
  width: 34cqw;
}

.gz-scene__chart strong {
  display: flex;
  align-items: center;
  gap: 1.4cqw;
  font-size: 2.1cqw;
  font-weight: 800;
}

.gz-scene__chart strong i {
  color: var(--gz-blue);
}

.gz-scene__bars {
  display: flex;
  align-items: flex-end;
  gap: 1.4cqw;
  height: 17cqw;
  margin-top: 2.6cqw;
}

.gz-scene__bars i {
  flex: 1;
  height: var(--h);
  border-radius: 0.8cqw 0.8cqw 0 0;
  background: rgba(5, 98, 235, 0.22);
  transform-origin: bottom;
}

.gz-scene__bars i:last-child {
  background: var(--gz-blue);
}

.gz-scene.is-active .gz-scene__bars i {
  animation: gzGrow 1.1s var(--gz-ease) both;
}

.gz-scene.is-active .gz-scene__bars i:nth-child(2) { animation-delay: 0.08s; }
.gz-scene.is-active .gz-scene__bars i:nth-child(3) { animation-delay: 0.16s; }
.gz-scene.is-active .gz-scene__bars i:nth-child(4) { animation-delay: 0.24s; }
.gz-scene.is-active .gz-scene__bars i:nth-child(5) { animation-delay: 0.32s; }
.gz-scene.is-active .gz-scene__bars i:nth-child(6) { animation-delay: 0.4s; }

.gz-scene__pill {
  bottom: 11cqw;
  inset-inline-end: 8cqw;
  display: flex;
  align-items: center;
  gap: 1.6cqw;
  padding: 2cqw 3.2cqw;
  border-radius: 999px;
  background: var(--gz-blue);
  font-weight: 700;
  color: #fff;
}

/* Scene: Catalyze */
.gz-scene__raw {
  top: 11cqw;
  inset-inline-start: 7cqw;
  width: 52cqw;
  border: 1px dashed rgba(10, 15, 31, 0.3);
}

.gz-scene__raw .gz-morph__tag {
  margin-bottom: 1.4cqw;
}

.gz-scene__raw code {
  display: block;
  font-family: var(--gz-mono);
  font-size: 2cqw;
  color: var(--gz-muted);
  text-align: left;
}

.gz-scene__flow {
  position: absolute;
  top: 31cqw;
  inset-inline-start: 46.5cqw;
  display: grid;
  place-items: center;
  width: 7cqw;
  height: 7cqw;
  border-radius: 50%;
  background: var(--gz-blue);
  font-size: 2.8cqw;
  color: #fff;
  box-shadow: 0 0 0 1.4cqw rgba(5, 98, 235, 0.22);
}

.gz-scene__products {
  position: absolute;
  bottom: 7cqw;
  inset-inline: 7cqw;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.6cqw;
}

.gz-scene__product {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.4cqw;
  padding: 2cqw;
  border-radius: 2cqw;
  background: #fff;
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.7);
}

.gz-scene__product strong {
  font-size: 2cqw;
  font-weight: 800;
  line-height: 1.4;
}

.gz-scene__product .gz-stack__line {
  width: 80%;
  margin: 0.8cqw 0;
}

.gz-scene__product .gz-stack__ok {
  margin: 0;
}

.gz-scene__media {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 1 / 0.78;
  border-radius: 1.4cqw;
  background:
    radial-gradient(circle at 30% 20%, rgba(91, 155, 255, 0.55), transparent 55%),
    linear-gradient(135deg, var(--gz-ink-2), var(--gz-blue));
  font-size: 6cqw;
  color: #fff;
}

.gz-scene__media--b {
  background: linear-gradient(135deg, var(--gz-deep), var(--gz-blue-light));
}

.gz-scene__media--c {
  background: linear-gradient(135deg, #1a2340, var(--gz-ink));
}

@keyframes gzGrow {
  from { transform: scaleY(0); }
  to { transform: scaleY(1); }
}

/* ---------- Chapters (shared) ---------- */
.gz-chapter {
  overflow-x: clip;
}

.gz-chapter__ghost {
  position: absolute;
  top: clamp(32px, 5vw, 64px);
  inset-inline-end: -1.5vw;
  font-family: var(--gz-mono);
  font-size: clamp(9rem, 26vw, 24rem);
  font-weight: 500;
  line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 1px rgba(10, 15, 31, 0.09);
  pointer-events: none;
  user-select: none;
}

.gz-chapter > .gz-wrap {
  position: relative;
}

.gz-chapter__head {
  max-width: 720px;
  margin-bottom: clamp(48px, 6vw, 80px);
}

/* ---------- Chapter 01: apps ---------- */
.gz-apps__grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  align-items: start;
  gap: clamp(40px, 6vw, 96px);
}

.gz-sticky {
  position: sticky;
  top: 128px;
}

.gz-frame {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--gz-ink);
  border-radius: var(--gz-radius);
  background: var(--gz-ink);
  box-shadow: 0 60px 90px -50px rgba(5, 10, 26, 0.55);
}

.gz-frame__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
}

.gz-frame__dots {
  display: inline-flex;
  gap: 6px;
}

.gz-frame__dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.gz-frame__dots i:first-child {
  background: var(--gz-blue-light);
}

.gz-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.gz-rail {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 48px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--gz-paper-line);
}

.gz-rail__step {
  position: relative;
  padding-top: 24px;
  padding-inline-end: 20px;
}

.gz-rail__step::before {
  content: "";
  position: absolute;
  top: -1px;
  inset-inline: 0;
  height: 2px;
  background: var(--gz-blue);
  transform: scaleX(0);
  transform-origin: var(--gz-start) center;
  transition: transform 1s var(--gz-ease) 0.3s;
}

.gz-rail__step.is-in::before,
html:not(.js) .gz-rail__step::before {
  transform: scaleX(1);
}

.gz-rail__num {
  font-size: 0.85rem;
  color: var(--gz-blue);
}

.gz-rail__text {
  display: block;
  margin-top: 10px;
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  font-weight: 800;
  line-height: 1.5;
}

/* ---------- Chapter 02: WhatsApp ---------- */
.gz-wa__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  align-items: center;
  gap: clamp(48px, 6vw, 104px);
}

.gz-chat {
  justify-self: center;
  width: 100%;
  max-width: 440px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.5);
  border-radius: 14px;
  background: #0b141a;
  box-shadow: 0 60px 100px -50px rgba(5, 10, 26, 0.7);
  rotate: -2deg;
}

.gz-chat__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: #1f2c34;
}

.gz-chat__avatar {
  display: grid;
  flex-shrink: 0;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gz-wa);
  color: #0b141a;
}

.gz-chat__who {
  display: flex;
  flex-direction: column;
  line-height: 1.4;
}

.gz-chat__who strong {
  font-size: 0.95rem;
  color: #e9edef;
}

.gz-chat__who small {
  font-size: 0.75rem;
  color: var(--gz-wa);
}

.gz-chat__example {
  margin-inline-start: auto;
  padding: 3px 9px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  font-size: 0.66rem;
  color: rgba(255, 255, 255, 0.5);
}

.gz-chat__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 300px;
  padding: 22px 16px;
  background-color: #0b141a;
  background-image: radial-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 18px 18px;
}

.gz-chat__msg {
  position: relative;
  max-width: 82%;
  margin: 0;
  padding: 9px 12px 24px;
  border-radius: 10px;
  font-size: 0.95rem;
  line-height: 1.65;
  color: #e9edef;
}

.gz-chat__msg time {
  position: absolute;
  bottom: 5px;
  inset-inline-end: 10px;
  font-size: 0.64rem;
  color: rgba(233, 237, 239, 0.55);
}

.gz-chat__msg time i {
  color: #53bdeb;
}

.gz-chat__msg--in {
  align-self: flex-start;
  background: #202c33;
  border-start-start-radius: 2px;
}

.gz-chat__msg--out {
  align-self: flex-end;
  background: #005c4b;
  border-start-end-radius: 2px;
}

.gz-chat__typing {
  display: none;
  align-self: flex-start;
  gap: 4px;
  margin: 0;
  padding: 13px 14px;
  border-radius: 10px;
  background: #202c33;
}

.gz-chat__typing i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(233, 237, 239, 0.55);
  animation: gzBounce 1.2s ease-in-out infinite;
}

.gz-chat__typing i:nth-child(2) {
  animation-delay: 0.15s;
}

.gz-chat__typing i:nth-child(3) {
  animation-delay: 0.3s;
}

.gz-chat.is-typing .gz-chat__typing {
  display: inline-flex;
}

html.js .gz-chat__msg {
  display: none;
}

html.js .gz-chat__msg.is-shown {
  display: block;
  animation: gzPop 0.6s var(--gz-ease) both;
}

.gz-chat__input {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: #1f2c34;
  font-size: 0.85rem;
  color: rgba(233, 237, 239, 0.4);
}

.gz-chat__input i {
  color: var(--gz-wa);
}

.gz-feats {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.gz-feat {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 112px;
  align-items: center;
  gap: 20px;
  padding: 18px 20px;
  border: 1px solid rgba(10, 15, 31, 0.07);
  border-radius: 18px;
  background: var(--gz-white);
  box-shadow: 0 1px 2px rgba(10, 15, 31, 0.04), 0 10px 30px -20px rgba(10, 15, 31, 0.18);
}

.gz-feat:hover {
  translate: 0 -4px;
  border-color: rgba(5, 98, 235, 0.25);
  box-shadow: 0 2px 4px rgba(10, 15, 31, 0.04), 0 28px 50px -28px rgba(5, 10, 26, 0.3);
}

/* Keep hover transitions when the scroll-reveal rule applies */
html.js .gz-feat.gz-reveal,
.gz-feat {
  transition:
    opacity 1s var(--gz-ease) calc(var(--i, 0) * 110ms),
    transform 1s var(--gz-ease) calc(var(--i, 0) * 110ms),
    translate 0.6s var(--gz-ease),
    box-shadow 0.6s var(--gz-ease),
    border-color 0.4s ease;
}

.gz-feat__icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--gz-ink);
  font-size: 1.2rem;
  color: #fff;
  transition: background-color 0.4s ease;
}

.gz-feat:hover .gz-feat__icon {
  background: var(--gz-blue);
}

.gz-feat__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.gz-feat__num {
  font-size: 0.78rem;
  color: var(--gz-blue);
}

.gz-feat__title {
  margin: 0;
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  font-weight: 800;
  line-height: 1.45;
}

/* Mini visuals */
.gz-feat__viz {
  display: flex;
  height: 56px;
  padding: 10px;
  border-radius: 12px;
  background: var(--gz-paper);
}

.gz-feat__viz--chat {
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}

.gz-feat__viz--chat i {
  width: 70%;
  height: 8px;
  border-radius: 4px;
  background: rgba(10, 15, 31, 0.12);
}

.gz-feat__viz--chat i + i {
  align-self: flex-end;
  width: 55%;
  background: rgba(37, 211, 102, 0.55);
}

.gz-feat__viz--chat b {
  display: flex;
  gap: 3px;
}

.gz-feat__viz--chat s {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gz-muted);
  animation: gzBounce 1.2s ease-in-out infinite;
}

.gz-feat__viz--chat s:nth-child(2) { animation-delay: 0.15s; }
.gz-feat__viz--chat s:nth-child(3) { animation-delay: 0.3s; }

.gz-feat__viz--send {
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--gz-blue);
}

.gz-feat__viz--send b {
  position: relative;
  flex: 1;
  height: 6px;
  overflow: hidden;
  border-radius: 3px;
  background: rgba(5, 98, 235, 0.15);
}

.gz-feat__viz--send b::after {
  content: "";
  position: absolute;
  inset-block: 0;
  inset-inline-start: 0;
  width: 70%;
  border-radius: 3px;
  background: var(--gz-blue);
  transform-origin: var(--gz-start) center;
  animation: gzSend 2.8s var(--gz-ease) infinite;
}

.gz-feat__viz--bars {
  align-items: flex-end;
  gap: 6px;
}

.gz-feat__viz--bars i {
  flex: 1;
  height: var(--h);
  border-radius: 3px 3px 0 0;
  background: rgba(5, 98, 235, 0.25);
  transform-origin: bottom;
}

.gz-feat__viz--bars i:last-child {
  background: var(--gz-blue);
}

.gz-feat.is-in .gz-feat__viz--bars i {
  animation: gzGrow 1s var(--gz-ease) both;
}

.gz-feat.is-in .gz-feat__viz--bars i:nth-child(2) { animation-delay: 0.1s; }
.gz-feat.is-in .gz-feat__viz--bars i:nth-child(3) { animation-delay: 0.2s; }
.gz-feat.is-in .gz-feat__viz--bars i:nth-child(4) { animation-delay: 0.3s; }

@keyframes gzSend {
  0% { transform: scaleX(0); }
  70%, 100% { transform: scaleX(1); }
}

/* ---------- Chapter 03: Catalyze ---------- */
.gz-cat__top {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: end;
  gap: clamp(32px, 6vw, 96px);
  margin-bottom: clamp(48px, 6vw, 80px);
}

.gz-cat__top .gz-h2 {
  margin-bottom: 0;
}

.gz-cat__intro .gz-text {
  margin-bottom: 20px;
}

.gz-morph__tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--gz-paper-2);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gz-muted);
}

.gz-morph__tag--ok {
  background: rgba(5, 98, 235, 0.1);
  color: var(--gz-blue);
}

/* App builder mockup (inside the chapter 01 frame) */
.gz-builder {
  display: grid;
  grid-template-columns: 21% minmax(0, 1fr) 24%;
  aspect-ratio: 16 / 10;
  background: #0a1124;
  container-type: inline-size;
}

.gz-builder__side {
  display: flex;
  flex-direction: column;
  gap: 1.6cqw;
  padding: 3cqw 2cqw;
  border-inline-end: 1px solid rgba(255, 255, 255, 0.08);
}

.gz-builder__block {
  display: flex;
  align-items: center;
  gap: 1.4cqw;
  padding: 1.4cqw 1.6cqw;
  border-radius: 1cqw;
  background: rgba(255, 255, 255, 0.05);
  font-size: 1.8cqw;
  color: rgba(255, 255, 255, 0.7);
}

.gz-builder__block .gz-stack__line {
  flex: 1;
  height: 1cqw;
  margin: 0;
  background: rgba(255, 255, 255, 0.18);
}

.gz-builder__block.is-picked {
  background: var(--gz-blue);
  color: #fff;
  box-shadow: 0 1.4cqw 3cqw -1cqw rgba(5, 98, 235, 0.8);
}

.gz-builder__block.is-picked .gz-stack__line {
  background: rgba(255, 255, 255, 0.55);
}

.gz-builder__canvas {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  background-image: radial-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1px);
  background-size: 2.4cqw 2.4cqw;
}

.gz-builder__device {
  width: 50cqw;
  container-type: inline-size;
}

.gz-builder__device .gz-scene__phone {
  margin-inline: auto;
}

.gz-builder__drop {
  border: 1px dashed var(--gz-blue);
  background: rgba(5, 98, 235, 0.08) !important;
  animation: gzPulseSoft 2.2s ease-in-out infinite;
}

.gz-builder__ghost {
  position: absolute;
  top: 50%;
  inset-inline-start: 50%;
  display: grid;
  place-items: center;
  width: 6cqw;
  height: 6cqw;
  border-radius: 1cqw;
  background: var(--gz-blue);
  font-size: 2.4cqw;
  color: #fff;
  box-shadow: 0 2cqw 4cqw -1cqw rgba(0, 0, 0, 0.7);
  opacity: 0;
  animation: gzDrag 4.5s var(--gz-ease) infinite;
}

.gz-builder__panel {
  display: flex;
  flex-direction: column;
  gap: 2.2cqw;
  padding: 3cqw 2.4cqw;
  border-inline-start: 1px solid rgba(255, 255, 255, 0.08);
}

.gz-builder__field {
  padding: 1.4cqw 1.6cqw;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1cqw;
  background: rgba(255, 255, 255, 0.06);
  font-size: 1.9cqw;
  color: #fff;
}

.gz-builder__swatches {
  display: flex;
  gap: 1.4cqw;
}

.gz-builder__swatches i {
  width: 3.6cqw;
  height: 3.6cqw;
  border-radius: 50%;
  background: var(--gz-blue);
}

.gz-builder__swatches i:nth-child(2) { background: var(--gz-paper); }
.gz-builder__swatches i:nth-child(3) { background: var(--gz-blue-light); }
.gz-builder__swatches i:nth-child(4) { background: var(--gz-wa); }

.gz-builder__swatches i.is-on {
  box-shadow: 0 0 0 0.5cqw #0a1124, 0 0 0 0.9cqw #fff;
}

.gz-builder__toggle {
  display: flex;
  align-items: center;
  gap: 1.6cqw;
}

.gz-builder__toggle .gz-stack__line {
  flex: 1;
  height: 1cqw;
  margin: 0;
  background: rgba(255, 255, 255, 0.18);
}

.gz-builder__toggle i {
  position: relative;
  flex-shrink: 0;
  width: 6cqw;
  height: 3.4cqw;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
}

.gz-builder__toggle i::after {
  content: "";
  position: absolute;
  top: 0.4cqw;
  inset-inline-start: 0.4cqw;
  width: 2.6cqw;
  height: 2.6cqw;
  border-radius: 50%;
  background: #fff;
}

.gz-builder__toggle.is-on i {
  background: var(--gz-blue);
}

.gz-builder__toggle.is-on i::after {
  inset-inline-start: auto;
  inset-inline-end: 0.4cqw;
}

.gz-builder__publish {
  display: flex;
  justify-content: center;
  gap: 1.8cqw;
  margin-top: auto;
  padding: 1.6cqw;
  border-radius: 999px;
  background: var(--gz-blue);
  font-size: 2.2cqw;
  color: #fff;
}

@keyframes gzDrag {
  0% { opacity: 0; translate: calc(var(--gz-sign) * -30cqw) -16cqw; scale: 0.9; }
  15% { opacity: 1; translate: calc(var(--gz-sign) * -30cqw) -16cqw; scale: 1.05; }
  60% { opacity: 1; translate: calc(var(--gz-sign) * -6cqw) 4cqw; scale: 1; }
  75%, 100% { opacity: 0; translate: calc(var(--gz-sign) * -6cqw) 4cqw; scale: 0.6; }
}

@keyframes gzPulseSoft {
  0%, 100% { box-shadow: 0 0 0 0 rgba(5, 98, 235, 0.45); }
  50% { box-shadow: 0 0 0 1.2cqw rgba(5, 98, 235, 0); }
}

/* Catalyze two-step flow */
.gz-flow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: stretch;
  gap: 20px;
}

.gz-flow__link {
  display: grid;
  align-self: center;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--gz-ink);
  color: #fff;
  box-shadow: 0 0 0 8px var(--gz-paper);
}

.gz-flowcard {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--gz-paper-line);
  border-radius: var(--gz-radius);
  background: var(--gz-white);
  transition: border-color 0.3s ease, box-shadow 0.6s var(--gz-ease), translate 0.6s var(--gz-ease);
}

.gz-flowcard:hover {
  border-color: var(--gz-ink);
  box-shadow: 0 50px 70px -50px rgba(5, 10, 26, 0.45);
  translate: 0 -4px;
}

/* The reveal rule would otherwise replace the hover transitions (the lift
   jumped) and add its stagger delay; keep both transition sets here. */
html.js .gz-flowcard.gz-reveal {
  transition:
    opacity 1s var(--gz-ease) calc(var(--i, 0) * 110ms),
    transform 1s var(--gz-ease) calc(var(--i, 0) * 110ms),
    translate 0.6s var(--gz-ease),
    box-shadow 0.6s var(--gz-ease),
    border-color 0.3s ease;
}

.gz-flowcard__stage {
  position: relative;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background-color: var(--gz-ink);
  background-image:
    radial-gradient(60% 60% at 50% 70%, rgba(5, 98, 235, 0.38), transparent 70%),
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: auto, 40px 40px, 40px 40px;
  container-type: inline-size;
}

.gz-flowcard__text {
  padding: clamp(24px, 3vw, 36px);
}

.gz-flowcard__num {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--gz-muted);
}

.gz-flowcard__num .gz-mono {
  font-size: 2.4rem;
  line-height: 1;
  color: var(--gz-blue);
}

.gz-flowcard__text p {
  margin: 16px 0 0;
  font-size: 1.08rem;
  line-height: 1.95;
  color: var(--gz-text);
}

/* Stage 1: upload + analyze */
.gz-flow__drop {
  position: absolute;
  top: 9cqw;
  inset-inline-start: 7cqw;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2cqw;
  width: 44cqw;
  padding: 4cqw 3cqw;
  border: 1px dashed rgba(255, 255, 255, 0.3);
  border-radius: 2cqw;
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  text-align: center;
}

.gz-flow__drop > i {
  font-size: 7cqw;
  color: var(--gz-blue-light);
}

.gz-flow__drop strong {
  font-size: 2.8cqw;
  font-weight: 700;
}

.gz-flow__files {
  display: flex;
  flex-direction: column;
  gap: 1.4cqw;
  width: 100%;
}

.gz-flow__files span {
  display: flex;
  align-items: center;
  gap: 1.4cqw;
  padding: 1.4cqw 2cqw;
  border-radius: 1.2cqw;
  background: rgba(255, 255, 255, 0.08);
  font-family: var(--gz-mono);
  font-size: 2.2cqw;
  color: rgba(255, 255, 255, 0.85);
}

.gz-flow__files i {
  color: var(--gz-blue-light);
}

.gz-flow__analyze {
  position: absolute;
  top: 20cqw;
  inset-inline-end: 6cqw;
  display: flex;
  flex-direction: column;
  gap: 2.2cqw;
  width: 44cqw;
  padding: 3cqw;
  border-radius: 2cqw;
  background: #fff;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.7);
  animation: gzBob 7s ease-in-out infinite;
}

.gz-flow__analyze-head {
  display: flex;
  align-items: center;
  gap: 1.4cqw;
  font-size: 2.5cqw;
  font-weight: 800;
}

.gz-flow__analyze-head i {
  color: var(--gz-blue);
}

.gz-flow__task {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  row-gap: 1cqw;
  font-size: 2.2cqw;
  font-weight: 700;
}

.gz-flow__task > i {
  font-size: 2cqw;
  color: var(--gz-muted);
}

.gz-flow__task .fa-spinner {
  animation: gzSpin 1.4s linear infinite;
}

.gz-flow__task.is-done > i {
  color: var(--gz-blue);
}

.gz-flow__task b {
  position: relative;
  grid-column: 1 / -1;
  height: 1cqw;
  overflow: hidden;
  border-radius: 1cqw;
  background: var(--gz-paper-2);
}

.gz-flow__task b::after {
  content: "";
  position: absolute;
  inset-block: 0;
  inset-inline-start: 0;
  width: var(--p);
  border-radius: 1cqw;
  background: var(--gz-blue);
  transform: scaleX(0);
  transform-origin: var(--gz-start) center;
  transition: transform 1.2s var(--gz-ease) 0.4s;
}

.gz-flow__task:nth-child(3) b::after { transition-delay: 0.7s; }
.gz-flow__task:nth-child(4) b::after { transition-delay: 1s; }

.gz-flowcard.is-in .gz-flow__task b::after,
html:not(.js) .gz-flow__task b::after {
  transform: scaleX(1);
}

/* Stage 2: generated outputs */
.gz-flow__out {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.4cqw;
  padding: 2cqw;
  border-radius: 2cqw;
  background: #fff;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.7);
  animation: gzBob 7s ease-in-out infinite;
}

.gz-flow__out strong {
  font-size: 2.2cqw;
  font-weight: 800;
  line-height: 1.4;
}

.gz-flow__out .gz-stack__ok {
  margin: 0;
}

.gz-flow__out .gz-stack__line {
  width: 100%;
  margin: 0;
}

.gz-flow__out .gz-stack__line--short {
  width: 60%;
}

.gz-flow__out--product {
  top: 9cqw;
  inset-inline-start: 6cqw;
  width: 30cqw;
  rotate: -4deg;
}

.gz-flow__out--social {
  z-index: 2;
  top: 5cqw;
  inset-inline-start: 35cqw;
  width: 30cqw;
  animation-delay: -2.3s;
}

.gz-flow__out--email {
  top: 15cqw;
  inset-inline-end: 6cqw;
  width: 27cqw;
  rotate: 4deg;
  animation-delay: -4.6s;
}

.gz-flow__out-head {
  display: flex;
  align-items: center;
  gap: 1.2cqw;
  font-size: 2cqw;
  font-weight: 700;
}

.gz-flow__out--social .gz-flow__out-head i {
  color: #e1306c;
}

.gz-flow__out--email .gz-flow__out-head i {
  color: var(--gz-blue);
}

.gz-flow__icons {
  display: flex;
  gap: 2cqw;
  font-size: 2.4cqw;
  color: var(--gz-muted);
}

.gz-flow__publish {
  position: absolute;
  bottom: 6cqw;
  left: 50%;
  display: inline-flex;
  align-items: center;
  gap: 1.4cqw;
  padding: 2cqw 4.4cqw;
  border-radius: 999px;
  background: var(--gz-blue);
  font-size: 2.6cqw;
  font-weight: 700;
  color: #fff;
  transform: translateX(-50%);
  box-shadow: 0 0 0 1.4cqw rgba(5, 98, 235, 0.25);
}

/* ---------- Pricing ---------- */
.gz-pricing {
  border-top: 1px solid var(--gz-paper-line);
}

.gz-pricing__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 56px;
}

.gz-pricing__head > div:first-child {
  max-width: 640px;
}

.gz-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--gz-paper-line);
  border-radius: 999px;
  background: var(--gz-paper-2);
}

html:not(.js) .gz-tabs {
  display: none;
}

.gz-tabs__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gz-muted);
  transition: background-color 0.3s ease, color 0.3s ease;
}

.gz-tabs__btn:hover {
  color: var(--gz-text);
}

.gz-tabs__btn.is-active {
  background: var(--gz-ink);
  color: #fff;
}

.gz-plans-panel + .gz-plans-panel {
  margin-top: 72px;
}

html.js .gz-plans-panel {
  display: none;
  margin-top: 0;
}

html.js .gz-plans-panel.is-active {
  display: block;
  animation: gzPanel 0.7s var(--gz-ease) both;
}

.gz-plans-panel__title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 24px;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--gz-text);
}

.gz-plans-panel__title .gz-mono {
  font-size: 0.8rem;
  color: var(--gz-blue);
}

.gz-plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 20px;
}

.dir-rtl {
  direction: rtl;
}

.dir-ltr {
  direction: ltr;
}

.gz-plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 8px;
  border: 1px solid rgba(10, 15, 31, 0.07);
  border-radius: 22px;
  background: var(--gz-white);
  box-shadow:
    0 1px 2px rgba(10, 15, 31, 0.04),
    0 10px 30px -18px rgba(10, 15, 31, 0.14);
  transition:
    translate 0.6s var(--gz-ease),
    box-shadow 0.6s var(--gz-ease),
    border-color 0.4s ease;
}

.gz-plan:hover {
  translate: 0 -6px;
  border-color: rgba(5, 98, 235, 0.25);
  box-shadow:
    0 2px 4px rgba(10, 15, 31, 0.04),
    0 34px 60px -30px rgba(5, 10, 26, 0.3);
}

.gz-plan__head {
  padding: 26px 24px 24px;
  border: 1px solid rgba(10, 15, 31, 0.05);
  border-radius: 16px;
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(5, 98, 235, 0.11), transparent 55%),
    var(--gz-paper);
}

[dir="rtl"] .gz-plan__head {
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(5, 98, 235, 0.11), transparent 55%),
    var(--gz-paper);
}

.gz-plan__name {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--gz-text);
  text-align: start;
}

.gz-plan__name::before {
  content: "";
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--gz-blue);
}

.gz-plan__price {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  color: var(--gz-deep);
}

.gz-plan__amount {
  font-size: clamp(2.8rem, 4vw, 3.4rem);
  font-weight: 900;
  line-height: 1;
}

[dir="ltr"] .gz-plan__amount {
  letter-spacing: -0.03em;
}

.gz-plan__currency {
  display: inline-flex;
  align-items: center;
  font-size: 1rem;
  font-weight: 800;
}

.gz-plan__currency svg {
  width: 30px;
  height: 30px;
}

.gz-plan__period {
  margin-inline-start: 4px;
  padding: 4px 12px;
  border: 1px solid rgba(10, 15, 31, 0.08);
  border-radius: 999px;
  background: var(--gz-white);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gz-muted);
}

.gz-plan__details {
  flex-grow: 1;
  padding: 26px 24px 10px;
  font-size: 0.95rem;
  line-height: 1.7;
  color: #3d4458;
}

.gz-plan__details p {
  margin-bottom: 0.75rem;
}

/* Plan details HTML comes from the database - keep these hooks */
.plan-details-content ul {
  margin: 0;
  padding: 0 !important;
  list-style: none;
}

.plan-details-content ul li {
  position: relative;
  margin-bottom: 14px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #3d4458;
}

.dir-ltr .plan-details-content ul {
  text-align: left;
}

.dir-ltr .plan-details-content ul li {
  padding-left: 32px;
  padding-right: 0;
}

.dir-rtl .plan-details-content ul {
  text-align: right;
}

.dir-rtl .plan-details-content ul li {
  padding-right: 32px;
  padding-left: 0;
}

.dir-ltr .plan-details-content ul li::before,
.dir-rtl .plan-details-content ul li::before {
  content: "\f00c";
  position: absolute;
  top: 0.15em;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(5, 98, 235, 0.1);
  font-family: "Font Awesome 6 Free";
  font-size: 0.6rem;
  font-weight: 900;
  color: var(--primary);
}

.dir-ltr .plan-details-content ul li::before {
  left: 0;
}

.dir-rtl .plan-details-content ul li::before {
  right: 0;
}

.plan-details-content > li::marker {
  content: "✓";
  color: var(--primary);
}

.gz-plan__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 56px;
  margin: 8px 16px 16px;
  padding-block: 7px;
  padding-inline: 24px 7px;
  border-radius: 999px;
  background: var(--gz-ink);
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  transition: background-color 0.4s ease;
}

.gz-plan__cta i {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.95rem;
  transition: background-color 0.4s ease, color 0.4s ease, translate 0.5s var(--gz-ease);
}

.gz-plan__cta:hover {
  background: var(--gz-blue);
  color: #fff;
}

.gz-plan__cta:hover i {
  background: #fff;
  color: var(--gz-blue);
}

/* ---------- Closing ---------- */
.gz-closing {
  padding-block: clamp(32px, 4vw, 48px) clamp(40px, 5vw, 56px);
  overflow-x: clip;
  background:
    radial-gradient(900px 480px at 50% 0%, rgba(5, 98, 235, 0.3), transparent 70%),
    var(--gz-ink);
}

.gz-closing__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: end;
  gap: clamp(32px, 6vw, 96px);
}

.gz-closing__title {
  margin: 20px 0 0;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  font-weight: 800;
  line-height: 1.2;
  color: #fff;
  text-wrap: balance;
}

[dir="ltr"] .gz-closing__title {
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.gz-closing__row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
  padding-inline-start: clamp(0px, 3vw, 40px);
  border-inline-start: 1px solid var(--gz-ink-line);
}

.gz-closing__text {
  max-width: 46ch;
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.7);
}

/* ---------- Footer ---------- */
.gz-footer {
  padding-bottom: 28px;
}

.gz-footer__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 28px;
  border-top: 1px solid var(--gz-ink-line);
}

.gz-footer__plate {
  display: inline-flex;
  padding: 14px 20px;
  border-radius: 14px;
  /* background: var(--gz-paper); */
}

.gz-footer__plate img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 70px;
}

.gz-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.gz-footer__links a {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  transition: color 0.3s ease, background-color 0.3s ease;
}

.gz-footer__links a:hover {
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
}

.gz-footer__bottom {
  padding-top: 20px;
  border-top: 1px solid var(--gz-ink-line);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

.gz-footer__rights {
  margin: 0;
}

/* ---------- Motion ---------- */
html.js .gz-rise {
  animation: gzRise 1.2s var(--gz-ease) both;
  animation-delay: calc(var(--d, 0) * 130ms + 100ms);
}

html.js .gz-reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 1s var(--gz-ease), transform 1s var(--gz-ease);
  transition-delay: calc(var(--i, 0) * 110ms);
}

html.js .gz-reveal.is-in {
  opacity: 1;
  transform: none;
}

html.js .gz-frame.gz-reveal {
  transform: perspective(1400px) rotateX(10deg) translateY(48px) scale(0.96);
  transform-origin: center top;
}

html.js .gz-frame.gz-reveal.is-in {
  transform: none;
}

@keyframes gzRise {
  from {
    opacity: 0;
    transform: translateY(36px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes gzFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

@keyframes gzSpin {
  to { rotate: 360deg; }
}

@keyframes gzSpinBack {
  from { rotate: 0deg; }
  to { rotate: -360deg; }
}

@keyframes gzFill {
  to { transform: scaleX(1); }
}

@keyframes gzPulse {
  0% { box-shadow: 0 0 0 0 rgba(5, 98, 235, 0.6); }
  70%, 100% { box-shadow: 0 0 0 10px rgba(5, 98, 235, 0); }
}

@keyframes gzScan {
  from { transform: translateX(-100%); }
  to { transform: translateX(100%); }
}

@keyframes gzBounce {
  0%, 60%, 100% { transform: translateY(0); }
  30% { transform: translateY(-4px); }
}

@keyframes gzPop {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes gzFlow {
  to { background-position: 24px 0; }
}

@keyframes gzPanel {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Responsive ---------- */
@media (min-width: 992px) {
  .gz-nav__links {
    display: flex;
  }
}

@media (max-width: 991.98px) {
  .gz-nav__toggle {
    display: inline-flex;
  }

  .gz-hero {
    min-height: auto;
  }

  .gz-hero__body,
  .gz-apps__grid,
  .gz-wa__grid,
  .gz-cat__top {
    grid-template-columns: minmax(0, 1fr);
  }

  .gz-hero__copy {
    max-width: none;
    padding-bottom: 0;
  }

  .gz-hero__visual {
    justify-self: center;
    width: min(100%, 520px);
    margin: 48px auto -56px;
    translate: none;
  }

  .gz-orbit {
    width: 92%;
  }

  .gz-hero__scroll {
    display: none;
  }

  .gz-index {
    padding-top: 104px;
  }

  .gz-svc {
    grid-template-columns: minmax(0, 1fr);
  }

  .gz-show {
    order: -1;
  }

  .gz-sticky {
    position: static;
  }

  .gz-closing__inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .gz-closing__row {
    padding-top: 28px;
    padding-inline-start: 0;
    border-inline-start: 0;
    border-top: 1px solid var(--gz-ink-line);
  }

}

@media (max-width: 767.98px) {
  .gz-rail {
    grid-template-columns: minmax(0, 1fr);
    border-top: 0;
  }

  .gz-rail__step {
    padding-bottom: 20px;
    border-top: 1px solid var(--gz-paper-line);
  }

  .gz-flow {
    grid-template-columns: minmax(0, 1fr);
  }

  .gz-flow__link {
    justify-self: center;
    rotate: calc(var(--gz-sign) * 90deg);
  }

  .gz-feat {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 14px;
  }

  .gz-feat__icon {
    width: 48px;
    height: 48px;
  }

  .gz-feat__viz {
    display: none;
  }

  .gz-tabs {
    display: flex;
    width: 100%;
    border-radius: var(--gz-radius);
  }

  .gz-tabs__btn {
    flex: 1 1 auto;
    justify-content: center;
    padding: 10px 12px;
    border-radius: 2px;
  }

  .gz-chat {
    rotate: 0deg;
  }

  .gz-closing__row .gz-btn {
    width: 100%;
  }
}

@keyframes gzFlowY {
  to { background-position: 0 24px; }
}

@media (max-width: 575.98px) {
  .gz-nav {
    top: 10px;
  }

  .gz-nav__bar {
    min-height: 60px;
    padding: 8px;
    padding-inline-start: 14px;
  }

  .gz-nav__brand img {
    height: 48px;
  }

  .gz-lang__name,
  .gz-nav__auth-label {
    display: none;
  }

  .gz-nav__actions {
    gap: 6px;
  }

  .gz-lang__toggle {
    width: 38px;
    height: 38px;
    padding: 0;
    justify-content: center;
  }

  .gz-lang__toggle i {
    display: none;
  }

  .gz-nav__auth {
    width: 38px;
    height: 38px;
    padding: 0;
  }

  .gz-nav__toggle {
    width: 38px;
    height: 38px;
  }

  .gz-hero {
    padding-top: 112px;
  }

  .gz-hero__ctas .gz-btn {
    flex: 1 1 100%;
  }


  .gz-plan__head,
  .gz-plan__details {
    padding-inline: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .gz-body *,
  .gz-body *::before,
  .gz-body *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0s !important;
  }

  html.js .gz-reveal {
    opacity: 1;
    transform: none;
  }
}

/* Translated meta labels: monospace only for Latin text */
.gz-meta {
  font-weight: 700;
}

[dir="ltr"] .gz-meta {
  font-family: var(--gz-mono);
  font-weight: 500;
}
