/* ============================================================
   SECTIONS — light theme · varied section colors
   ============================================================ */

/* ── Trust marquee ── */
.trust {
  padding: 64px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  position: relative;
  background: var(--paper-2);
}
.trust::before, .trust::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 2;
  pointer-events: none;
}
.trust::before { left: 0; background: linear-gradient(90deg, var(--paper-2), transparent); }
.trust::after  { right: 0; background: linear-gradient(-90deg, var(--paper-2), transparent); }
.trust-label {
  font-size: 11px; letter-spacing: 0.20em; text-transform: uppercase;
  color: var(--navy-55); margin-bottom: 28px; text-align: center;
}
html[lang="ar"] .trust-label { letter-spacing: 0; font-size: 12px; }
.trust-track {
  display: flex; gap: 64px;
  width: max-content;
  animation: marquee 38s linear infinite;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.trust-name {
  font-weight: 500;
  font-size: 22px;
  color: var(--navy-40);
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.trust-name.serif {
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-weight: 400;
  font-size: 26px;
}
html[lang="ar"] .trust-name.serif { font-family: var(--ar); font-style: normal; font-weight: 700; }

/* ── Numbers ── */
.numbers {
  padding: 140px 0 100px;
  background: var(--paper-2);
}
.num-head {
  max-width: 760px;
  margin-bottom: 80px;
}
.num-head h2 {
  font-weight: 500;
  font-size: clamp(36px, 4.5vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin: 16px 0 0;
  text-wrap: balance;
  color: var(--navy);
}
html[lang="ar"] .num-head h2 { letter-spacing: 0; }
.num-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
.num-cell {
  padding: 44px 24px 36px 0;
  border-right: 1px solid var(--line);
}
.num-cell:last-child { border-right: 0; }
html[lang="ar"] .num-cell { border-right: 0; border-left: 1px solid var(--line); padding: 44px 0 36px 24px; }
html[lang="ar"] .num-cell:last-child { border-left: 0; }
.num-cell .v {
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(56px, 6vw, 88px);
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--navy);
}
html[lang="ar"] .num-cell .v { font-family: var(--ar); font-style: normal; font-weight: 900; }
.num-cell .v sup {
  font-size: 0.5em; font-family: var(--sans); font-style: normal;
  color: var(--mint-deep); font-weight: 600; vertical-align: top;
}
.num-cell .k { font-size: 14px; color: var(--navy-55); margin-top: 14px; line-height: 1.5; max-width: 220px; }
@media (max-width: 780px) {
  .num-grid { grid-template-columns: repeat(2, 1fr); }
  .num-cell:nth-child(2) { border-right: 0; }
}
@media (max-width: 480px) {
  .num-grid { grid-template-columns: 1fr; }
  .num-cell { border-right: 0; border-left: 0; border-bottom: 1px solid var(--line); padding: 32px 0; }
  .num-cell:last-child { border-bottom: 0; }
}

/* ── Manifesto ── */
.manifesto {
  padding: 120px 0 140px;
  position: relative;
  overflow: hidden;
}
.manifesto::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(700px 500px at 0% 50%,  rgba(126,235,193,0.18), transparent 60%),
    radial-gradient(700px 500px at 100% 50%, rgba(217,198,255,0.25), transparent 60%),
    radial-gradient(700px 500px at 50% 100%, rgba(168,214,255,0.22), transparent 60%);
}
.manifesto-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 80px;
  align-items: start;
}
@media (max-width: 880px) { .manifesto-grid { grid-template-columns: 1fr; gap: 48px; } }
.manifesto h2 {
  font-weight: 500;
  font-size: clamp(36px, 4vw, 60px);
  line-height: 1.06;
  letter-spacing: -0.025em;
  margin: 16px 0 0;
  color: var(--navy);
}
html[lang="ar"] .manifesto h2 { letter-spacing: 0; }
.manifesto h2 .hi { color: var(--mint-deep); }
.manifesto-side p { font-size: 16px; line-height: 1.65; color: var(--navy-70); margin: 0; }
.manifesto-side .sig {
  margin-top: 32px; padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 13px; color: var(--navy-55);
  display: flex; align-items: center; gap: 12px;
}
.manifesto-side .sig em { font-family: "Instrument Serif", serif; font-style: italic; font-size: 20px; color: var(--navy); }
html[lang="ar"] .manifesto-side .sig em { font-family: var(--ar); font-style: normal; }

/* ── Join Future badge ── */
.jf-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px 6px 8px;
  border: 1px solid var(--navy-08);
  border-radius: 999px;
  font-size: 12px; color: var(--navy-55);
  text-decoration: none;
  transition: background 160ms, color 160ms;
  background: transparent;
}
.jf-badge:hover { background: var(--navy-04); color: var(--navy); }
.jf-badge .jf-logo {
  width: 18px; height: 18px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--navy); flex-shrink: 0;
}
.jf-badge .jf-logo svg { width: 18px; height: 18px; }
.jf-badge strong { color: var(--navy); font-weight: 600; }

/* footer variant — light badge on dark bg */
.footer .jf-badge {
  border-color: rgba(247,248,250,0.14);
  color: rgba(247,248,250,0.45);
}
.footer .jf-badge:hover { background: rgba(247,248,250,0.06); color: var(--paper); }
.footer .jf-badge .jf-logo { color: var(--paper); }
.footer .jf-badge strong { color: var(--paper); }

@media (max-width: 640px) {
  .jf-badge { align-self: flex-start; }
  html[lang="ar"] .jf-badge { align-self: flex-end; }
}

/* ── Audience / Features ── */
.audience {
  padding: 120px 0;
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.audience-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: 72px;
  flex-wrap: wrap;
}
.audience-head h2 {
  font-weight: 500;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 16px 0 0;
  color: var(--navy);
}
html[lang="ar"] .audience-head h2 { letter-spacing: 0; }
.audience-tabs {
  display: flex; padding: 4px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 1px 0 rgba(255,255,255,0.8) inset, 0 4px 16px -8px rgba(10,23,51,0.08);
}
.audience-tab {
  padding: 10px 22px; border-radius: 999px;
  font-size: 14px; font-weight: 600;
  color: var(--navy-55);
  background: transparent; border: 0; cursor: pointer;
  font-family: inherit;
  transition: color 0.16s, background 0.16s;
}
.audience-tab.active { background: var(--navy); color: var(--paper); }

.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feat-panel[hidden] { display: none !important; }
@media (max-width: 960px) { .feat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .feat-grid { grid-template-columns: 1fr; } }
.feat {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 32px 28px 28px;
  position: relative; overflow: hidden;
  transition: transform 0.24s cubic-bezier(0.16,1,0.3,1), box-shadow 0.24s;
}
.feat:hover { transform: translateY(-4px); box-shadow: 0 24px 60px -30px rgba(10,23,51,0.22); }
.feat .num { font-family: "Instrument Serif", serif; font-style: italic; font-size: 28px; color: var(--navy-25); }
html[lang="ar"] .feat .num { font-family: var(--ar); font-style: normal; font-weight: 900; }
.feat h3 { font-weight: 500; font-size: 28px; line-height: 1.1; letter-spacing: -0.02em; margin: 12px 0 14px; color: var(--navy); }
html[lang="ar"] .feat h3 { letter-spacing: 0; }
.feat p { font-size: 14.5px; line-height: 1.6; color: var(--navy-70); margin: 0 0 28px; }
.feat-art {
  margin: 32px -28px -28px; height: 200px;
  background: var(--paper-warm); border-top: 1px solid var(--line);
  position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.feat-art.mint     { background: linear-gradient(180deg, #F0FBF6, #E1F5EB); }
.feat-art.lavender { background: linear-gradient(180deg, #F5F0FF, #EDE3FF); }
.feat-art.sky      { background: linear-gradient(180deg, #EFF6FF, #E0EEFF); }

/* mini-cal */
.mini-cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; padding: 20px; width: 100%; height: 100%; align-content: center; }
.mini-cal span { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; font-size: 11px; color: var(--navy-55); background: rgba(255,255,255,0.7); border-radius: 6px; }
.mini-cal .h  { background: transparent; color: var(--navy-40); font-weight: 500; }
.mini-cal .on { background: var(--navy); color: var(--paper); font-weight: 600; }
.mini-cal .soft { background: var(--mint-wash); color: var(--mint-deep); font-weight: 600; }

/* mini-pos */
.mini-pos { width: 88%; max-width: 280px; background: var(--paper-2); border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; font-size: 13px; box-shadow: 0 8px 24px -12px rgba(10,23,51,0.14); }
.mini-pos .row { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px dashed var(--line); color: var(--navy-70); }
.mini-pos .row:last-child { border-bottom: 0; padding-top: 12px; margin-top: 4px; border-top: 1px solid var(--navy); color: var(--navy); font-weight: 700; }

/* mini client list */
.mini-list { width: 88%; max-width: 280px; display: flex; flex-direction: column; gap: 8px; }
.mini-list .li { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px; background: var(--paper-2); border: 1px solid var(--line); border-radius: 12px; font-size: 13px; color: var(--navy); box-shadow: 0 4px 14px -10px rgba(10,23,51,0.10); }
.mini-list .li-l { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.mini-list .av { width: 22px; height: 22px; border-radius: 50%; background: var(--mint-wash); color: var(--mint-deep); font-size: 11px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.mini-list .pill { font-size: 10.5px; padding: 3px 8px; border-radius: 999px; background: var(--mint-wash); color: var(--mint-deep); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }

/* mini-hr — attendance rows */
.mini-hr { width: 88%; max-width: 280px; display: flex; flex-direction: column; gap: 7px; }
.mini-hr .hr-row { display: flex; align-items: center; justify-content: space-between; padding: 9px 14px; background: var(--paper-2); border: 1px solid var(--line); border-radius: 12px; font-size: 12.5px; color: var(--navy-70); box-shadow: 0 4px 14px -10px rgba(10,23,51,0.10); }
.mini-hr .hr-name { display: flex; align-items: center; gap: 8px; font-weight: 500; color: var(--navy); }
.mini-hr .hr-av { width: 22px; height: 22px; border-radius: 50%; font-size: 10px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.mini-hr .hr-av.a { background: #DBEAFE; color: #1D4ED8; }
.mini-hr .hr-av.b { background: var(--mint-wash); color: var(--mint-deep); }
.mini-hr .hr-av.c { background: #FEF3C7; color: #92400E; }
.mini-hr .badge-in  { font-size: 10px; padding: 2px 8px; border-radius: 999px; background: #D1FAE5; color: #065F46; font-weight: 600; }
.mini-hr .badge-out { font-size: 10px; padding: 2px 8px; border-radius: 999px; background: #FEE2E2; color: #991B1B; font-weight: 600; }
.mini-hr .badge-late{ font-size: 10px; padding: 2px 8px; border-radius: 999px; background: #FEF3C7; color: #92400E; font-weight: 600; }

/* mini-finance — bar chart + stat */
.mini-finance { width: 88%; max-width: 280px; display: flex; flex-direction: column; gap: 10px; }
.mini-finance .fin-stat { padding: 10px 14px; background: var(--paper-2); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 4px 14px -10px rgba(10,23,51,0.10); }
.mini-finance .fin-stat-label { font-size: 11px; color: var(--navy-55); font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; }
.mini-finance .fin-stat-val { font-size: 22px; font-weight: 700; color: var(--navy); letter-spacing: -0.04em; line-height: 1.2; margin: 2px 0; }
.mini-finance .fin-stat-sub { font-size: 11px; color: #065F46; font-weight: 600; }
.mini-finance .fin-bars { display: flex; align-items: flex-end; gap: 5px; height: 64px; padding: 0 2px; }
.mini-finance .fin-bar { flex: 1; border-radius: 5px 5px 0 0; background: rgba(10,23,51,0.12); }
.mini-finance .fin-bar.hi { background: var(--navy); }
.mini-finance .fin-bar.mid { background: rgba(10,23,51,0.30); }

/* mini-inventory — product rows with stock bar */
.mini-inv { width: 88%; max-width: 280px; display: flex; flex-direction: column; gap: 7px; }
.mini-inv .inv-row { padding: 9px 14px; background: var(--paper-2); border: 1px solid var(--line); border-radius: 12px; font-size: 12.5px; box-shadow: 0 4px 14px -10px rgba(10,23,51,0.10); }
.mini-inv .inv-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; color: var(--navy); font-weight: 500; }
.mini-inv .inv-qty { font-size: 11px; color: var(--navy-55); }
.mini-inv .inv-bar-track { height: 4px; background: var(--line); border-radius: 99px; overflow: hidden; }
.mini-inv .inv-bar-fill { height: 100%; border-radius: 99px; }
.mini-inv .inv-bar-fill.ok  { background: var(--mint); width: 78%; }
.mini-inv .inv-bar-fill.low { background: #F59E0B; width: 22%; }
.mini-inv .inv-bar-fill.full{ background: #3B82F6; width: 95%; }

/* mini-reminder — WhatsApp-style message bubble */
.mini-reminder { width: 88%; max-width: 280px; display: flex; flex-direction: column; gap: 8px; }
.mini-reminder .wa-bubble { padding: 10px 14px; border-radius: 16px 16px 16px 4px; background: var(--paper-2); border: 1px solid var(--line); font-size: 13px; color: var(--navy); line-height: 1.5; box-shadow: 0 4px 14px -10px rgba(10,23,51,0.10); }
.mini-reminder .wa-time { font-size: 10.5px; color: var(--navy-40); margin-top: 4px; display: block; text-align: end; }
.mini-reminder .wa-tag { display: inline-flex; align-items: center; gap: 5px; margin-top: 2px; font-size: 10.5px; font-weight: 600; color: #25D366; }
.mini-reminder .wa-tag svg { width: 12px; height: 12px; }

/* mini-loyalty — points progress card */
.mini-loyalty { width: 88%; max-width: 280px; display: flex; flex-direction: column; gap: 8px; }
.mini-loyalty .loy-card { padding: 12px 16px; background: var(--navy); border-radius: 16px; color: var(--paper); }
.mini-loyalty .loy-card-label { font-size: 10.5px; opacity: 0.55; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; }
.mini-loyalty .loy-pts { font-size: 28px; font-weight: 800; letter-spacing: -0.04em; line-height: 1.1; margin: 4px 0 10px; }
.mini-loyalty .loy-track { height: 6px; background: rgba(255,255,255,0.18); border-radius: 99px; overflow: hidden; }
.mini-loyalty .loy-fill { height: 100%; width: 62%; background: var(--mint); border-radius: 99px; }
.mini-loyalty .loy-sub { font-size: 10.5px; opacity: 0.60; margin-top: 5px; }
.mini-loyalty .loy-reward { display: flex; align-items: center; justify-content: space-between; padding: 9px 14px; background: var(--paper-2); border: 1px solid var(--line); border-radius: 12px; font-size: 12.5px; color: var(--navy-70); box-shadow: 0 4px 14px -10px rgba(10,23,51,0.10); }
.mini-loyalty .loy-reward b { color: var(--navy); font-weight: 600; }
.mini-loyalty .loy-pill { font-size: 10.5px; padding: 3px 9px; border-radius: 999px; background: var(--mint-wash); color: var(--mint-deep); font-weight: 600; }

/* ── HiAgent section ── */
.ai {
  padding: 120px 0;
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
}
.ai-head { text-align: center; max-width: 820px; margin: 0 auto 80px; }
.ai-head h2 { font-weight: 500; font-size: clamp(40px, 5vw, 68px); line-height: 1.04; letter-spacing: -0.03em; margin: 16px 0 24px; text-wrap: balance; color: var(--navy); }
html[lang="ar"] .ai-head h2 { letter-spacing: 0; }
.ai-head p { font-size: 17px; line-height: 1.6; color: var(--navy-70); margin: 0; }
.ai-flow { display: grid; grid-template-columns: 1fr 60px 1fr 60px 1fr; gap: 0; align-items: stretch; max-width: 1100px; margin: 0 auto; }
@media (max-width: 880px) { .ai-flow { grid-template-columns: 1fr; gap: 16px; } }
.ai-step {
  padding: 32px 28px; border: 1px solid var(--line); border-radius: 24px;
  background: var(--paper-warm); display: flex; flex-direction: column; gap: 14px;
  transition: transform 0.24s cubic-bezier(0.16,1,0.3,1), box-shadow 0.24s;
}
.ai-step:hover { transform: translateY(-3px); box-shadow: 0 20px 50px -24px rgba(10,23,51,0.18); }
.ai-step-mid { background: var(--mint-wash); border-color: rgba(79,211,163,0.35); }
.ai-num { font-family: "Instrument Serif", serif; font-style: italic; font-size: 22px; color: var(--navy-25); }
html[lang="ar"] .ai-num { font-family: var(--ar); font-style: normal; font-weight: 900; }
.ai-step-mid .ai-num { color: var(--mint-deep); }
.ai-step h4 { font-weight: 500; font-size: 22px; line-height: 1.15; letter-spacing: -0.015em; margin: 0; color: var(--navy); }
html[lang="ar"] .ai-step h4 { letter-spacing: 0; }
.ai-step p { font-size: 14px; line-height: 1.55; color: var(--navy-70); margin: 0; }
.ai-step-ico { width: 38px; height: 38px; border-radius: 12px; background: var(--paper-2); border: 1px solid var(--line); display: inline-flex; align-items: center; justify-content: center; color: var(--navy); }
.ai-step-mid .ai-step-ico { color: var(--mint-deep); border-color: rgba(79,211,163,0.4); }
.ai-arrow { display: flex; align-items: center; justify-content: center; color: var(--navy-25); }
html[lang="ar"] .ai-arrow svg { transform: scaleX(-1); }

/* ── AI capabilities panel ── */
.ai-panel {
  max-width: 780px;
  margin: 64px auto 0;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 36px 40px;
}
.ai-panel-title {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy-40);
  margin-bottom: 24px;
}
html[lang="ar"] .ai-panel-title { letter-spacing: 0; font-size: 13.5px; }
.ai-panel-list { display: flex; flex-direction: column; gap: 0; }
.ai-pl-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.ai-pl-row:last-child { border-bottom: 0; }
.ai-pl-check {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--mint);
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 12 12' fill='none' stroke='%230A1733' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 6l3 3 5-5'/%3E%3C/svg%3E");
  background-size: 11px;
  background-repeat: no-repeat;
  background-position: center;
}
.ai-pl-text {
  font-size: 15.5px;
  color: var(--navy-70);
  line-height: 1.4;
  font-weight: 500;
}
@media (max-width: 640px) { .ai-panel { padding: 28px 24px; } }

/* ── Comparison ── */
.compare {
  padding: 140px 0;
  background: var(--paper-warm);
  border-bottom: 1px solid var(--line);
  position: relative;
}
.compare-head { text-align: center; max-width: 820px; margin: 0 auto 72px; }
.compare-head h2 { font-weight: 500; font-size: clamp(40px, 5vw, 68px); line-height: 1.04; letter-spacing: -0.03em; margin: 16px 0 0; text-wrap: balance; color: var(--navy); }
html[lang="ar"] .compare-head h2 { letter-spacing: 0; }

.compare-table { max-width: 1000px; margin: 0 auto; background: var(--paper-2); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; }
.compare-head-row { display: grid; grid-template-columns: 1.4fr 1fr 1fr; padding: 24px 28px 20px; border-bottom: 1px solid var(--line); background: var(--paper-warm); align-items: end; }
.compare-head-row .col { display: flex; flex-direction: column; gap: 4px; }
.compare-head-row .col-tag { font-size: 11px; letter-spacing: 0.20em; text-transform: uppercase; color: var(--navy-55); }
html[lang="ar"] .compare-head-row .col-tag { letter-spacing: 0; font-size: 12px; }
.compare-head-row .col-name { font-family: "Instrument Serif", serif; font-style: italic; font-size: 28px; color: var(--navy); }
html[lang="ar"] .compare-head-row .col-name { font-family: var(--ar); font-style: normal; font-weight: 500; }
.compare-head-row .col-name-us { display: inline-flex; align-items: center; gap: 8px; font-style: normal; font-weight: 600; font-size: 22px; letter-spacing: -0.01em; color: var(--navy); }
.compare-head-row .col-name-us .m { width: 22px; height: 22px; border-radius: 50%; background: var(--mint); display: inline-flex; align-items: center; justify-content: center; color: var(--navy); font-weight: 700; font-size: 13px; }

.compare-row { display: grid; grid-template-columns: 1.4fr 1fr 1fr; align-items: center; padding: 18px 28px; border-bottom: 1px solid var(--line); transition: background 0.16s; }
.compare-row:last-child { border-bottom: 0; }
.compare-row:hover { background: var(--paper-warm); }
.compare-row .feat-name { font-size: 15px; color: var(--navy); font-weight: 500; }
.compare-row .feat-sub { font-size: 12.5px; color: var(--navy-55); margin-top: 2px; }
.compare-cell { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--navy-55); }
.compare-cell .yes,
.compare-cell .no,
.compare-cell .partial { width: 22px; height: 22px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 11px; flex-shrink: 0; }
.compare-cell .yes     { background: var(--mint); color: var(--navy); }
.compare-cell .no      { background: var(--paper-warm); color: var(--navy-25); border: 1px solid var(--line); }
.compare-cell .partial { background: var(--mint-wash); color: var(--mint-deep); border: 1px dashed rgba(79,211,163,0.5); }
.compare-row.us-feature .compare-cell.us-cell { color: var(--navy); font-weight: 500; }
.compare-section { grid-column: 1 / -1; padding: 24px 28px 8px; font-family: "Instrument Serif", serif; font-style: italic; font-size: 16px; color: var(--navy-55); letter-spacing: 0.04em; background: var(--paper-warm); border-bottom: 1px solid var(--line); }
html[lang="ar"] .compare-section { font-family: var(--ar); font-style: normal; font-weight: 500; letter-spacing: 0; }

/* qualifier pills */
.c3q { font-size: 10.5px; padding: 2px 8px; border-radius: 999px; font-weight: 600; letter-spacing: 0.03em; text-transform: uppercase; border: 1px solid transparent; }
.c3q.basic   { background: var(--paper-warm); color: var(--navy-55); border-color: var(--line); }
.c3q.addon   { background: #EEF4FF; color: #4460C6; border-color: rgba(68,96,198,0.25); }
.c3q.partial { background: var(--mint-wash); color: var(--mint-deep); border-color: rgba(79,211,163,0.4); }
.c3q.excl    { background: linear-gradient(135deg, #FFF5E6, #FFF0F8); color: #C06B1A; border-color: rgba(192,107,26,0.28); }

.compare-punch { text-align: center; margin-top: 56px; padding-top: 56px; border-top: 1px solid var(--line); }
.compare-punch p { font-family: "Instrument Serif", serif; font-style: italic; font-size: clamp(24px, 3vw, 40px); color: var(--navy); line-height: 1.3; max-width: 700px; margin: 0 auto 32px; }
html[lang="ar"] .compare-punch p { font-family: var(--ar); font-style: normal; font-weight: 700; }

/* ── Platform cards ── */
.platform { padding: 120px 0 140px; background: var(--paper-2); border-bottom: 1px solid var(--line); }
.platform-head { max-width: 760px; margin: 0 auto 72px; text-align: center; }
.platform-head h2 { font-weight: 500; font-size: clamp(40px, 5vw, 68px); line-height: 1.04; letter-spacing: -0.03em; margin: 16px 0 0; text-wrap: balance; color: var(--navy); }
html[lang="ar"] .platform-head h2 { letter-spacing: 0; }
.platform-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 780px) { .platform-grid { grid-template-columns: 1fr; } }
.platform-card { background: var(--paper-2); border: 1px solid var(--line); border-radius: 28px; padding: 36px; transition: transform 0.24s cubic-bezier(0.16,1,0.3,1), box-shadow 0.24s; }
.platform-card:hover { transform: translateY(-3px); box-shadow: 0 24px 60px -30px rgba(10,23,51,0.18); }
.platform-card .icon { width: 44px; height: 44px; border-radius: 14px; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; margin-bottom: 24px; background: var(--paper-warm); font-size: 22px; }
.platform-card h3 { font-weight: 500; font-size: 26px; letter-spacing: -0.02em; margin: 0 0 12px; color: var(--navy); }
html[lang="ar"] .platform-card h3 { letter-spacing: 0; }
.platform-card p { font-size: 15px; line-height: 1.6; color: var(--navy-70); margin: 0 0 28px; }
.platform-card .tag { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--mint-deep); background: var(--mint-wash); border: 1px solid rgba(79,211,163,0.35); padding: 4px 12px; border-radius: 999px; }
.platform-card .tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--mint-deep); }

/* dashboard mock */
.dash { margin: 28px -36px -36px; border-top: 1px solid var(--line); background: var(--paper-warm); border-radius: 0 0 28px 28px; padding: 20px; overflow: hidden; }
.dash-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 16px; }
.dash-stat { padding: 12px 14px; background: var(--paper-2); border: 1px solid var(--line); border-radius: 14px; }
.dash-stat .ds-k { font-size: 10px; color: var(--navy-40); text-transform: uppercase; letter-spacing: 0.10em; }
.dash-stat .ds-v { font-size: 20px; font-weight: 700; color: var(--navy); letter-spacing: -0.02em; margin-top: 4px; }
.dash-stat .ds-v em { font-style: normal; font-size: 0.7em; color: var(--mint-deep); font-weight: 600; }
.dash-chart-bars { display: flex; align-items: flex-end; gap: 6px; height: 80px; padding: 0 4px; }
.dash-chart-bars span { flex: 1; border-radius: 6px 6px 0 0; background: var(--mint-wash); }
.dash-chart-bars span.hi { background: var(--mint); }

/* ── platform card — mini chat demo (HiAgent) ── */
.pc-chat { display: flex; flex-direction: column; gap: 8px; }
.pc-msg { display: flex; flex-direction: column; gap: 3px; }
.pc-msg.out { align-items: flex-end; }
.pc-bubble { padding: 8px 12px; border-radius: 14px; font-size: 12px; line-height: 1.45; max-width: 82%; }
.pc-msg.out .pc-bubble { background: var(--navy); color: var(--paper); border-bottom-right-radius: 4px; }
.pc-msg.in  .pc-bubble { background: var(--paper-2); border: 1px solid var(--line); color: var(--navy-70); border-bottom-left-radius: 4px; }
.pc-meta { font-size: 10px; color: var(--navy-40); display: flex; align-items: center; gap: 5px; }
.pc-meta .pc-tick { color: var(--mint-deep); }

/* ── platform card — mini POS demo (HiPay) ── */
.pc-pos { display: flex; flex-direction: column; gap: 0; }
.pc-pos-row { display: flex; justify-content: space-between; padding: 7px 0; font-size: 12.5px; color: var(--navy-55); border-bottom: 1px solid var(--line); }
.pc-pos-row:last-of-type { border: none; font-weight: 700; color: var(--navy); font-size: 14px; }
.pc-pos-paid { margin-top: 12px; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 8px 14px; background: var(--mint-wash); border: 1px solid rgba(79,211,163,0.35); border-radius: 10px; font-size: 12px; font-weight: 600; color: var(--mint-deep); }
.pc-pos-paid svg { width: 13px; height: 13px; }

/* ── platform card — mini loyalty demo ── */
.pc-loyalty { display: flex; flex-direction: column; gap: 0; }
.pc-loyalty-pts { font-size: 34px; font-weight: 700; color: var(--navy); letter-spacing: -0.03em; line-height: 1; margin-bottom: 4px; }
.pc-loyalty-pts em { font-size: 14px; font-style: normal; font-weight: 400; color: var(--navy-40); margin-left: 4px; }
.pc-loyalty-tier { font-size: 11px; color: var(--mint-deep); font-weight: 600; margin-bottom: 14px; }
.pc-loyalty-bar-wrap { height: 6px; background: var(--mint-wash); border-radius: 999px; overflow: hidden; margin-bottom: 6px; }
.pc-loyalty-bar { height: 100%; width: 82%; background: linear-gradient(90deg, var(--mint-deep), var(--mint)); border-radius: 999px; }
.pc-loyalty-hint { display: flex; justify-content: space-between; font-size: 10.5px; color: var(--navy-40); }

/* ── CTA section ── */
.cta-sect {
  padding: 140px 0;
  text-align: center;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
.cta-sect::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(800px 500px at 20% 50%, rgba(79,211,163,0.18), transparent 60%),
    radial-gradient(800px 500px at 80% 50%, rgba(168,214,255,0.12), transparent 60%);
}
.cta-sect > * { position: relative; z-index: 1; }
.cta-sect h2 { font-weight: 500; font-size: clamp(40px, 6vw, 88px); line-height: 1.02; letter-spacing: -0.035em; margin: 0 auto 28px; max-width: 900px; color: var(--paper); text-wrap: balance; }
html[lang="ar"] .cta-sect h2 { letter-spacing: 0; }
.cta-sect h2 em { color: var(--mint); font-style: normal; }
.cta-sect p { font-size: 18px; color: rgba(247,248,250,0.60); margin: 0 auto 48px; max-width: 560px; line-height: 1.55; }
.cta-row { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }
.cta-sect .btn-primary { background: var(--mint); color: var(--navy); box-shadow: 0 10px 28px -8px var(--mint-glow); }
.cta-sect .btn-primary:hover { background: #fff; }
.cta-sect .btn-ghost { color: rgba(247,248,250,0.65); border-color: rgba(247,248,250,0.18); }
.cta-sect .btn-ghost:hover { color: var(--paper); border-color: rgba(247,248,250,0.40); background: rgba(247,248,250,0.06); }

/* ── Signup form ── */
.signup-form {
  max-width: 600px;
  margin: 0 auto;
  text-align: left;
}
html[lang="ar"] .signup-form { text-align: right; }
.signup-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 16px;
}
@media (max-width: 560px) { .signup-fields { grid-template-columns: 1fr; } }
.signup-field { display: flex; flex-direction: column; gap: 6px; }
.signup-label {
  font-size: 12px; font-weight: 600; letter-spacing: 0.04em;
  color: rgba(247,248,250,0.50);
  text-transform: uppercase;
}
.signup-input {
  height: 48px;
  padding: 0 16px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 14px;
  font-size: 14px; font-family: inherit; color: var(--paper);
  outline: none;
  transition: border-color 160ms, background 160ms;
  box-shadow: 0 1px 0 rgba(255,255,255,0.06) inset;
}
.signup-input::placeholder { color: rgba(247,248,250,0.25); }
.signup-input:focus {
  border-color: rgba(79,211,163,0.55);
  background: rgba(255,255,255,0.12);
  box-shadow: 0 0 0 3px rgba(79,211,163,0.12), 0 1px 0 rgba(255,255,255,0.06) inset;
}
.signup-btn {
  width: 100%; height: 54px;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--mint);
  color: var(--navy);
  border: none; border-radius: 16px;
  font-size: 15px; font-weight: 700; font-family: inherit;
  cursor: pointer;
  box-shadow: 0 10px 30px -10px var(--mint-glow);
  transition: transform 180ms ease, box-shadow 200ms ease, background 160ms;
  margin-bottom: 14px;
}
.signup-btn:hover {
  background: #fff;
  transform: translateY(-1px);
  box-shadow: 0 16px 36px -10px rgba(79,211,163,0.55);
}
.signup-btn .arr { width: 16px; height: 16px; }
.signup-fine {
  font-size: 12px; color: rgba(247,248,250,0.30);
  text-align: center; margin: 0;
  line-height: 1.6;
}

/* ── Footer ── */
.footer { background: var(--navy); padding: 64px 0 40px; border-top: 1px solid rgba(255,255,255,0.06); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 64px; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand .mark { width: 36px; height: 36px; background: linear-gradient(135deg, var(--mint-soft), var(--sky)); border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; box-shadow: 0 4px 12px -6px rgba(79,211,163,0.5); }
.footer-brand .mark img { width: 20px; filter: brightness(0) saturate(100%) invert(8%) sepia(48%) saturate(2900%) hue-rotate(212deg) brightness(95%) contrast(98%); }
.footer-brand p { font-size: 14px; color: rgba(247,248,250,0.40); line-height: 1.6; max-width: 280px; margin: 0 0 20px; }
.footer-col h4 { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(247,248,250,0.28); margin: 0 0 16px; }
html[lang="ar"] .footer-col h4 { letter-spacing: 0; font-size: 12px; }
.footer-col a { display: block; font-size: 14px; color: rgba(247,248,250,0.50); padding: 5px 0; transition: color 0.16s; }
.footer-col a:hover { color: var(--paper); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 32px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-copy { font-size: 13px; color: rgba(247,248,250,0.28); }
.footer-bottom > div a { font-size: 13px; color: rgba(247,248,250,0.35); transition: color 160ms; }
.footer-bottom > div a:hover { color: rgba(247,248,250,0.70); }
.footer-wordmark { font-size: clamp(48px, 8vw, 120px); font-weight: 900; letter-spacing: -0.04em; color: rgba(247,248,250,0.05); line-height: 1; text-align: center; margin-top: 40px; user-select: none; }
