/* New landing-page sections (features, hardware, pricing, FAQ, contact) under the original
   animated hero. Scoped to .qx so the original
   template (header, intro, wheel, phone, steps, footer) is untouched. Colours follow the
   original palette (#ebe4e0 / #f9e0d4 / #504246 / #ff7224). */

/* the original page styles bare elements (p, h1-h4, li, a, button); inside .qx start clean */
.qx :is(p, li, h1, h2, h3, h4, ul, ol, figure, button, dl, dt, a, span, strong, small) {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  line-height: inherit;
}


.qx {
  --orange: #ff7224;
  --orange-dark: #e85d12;
  --orange-soft: #fff1e8;
  --peach: #fde4d6;
  --ink: #241a1d;
  --text: #4b3f43;
  --muted: #7a6d71;
  --line: #efe3dc;
  --bg: #fffaf7;
  --card: #ffffff;
  --green: #1f9d6b;
  --red: #d64545;
  --radius: 18px;
  --shadow: 0 18px 50px rgba(64, 30, 10, 0.12);
  --shadow-sm: 0 6px 18px rgba(64, 30, 10, 0.08);
  --font: "TTCommons", "Segoe UI", Helvetica, Arial, sans-serif;
  --max: 1180px;
}

html[lang="ar"] .qx {
  --font: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;
}

.qx *,
.qx *::before,
.qx *::after {
  box-sizing: border-box;
}

html[lang="ar"] .qx {
  font-size: 17px;
  line-height: 1.85;
}

.qx img,
.qx video,
.qx svg {
  display: block;
  max-inline-size: 100%;
}

.qx a {
  color: inherit;
  text-decoration: none;
}

.qx h1,
.qx h2,
.qx h3,
.qx h4 {
  margin: 0;
  color: var(--ink);
  font-weight: 600;
  line-height: 1.12;
}

html[lang="ar"] .qx h1,
html[lang="ar"] .qx h2,
html[lang="ar"] .qx h3,
html[lang="ar"] .qx h4 {
  line-height: 1.35;
}

.qx p {
  margin: 0;
}

.qx .container {
  inline-size: min(var(--max), 100% - 40px);
  margin-inline: auto;
}

.qx .skip-link {
  position: absolute;
  inset-inline-start: 12px;
  inset-block-start: -60px;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  z-index: 100;
}

.qx .skip-link:focus {
  inset-block-start: 12px;
}

.qx :focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
  border-radius: 6px;
}

.qx .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-block-size: 52px;
  padding: 0 26px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-family: var(--font);
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.qx .btn-primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 10px 24px rgba(255, 114, 36, 0.32);
}

.qx .btn-primary:hover {
  background: var(--orange-dark);
  transform: translateY(-2px);
}

.qx .btn-ghost {
  border-color: var(--orange);
  color: var(--orange-dark);
  background: transparent;
}

.qx .btn-ghost:hover {
  background: var(--orange-soft);
}

.qx .btn-white {
  background: #fff;
  color: var(--orange-dark);
}

.qx .btn-white:hover {
  transform: translateY(-2px);
}

.qx .btn-outline-white {
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
}

.qx .btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.12);
}

.qx .btn svg {
  inline-size: 20px;
  block-size: 20px;
}

.qx .site-header {
  position: sticky;
  inset-block-start: 0;
  z-index: 50;
  background: rgba(255, 250, 247, 0.88);
  backdrop-filter: saturate(160%) blur(12px);
  border-block-end: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.qx .site-header.scrolled {
  border-block-end-color: var(--line);
  box-shadow: 0 4px 20px rgba(64, 30, 10, 0.05);
}

.qx .nav {
  display: flex;
  align-items: center;
  gap: 24px;
  min-block-size: 72px;
}

.qx .brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--ink);
}

.qx .brand img {
  inline-size: 132px;
  block-size: auto;
}

.qx .nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  margin-inline-start: auto;
  padding: 0;
  list-style: none;
}

.qx .nav-links a {
  display: block;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}

.qx .nav-links a:hover {
  background: var(--orange-soft);
  color: var(--orange-dark);
}

.qx .nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.qx .lang-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-inline-size: 48px;
  block-size: 40px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 15px;
  font-weight: 600;
}

.qx .lang-switch:hover {
  border-color: var(--orange);
  color: var(--orange-dark);
}

.qx .nav .btn {
  min-block-size: 44px;
  padding: 0 20px;
  font-size: 16px;
}

.qx .menu-toggle {
  display: none;
  inline-size: 44px;
  block-size: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
}

.qx .menu-toggle span {
  display: block;
  inline-size: 18px;
  block-size: 2px;
  margin: 4px auto;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.qx .hero {
  position: relative;
  overflow: hidden;
  padding: 56px 0 90px;
}

.qx .hero::before {
  content: "";
  position: absolute;
  inset-block-start: -260px;
  inset-inline-end: -220px;
  inline-size: 760px;
  block-size: 760px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--peach) 0%, rgba(253, 228, 214, 0) 68%);
  z-index: -1;
}

.qx .hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 48px;
}

.qx .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--orange-soft);
  color: var(--orange-dark);
  font-size: 15px;
  font-weight: 600;
}

.qx .eyebrow .dot {
  inline-size: 8px;
  block-size: 8px;
  border-radius: 50%;
  background: var(--orange);
}

.qx .hero h1 {
  margin-block: 18px 18px;
  font-size: clamp(38px, 5.4vw, 64px);
  letter-spacing: -0.02em;
}

html[lang="ar"] .qx .hero h1 {
  font-size: clamp(34px, 4.6vw, 56px);
  letter-spacing: 0;
}

.qx .hero h1 em {
  font-style: normal;
  color: var(--orange);
}

.qx .hero .lead {
  max-inline-size: 560px;
  font-size: 20px;
  color: var(--muted);
}

.qx .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-block-start: 30px;
}

.qx .hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  font-size: 16px;
  color: var(--muted);
}

.qx .hero-points li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.qx .check {
  flex: none;
  inline-size: 20px;
  block-size: 20px;
  color: var(--green);
}

.qx .hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  min-block-size: 560px;
}

.qx .phone {
  position: relative;
  inline-size: 270px;
  aspect-ratio: 308 / 640;
  border-radius: 42px;
  background: #1c1416;
  padding: 12px;
  box-shadow: var(--shadow);
}

.qx .phone video,
.qx .phone .phone-screen {
  inline-size: 100%;
  block-size: 100%;
  border-radius: 31px;
  object-fit: cover;
  background: #fff;
}

.qx .float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow);
  font-size: 15px;
  line-height: 1.3;
  animation: floaty 6s ease-in-out infinite;
}

.qx .float-card strong {
  display: block;
  color: var(--ink);
  font-size: 16px;
}

.qx .float-card small {
  color: var(--muted);
  font-size: 13px;
}

.qx .float-card .icon {
  display: grid;
  place-items: center;
  flex: none;
  inline-size: 40px;
  block-size: 40px;
  border-radius: 12px;
  background: var(--orange-soft);
  color: var(--orange-dark);
}

.qx .float-card .icon svg {
  inline-size: 22px;
  block-size: 22px;
}

.qx .float-card.one {
  inset-block-start: 70px;
  inset-inline-start: 0;
}

.qx .float-card.two {
  inset-block-start: 250px;
  inset-inline-end: -10px;
  animation-delay: -2s;
}

.qx .float-card.three {
  inset-block-end: 50px;
  inset-inline-start: 10px;
  animation-delay: -4s;
}

@keyframes floaty {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

.qx .audience {
  padding: 26px 0;
  border-block: 1px solid var(--line);
  background: #fff;
}

.qx .audience .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 30px;
  color: var(--muted);
  font-size: 16px;
}

.qx .audience strong {
  color: var(--ink);
}

.qx .audience span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.qx .section {
  padding: 100px 0;
}

.qx .section.alt {
  background: #fff;
}

.qx .section-head {
  max-inline-size: 720px;
  margin: 0 auto 56px;
  text-align: center;
}

.qx .section-head .eyebrow {
  margin-block-end: 14px;
}

.qx .section-head h2 {
  font-size: clamp(30px, 3.8vw, 46px);
  letter-spacing: -0.01em;
}

html[lang="ar"] .qx .section-head h2 {
  letter-spacing: 0;
}

.qx .section-head p {
  margin-block-start: 16px;
  color: var(--muted);
  font-size: 19px;
}

.qx .pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.qx .pain {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.qx .pain .before {
  color: var(--red);
  font-size: 15px;
  font-weight: 600;
}

.qx .pain h3 {
  margin-block: 8px 12px;
  font-size: 22px;
}

.qx .pain .after {
  display: flex;
  gap: 10px;
  margin-block-start: 16px;
  padding-block-start: 16px;
  border-block-start: 1px dashed var(--line);
  color: var(--ink);
  font-size: 16px;
}

.qx .feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 64px;
  padding-block: 44px;
}

.qx .feature.reverse .feature-copy {
  order: 2;
}

.qx .feature-copy .tag {
  color: var(--orange-dark);
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

html[lang="ar"] .qx .feature-copy .tag {
  text-transform: none;
  letter-spacing: 0;
}

.qx .feature-copy h3 {
  margin-block: 10px 14px;
  font-size: clamp(26px, 3vw, 36px);
}

.qx .feature-copy > p {
  color: var(--muted);
}

.qx .ticks {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.qx .ticks li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.qx .ticks .check {
  margin-block-start: 4px;
}

.qx .mock {
  position: relative;
  padding: 22px;
  border-radius: 24px;
  background: linear-gradient(160deg, var(--peach), var(--orange-soft));
}

.qx .panel {
  padding: 18px;
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.qx .panel + .panel {
  margin-block-start: 14px;
}

.qx .panel-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-block-end: 12px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
}

.qx .pill {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--orange-soft);
  color: var(--orange-dark);
  font-size: 12px;
  font-weight: 600;
}

.qx .pill.green {
  background: #e3f6ee;
  color: var(--green);
}

.qx .pill.red {
  background: #fde8e8;
  color: var(--red);
}

.qx .menu-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-block-end: 1px solid var(--line);
  font-size: 15px;
}

.qx .menu-row:last-child {
  border-block-end: 0;
}

.qx .menu-row .thumb {
  flex: none;
  inline-size: 44px;
  block-size: 44px;
  border-radius: 12px;
  background: var(--peach);
  display: grid;
  place-items: center;
  font-size: 22px;
}

.qx .menu-row .name {
  flex: 1;
  color: var(--ink);
  font-weight: 600;
}

.qx .menu-row .name small {
  display: block;
  color: var(--muted);
  font-weight: 400;
  font-size: 13px;
}

.qx .menu-row .price {
  color: var(--orange-dark);
  font-weight: 600;
}

.qx .add-btn {
  display: grid;
  place-items: center;
  inline-size: 30px;
  block-size: 30px;
  border-radius: 10px;
  background: var(--orange);
  color: #fff;
  font-weight: 600;
}

.qx .kds {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.qx .kds-col h4 {
  margin-block-end: 8px;
  font-size: 13px;
  color: var(--muted);
}

.qx .ticket {
  padding: 10px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 13px;
  line-height: 1.45;
}

.qx .ticket + .ticket {
  margin-block-start: 8px;
}

.qx .ticket strong {
  display: flex;
  justify-content: space-between;
  color: var(--ink);
  font-size: 14px;
}

.qx .ticket.hot {
  border-color: var(--orange);
}

.qx .ticket.done {
  border-color: var(--green);
}

.qx .receipt-lines {
  display: grid;
  gap: 6px;
  font-size: 14px;
}

.qx .receipt-lines div {
  display: flex;
  justify-content: space-between;
}

.qx .receipt-lines .total {
  margin-block-start: 6px;
  padding-block-start: 8px;
  border-block-start: 2px dashed var(--line);
  color: var(--ink);
  font-size: 17px;
  font-weight: 600;
}

.qx .pay-methods {
  display: flex;
  gap: 8px;
  margin-block-start: 12px;
}

.qx .pay-methods span {
  flex: 1;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 10px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
}

.qx .pay-methods span.on {
  border-color: var(--orange);
  background: var(--orange-soft);
  color: var(--orange-dark);
}

.qx .bars {
  display: grid;
  gap: 10px;
}

.qx .bar {
  display: grid;
  grid-template-columns: 110px 1fr 40px;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}

.qx .bar .track {
  block-size: 10px;
  border-radius: 999px;
  background: var(--orange-soft);
  overflow: hidden;
}

.qx .bar .fill {
  block-size: 100%;
  border-radius: 999px;
  background: var(--orange);
}

.qx .bar b {
  text-align: end;
  color: var(--ink);
}

.qx .stock-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  border-block-end: 1px solid var(--line);
  font-size: 14px;
}

.qx .stock-row:last-child {
  border-block-end: 0;
}

.qx .loyalty-card {
  position: relative;
  overflow: hidden;
  padding: 22px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--orange), #ff9a52);
  color: #fff;
  box-shadow: var(--shadow);
}

.qx .loyalty-card .lc-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
}

.qx .loyalty-card .stamps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-block: 18px;
}

.qx .loyalty-card .stamps i {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  font-style: normal;
  font-size: 16px;
}

.qx .loyalty-card .stamps i.on {
  background: #fff;
  color: var(--orange-dark);
}

.qx .loyalty-card .lc-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
}

.qx .qr-box {
  inline-size: 74px;
  block-size: 74px;
  padding: 6px;
  border-radius: 10px;
  background: #fff;
}

.qx .kit {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-block-end: 1px solid var(--line);
}

.qx .kit:last-child {
  border-block-end: 0;
}

.qx .kit .icon {
  display: grid;
  place-items: center;
  flex: none;
  inline-size: 46px;
  block-size: 46px;
  border-radius: 14px;
  background: var(--orange-soft);
  color: var(--orange-dark);
}

.qx .kit .icon svg {
  inline-size: 24px;
  block-size: 24px;
}

.qx .kit strong {
  display: block;
  color: var(--ink);
}

.qx .kit small {
  color: var(--muted);
  font-size: 14px;
}

.qx .status-dot {
  display: inline-block;
  inline-size: 9px;
  block-size: 9px;
  margin-inline-end: 6px;
  border-radius: 50%;
  background: var(--green);
}

.qx .grid-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.qx .mini {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.qx .mini:hover {
  transform: translateY(-4px);
  border-color: transparent;
  box-shadow: var(--shadow-sm);
}

.qx .mini .icon {
  display: grid;
  place-items: center;
  inline-size: 44px;
  block-size: 44px;
  margin-block-end: 14px;
  border-radius: 12px;
  background: var(--orange-soft);
  color: var(--orange-dark);
}

.qx .mini .icon svg {
  inline-size: 22px;
  block-size: 22px;
}

.qx .mini h3 {
  margin-block-end: 6px;
  font-size: 18px;
}

.qx .mini p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.qx .steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  counter-reset: step;
  margin: 0;
  padding: 0;
  list-style: none;
}

.qx .steps li {
  position: relative;
  padding: 28px 24px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
}

.qx .steps li::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  inline-size: 44px;
  block-size: 44px;
  margin-block-end: 16px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  font-weight: 600;
  font-size: 18px;
}

.qx .steps h3 {
  margin-block-end: 8px;
  font-size: 20px;
}

.qx .steps p {
  color: var(--muted);
  font-size: 16px;
}

.qx .steps .time {
  display: inline-block;
  margin-block-start: 12px;
  color: var(--orange-dark);
  font-size: 14px;
  font-weight: 600;
}

.qx .billing-toggle {
  display: inline-flex;
  margin: 0 auto 40px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
}

.qx .billing-toggle button {
  padding: 10px 22px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}

.qx .billing-toggle button[aria-pressed="true"] {
  background: var(--orange);
  color: #fff;
}

.qx .billing-toggle .save {
  margin-inline-start: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #e3f6ee;
  color: var(--green);
  font-size: 12px;
}

.qx .toggle-wrap {
  text-align: center;
}

.qx .plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}

.qx .plan {
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
}

.qx .plan.featured {
  position: relative;
  border: 2px solid var(--orange);
  box-shadow: var(--shadow);
}

.qx .plan .badge {
  position: absolute;
  inset-block-start: -14px;
  inset-inline-start: 50%;
  padding: 4px 14px;
  border-radius: 999px;
  background: var(--orange);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  transform: translateX(-50%);
  white-space: nowrap;
}

html[dir="rtl"] .qx .plan .badge {
  transform: translateX(50%);
}

.qx .plan h3 {
  font-size: 22px;
}

.qx .plan .for {
  margin-block-start: 6px;
  color: var(--muted);
  font-size: 15px;
}

.qx .plan .price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-block: 22px 6px;
  color: var(--ink);
}

.qx .plan .price .amount {
  font-size: 46px;
  font-weight: 600;
  line-height: 1;
}

.qx .plan .price .per {
  color: var(--muted);
  font-size: 16px;
}

.qx .plan .note {
  min-block-size: 24px;
  color: var(--muted);
  font-size: 14px;
}

.qx .plan .ticks {
  flex: 1;
  margin-block: 22px 28px;
  font-size: 16px;
}

.qx .plan .btn {
  inline-size: 100%;
}

.qx .pricing-foot {
  margin-block-start: 26px;
  color: var(--muted);
  font-size: 15px;
  text-align: center;
}

.qx .faq {
  display: grid;
  gap: 12px;
  max-inline-size: 860px;
  margin: 0 auto;
}

.qx .faq details {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}

.qx .faq summary {
  position: relative;
  padding: 20px 56px 20px 22px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

html[dir="rtl"] .qx .faq summary {
  padding: 20px 22px 20px 56px;
}

.qx .faq summary::-webkit-details-marker {
  display: none;
}

.qx .faq summary::after {
  content: "+";
  position: absolute;
  inset-block-start: 50%;
  inset-inline-end: 22px;
  color: var(--orange);
  font-size: 26px;
  font-weight: 400;
  line-height: 1;
  transform: translateY(-50%);
  transition: transform 0.2s ease;
}

.qx .faq details[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.qx .faq details p {
  padding: 0 22px 22px;
  color: var(--muted);
}

.qx .cta {
  padding: 90px 0;
}

.qx .cta-box {
  position: relative;
  overflow: hidden;
  padding: 64px 48px;
  border-radius: 32px;
  background: linear-gradient(135deg, var(--orange), #ff9152);
  color: #fff;
  text-align: center;
}

.qx .cta-box::after {
  content: "";
  position: absolute;
  inset-block-end: -140px;
  inset-inline-end: -140px;
  inline-size: 380px;
  block-size: 380px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}

.qx .cta-box h2 {
  color: #fff;
  font-size: clamp(30px, 4vw, 46px);
}

.qx .cta-box p {
  max-inline-size: 620px;
  margin: 16px auto 0;
  font-size: 19px;
  opacity: 0.95;
}

.qx .cta-box .hero-actions {
  justify-content: center;
}

.qx .contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.qx .contact-card {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.qx .contact-card:hover {
  border-color: var(--orange);
}

.qx .contact-card strong {
  display: block;
  color: var(--ink);
}

.qx .contact-card small {
  color: var(--muted);
  font-size: 15px;
}

.qx .site-footer {
  padding: 48px 0 36px;
  border-block-start: 1px solid var(--line);
  background: #fff;
  font-size: 15px;
}

.qx .footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 30px;
}

.qx .footer-grid h4 {
  margin-block-end: 12px;
  font-size: 16px;
}

.qx .footer-grid ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
}

.qx .footer-grid a:hover {
  color: var(--orange-dark);
}

.qx .footer-grid .about {
  max-inline-size: 320px;
  margin-block-start: 12px;
  color: var(--muted);
}

.qx .footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-block-start: 36px;
  padding-block-start: 20px;
  border-block-start: 1px solid var(--line);
  color: var(--muted);
}

.qx .wa-float {
  position: fixed;
  inset-block-end: 22px;
  inset-inline-end: 22px;
  z-index: 40;
  display: grid;
  place-items: center;
  inline-size: 58px;
  block-size: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.4);
  transition: transform 0.2s ease;
}

.qx .wa-float:hover {
  transform: scale(1.06);
}

.qx .wa-float svg {
  inline-size: 30px;
  block-size: 30px;
}

.js .qx .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.js .qx .reveal.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
.js .qx .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

.qx .float-card {
    animation: none;
  }
}

@media (max-width: 1080px) {
.qx .grid-features {
    grid-template-columns: repeat(2, 1fr);
  }

.qx .steps {
    grid-template-columns: repeat(2, 1fr);
  }

.qx .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 960px) {
.qx .nav-links,
.qx .nav-actions .btn {
    display: none;
  }

.qx .menu-toggle {
    display: block;
  }

.qx .nav-actions {
    margin-inline-start: auto;
  }

.qx .hero-grid,
.qx .feature {
    grid-template-columns: 1fr;
    gap: 40px;
  }

.qx .feature.reverse .feature-copy {
    order: 0;
  }

.qx .hero {
    padding-block-start: 36px;
  }

.qx .hero-visual {
    min-block-size: 520px;
  }

.qx .pain-grid,
.qx .plans,
.qx .contact-grid {
    grid-template-columns: 1fr;
  }

.qx .plan.featured {
    order: -1;
  }
}

.qx .nav-links .mobile-cta {
  display: none;
}

@media (max-width: 600px) {
.qx .section {
    padding: 72px 0;
  }

.qx .hero .lead {
    font-size: 18px;
  }

.qx .hero-actions .btn {
    flex: 1 1 100%;
  }

.qx .grid-features,
.qx .steps,
.qx .footer-grid {
    grid-template-columns: 1fr;
  }

.qx .float-card.one {
    inset-inline-start: -6px;
  }

.qx .float-card.two {
    inset-inline-end: -6px;
  }

.qx .float-card {
    font-size: 14px;
    padding: 10px 12px;
  }

.qx .cta-box {
    padding: 48px 22px;
  }

.qx .kds {
    grid-template-columns: 1fr 1fr;
  }

.qx .kds-col:nth-child(3) {
    display: none;
  }

.qx .bar {
    grid-template-columns: 90px 1fr 36px;
  }

.qx .brand img {
    inline-size: 112px;
  }
}


.qx {
  /* above the template's fixed animation pieces (wheel, QR lid z-index 4, cup 3, phone 5),
     below its fixed header (z-index 9) */
  position: relative;
  z-index: 6;
  --bg: #ebe4e0;
  --peach: #f9e0d4;
  --text: #504246;
  --muted: #7d6c70;
  --line: #e3d6cf;
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

html[lang="ar"] .qx {
  --font: "Cairo", "Segoe UI", Tahoma, sans-serif;
  font-size: 17px;
  line-height: 1.85;
}

/* the original makes every main > section full height */
main .qx section,
main section.qx {
  min-block-size: 0 !important;
  block-size: auto !important;
}

.qx .btn {
  line-height: 1.2;
}

.qx .plan .price .amount {
  color: var(--ink);
}

/* FAQ sits in the original section.help (the animation script looks for it) */
main section.help.qx {
  padding-block: 90px;
  padding-bottom: 90px;
  min-height: 0;
}

/* the floating WhatsApp wrapper must not cover the page */
body > .qx {
  position: static;
  background: none;
}

main section.apply.qx {
  padding: 40px 0 0;
}

.qx .section.alt {
  background: #f6f4f3;
}

/* complete counter set illustration (hardware section + pricing card) */
.qx .kit-figure {
  margin: 0;
  padding: 18px 18px 22px;
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.qx .kit-figure img {
  inline-size: 100%;
  block-size: auto;
}

.qx .kit-figure figcaption {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  gap: 8px;
  margin-block-start: -6px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
}

/* the drawing has the printer on the left and the scanner on the right in both languages */
html[dir="rtl"] .qx .kit-figure figcaption {
  direction: ltr;
}

html[dir="rtl"] .qx .kit-figure figcaption span {
  direction: rtl;
}

.qx .kit-price {
  margin-block-start: 14px;
  color: var(--orange-dark);
  font-weight: 600;
}

.qx .plan-kit {
  inline-size: calc(100% + 16px);
  max-inline-size: none;
  block-size: auto;
  margin: 14px -8px 0;
}

@media (max-width: 600px) {
  .qx .kit-figure figcaption {
    font-size: 12px;
  }
}

/* keep plan feature lists packed at the top when the cards stretch to the tallest one */
.qx .plan .ticks {
  align-content: start;
}

/* footer: legal pages, cookie settings, support email (above the template's fixed wheel) */
footer .legal-links {
  position: relative;
  z-index: 6;
  max-width: 1200px;
  width: calc(100% - 40px);
  margin: 0 auto 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  font-size: 15px;
}
footer .legal-links a {
  color: #504246;
  text-decoration: none;
}
footer .legal-links a:hover {
  color: #ff7224;
  text-decoration: underline;
}
footer .legal {
  position: relative;
  z-index: 6;
}
