:root {
  --ink: #181818;
  --muted: #656565;
  --paper: #fbfaf7;
  --line: #dedbd2;
  --mint: #d8f2df;
  --mint-strong: #17845b;
  --coral: #f07a62;
  --gold: #f2c96f;
  --blue: #5878d7;
  --white: #ffffff;
  --shadow: 0 20px 60px rgba(24, 24, 24, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  background: rgba(251, 250, 247, 0.9);
  border-bottom: 1px solid rgba(222, 219, 210, 0.75);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 750;
  text-decoration: none;
}

.brand-mark,
.app-icon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  color: var(--white);
  background: var(--ink);
  font-weight: 800;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 22px;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav a,
.footer a,
.app-card a {
  text-decoration: none;
}

.nav a:hover,
.footer a:hover,
.app-card a:hover {
  color: var(--mint-strong);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.86fr);
  align-items: center;
  gap: clamp(32px, 6vw, 88px);
  min-height: calc(100vh - 72px);
  padding: clamp(42px, 7vw, 92px) clamp(20px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
}

.hero-copy {
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--mint-strong);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
  letter-spacing: 0;
}

h1 {
  max-width: 780px;
  font-size: clamp(3.2rem, 8vw, 7.4rem);
}

h2 {
  max-width: 680px;
  font-size: clamp(2rem, 4vw, 4rem);
}

h3 {
  font-size: 1.35rem;
}

.lead {
  max-width: 620px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  font-weight: 750;
  text-decoration: none;
}

.button.primary {
  background: var(--ink);
  color: var(--white);
}

.button.secondary {
  background: transparent;
}

.hero-visual {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: center;
  min-height: 520px;
}

.hero-shot {
  display: block;
  width: 100%;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 20px 60px rgba(24, 24, 24, 0.14);
}

.hero-shot.tall {
  aspect-ratio: 9 / 16;
  object-fit: cover;
}

.hero-shot.wide {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.phone {
  position: absolute;
  width: min(260px, 44vw);
  min-width: 190px;
  aspect-ratio: 9 / 17;
  padding: 22px;
  border: 10px solid #222;
  border-radius: 34px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.phone-money {
  top: 18px;
  left: 0;
  transform: rotate(-6deg);
}

.phone-invoice {
  right: 0;
  bottom: 8px;
  transform: rotate(7deg);
}

.phone-bar {
  width: 42%;
  height: 8px;
  margin: 0 auto 28px;
  border-radius: 999px;
  background: #222;
}

.screen-card {
  height: 112px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--mint), #f8f1d6);
}

.chart-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: end;
  gap: 10px;
  height: 92px;
  margin-top: 20px;
}

.chart-row span {
  border-radius: 8px 8px 3px 3px;
  background: var(--mint-strong);
}

.chart-row span:nth-child(1) {
  height: 42%;
}

.chart-row span:nth-child(2) {
  height: 68%;
  background: var(--coral);
}

.chart-row span:nth-child(3) {
  height: 52%;
  background: var(--gold);
}

.chart-row span:nth-child(4) {
  height: 82%;
  background: var(--blue);
}

.list-line {
  height: 13px;
  width: 76%;
  margin-top: 18px;
  border-radius: 999px;
  background: #e8e6df;
}

.list-line.wide {
  width: 100%;
}

.list-line.short {
  width: 56%;
}

.invoice-sheet {
  display: grid;
  gap: 18px;
  padding: 22px;
  border: 1px solid #ece8de;
  border-radius: 8px;
  background: #fffdf8;
}

.invoice-sheet div,
.invoice-sheet strong,
.send-pill {
  display: block;
  height: 14px;
  border-radius: 999px;
  background: #ddd9cf;
}

.invoice-sheet div:nth-child(1) {
  width: 52%;
  background: var(--coral);
}

.invoice-sheet div:nth-child(2) {
  width: 100%;
}

.invoice-sheet div:nth-child(3) {
  width: 82%;
}

.invoice-sheet strong {
  width: 46%;
  justify-self: end;
  background: var(--ink);
}

.send-pill {
  width: 68%;
  height: 38px;
  margin: 24px auto 0;
  background: var(--blue);
}

.section {
  padding: clamp(54px, 8vw, 104px) clamp(20px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
}

.section-heading {
  margin-bottom: 30px;
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.app-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  min-height: 220px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.app-card p {
  max-width: 520px;
  margin: 12px 0 20px;
  color: var(--muted);
}

.app-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.store-link {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--white) !important;
}

.app-screenshot {
  display: block;
  grid-column: 1 / -1;
  width: 100%;
  max-height: 640px;
  object-fit: contain;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 45px rgba(24, 24, 24, 0.1);
}

.cashiqa-feature {
  grid-column: 1 / -1;
  display: block;
  margin-top: 6px;
  padding: 22px;
  border: 1px solid rgba(23, 132, 91, 0.14);
  border-radius: 8px;
  background:
    radial-gradient(circle at 100% 0%, rgba(216, 242, 223, 0.9), transparent 42%),
    linear-gradient(135deg, #ffffff 0%, #eefaf4 100%);
}

.cashiqa-shot-copy h4 {
  margin: 0;
  color: #071a44;
  font-size: clamp(1.55rem, 3vw, 2.45rem);
  line-height: 1.05;
}

.cashiqa-shot-copy p {
  margin: 12px 0 18px;
}

.shot-points {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  color: #273653;
  font-weight: 700;
  list-style: none;
}

.shot-points li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.shot-points span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  color: var(--mint-strong);
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(24, 24, 24, 0.08);
}

.cashiqa-phone-shot {
  justify-self: center;
  width: min(230px, 100%);
  padding: 14px;
  border: 8px solid #07122f;
  border-radius: 30px;
  background: #f8fbfa;
  box-shadow: 0 22px 42px rgba(7, 18, 47, 0.18);
}

.shot-status,
.shot-tabs,
.shot-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.shot-status {
  color: #111827;
  font-size: 0.7rem;
  font-weight: 800;
}

.shot-camera {
  width: 12px;
  height: 12px;
  border: 3px solid #111827;
  border-radius: 50%;
  background: #32445f;
}

.shot-title {
  margin: 18px 0 14px;
}

.shot-title small {
  display: block;
  color: #4d5d78;
  font-weight: 700;
}

.shot-title strong {
  color: var(--mint-strong);
  font-size: 1.35rem;
}

.shot-search {
  padding: 11px 12px;
  border-radius: 14px;
  background: #ffffff;
  color: #7b8497;
  font-size: 0.82rem;
  box-shadow: inset 0 0 0 1px #eef0f3;
}

.shot-tabs {
  justify-content: flex-start;
  gap: 8px;
  margin: 12px 0;
}

.shot-tabs span {
  padding: 7px 10px;
  border: 1px solid #d9dedf;
  border-radius: 8px;
  background: #ffffff;
  color: #354052;
  font-size: 0.74rem;
  font-weight: 750;
}

.shot-tabs span:first-child {
  border-color: transparent;
  background: var(--mint);
  color: #0d6647;
}

.shot-list {
  display: grid;
  gap: 9px;
}

.shot-row {
  display: grid;
  grid-template-columns: 30px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 5px 16px rgba(7, 18, 47, 0.06);
}

.shot-row i {
  display: block;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #fde5e5;
}

.shot-row:nth-child(2) i,
.shot-row:nth-child(4) i {
  background: #e2f4ec;
}

.shot-row b {
  display: block;
  font-size: 0.72rem;
}

.shot-row small {
  color: #64708a;
  font-size: 0.63rem;
}

.shot-row strong {
  color: #c91f25;
  font-size: 0.72rem;
}

.shot-row.positive strong {
  color: var(--mint-strong);
}

.shot-nav {
  margin-top: 14px;
  padding: 9px 6px 0;
  color: #6d7584;
  font-size: 0.62rem;
}

.gstocky-feature {
  grid-column: 1 / -1;
  display: block;
  margin-top: 6px;
  padding: 22px;
  border: 1px solid rgba(47, 127, 122, 0.16);
  border-radius: 8px;
  background:
    radial-gradient(circle at 100% 0%, rgba(47, 127, 122, 0.14), transparent 45%),
    linear-gradient(135deg, #ffffff 0%, #f2f8f7 100%);
}

.gstocky-copy h4 {
  margin: 0;
  color: #1b2524;
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  line-height: 1.05;
}

.gstocky-copy p {
  margin: 12px 0 18px;
}

.gstocky-phone {
  justify-self: center;
  width: min(250px, 100%);
  padding: 14px;
  border: 8px solid #242626;
  border-radius: 30px;
  background: #f6f6f4;
  box-shadow: 0 22px 42px rgba(24, 24, 24, 0.16);
}

.pos-search {
  padding: 11px 12px;
  border: 1px solid #dedede;
  border-radius: 8px;
  background: #ffffff;
  color: #8a8a8a;
  font-size: 0.8rem;
}

.pos-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.pos-product {
  position: relative;
  display: grid;
  align-content: end;
  min-height: 105px;
  padding: 8px;
  overflow: hidden;
  border: 1px solid #d8d8d8;
  border-radius: 8px;
  background: #ffffff;
}

.pos-price {
  position: absolute;
  top: 7px;
  right: 7px;
  z-index: 2;
  padding: 3px 7px;
  border-radius: 999px;
  background: #252525;
  color: #ffffff;
  font-size: 0.62rem;
  font-weight: 800;
}

.pos-visual {
  position: absolute;
  inset: 18px 10px 36px;
  border-radius: 8px;
  background: linear-gradient(135deg, #151515, #747474);
  transform: skewX(-10deg);
}

.pos-product:nth-child(2) .pos-visual,
.pos-product:nth-child(6) .pos-visual {
  border-radius: 45% 45% 14px 14px;
  background: linear-gradient(135deg, #f8f8f8, #b7b7b7);
  transform: none;
}

.pos-product:nth-child(3) .pos-visual {
  background: linear-gradient(135deg, #8ed8e4, #0c2330 64%);
  transform: none;
}

.pos-product:nth-child(5) .pos-visual {
  border-radius: 45% 40% 55% 50%;
  background: linear-gradient(135deg, #2d2d2d, #050505);
  transform: rotate(-12deg);
}

.pos-name {
  position: relative;
  z-index: 2;
  display: block;
  color: #222;
  font-size: 0.66rem;
  font-weight: 750;
  text-align: center;
}

.pos-qty {
  position: relative;
  z-index: 2;
  color: #333;
  font-size: 0.62rem;
  font-weight: 750;
  text-align: center;
}

.pos-total {
  margin-top: 10px;
  padding: 10px 2px 8px;
  border-top: 1px solid #dddddd;
}

.pos-total div {
  display: flex;
  justify-content: space-between;
  color: #1f1f1f;
  font-size: 0.82rem;
  font-weight: 800;
}

.pos-checkout {
  display: grid;
  place-items: center;
  min-height: 38px;
  margin-top: 6px;
  border-radius: 8px;
  background: #222222;
  color: #ffffff;
  font-weight: 800;
}

.easy-pos-feature {
  grid-column: 1 / -1;
  display: block;
  margin-top: 6px;
  padding: 22px;
  border: 1px solid rgba(28, 99, 229, 0.14);
  border-radius: 8px;
  background:
    radial-gradient(circle at 100% 0%, rgba(47, 178, 83, 0.15), transparent 42%),
    linear-gradient(135deg, #ffffff 0%, #eef7ff 100%);
}

.easy-pos-copy h4 {
  margin: 0;
  color: #070a32;
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  line-height: 1.05;
}

.easy-pos-copy h4 span {
  color: #1767e8;
}

.easy-pos-copy p {
  margin: 12px 0 18px;
}

.easy-pos-tablet {
  justify-self: center;
  width: min(360px, 100%);
  padding: 16px;
  border: 10px solid #111111;
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 22px 42px rgba(7, 18, 47, 0.18);
}

.easy-pos-top,
.easy-pos-sale-row,
.easy-pos-total,
.easy-pos-tabs {
  display: flex;
  align-items: center;
}

.easy-pos-top {
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid #e6e8ef;
}

.easy-pos-user {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.74rem;
  font-weight: 800;
}

.easy-pos-user span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: #ffffff;
  background: #17a9e8;
}

.easy-pos-cash {
  padding: 8px 12px;
  border-radius: 999px;
  color: #07812f;
  background: #dff4e5;
  font-size: 0.72rem;
  font-weight: 800;
}

.easy-pos-screen {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(120px, 0.58fr);
  gap: 12px;
  margin-top: 14px;
}

.easy-pos-search {
  padding: 10px 12px;
  border-radius: 12px;
  background: #f6f7fb;
  color: #7a8192;
  font-size: 0.72rem;
}

.easy-pos-tabs {
  flex-wrap: wrap;
  gap: 6px;
  margin: 10px 0;
}

.easy-pos-tabs span {
  padding: 7px 9px;
  border: 1px solid #e1e3ea;
  border-radius: 999px;
  font-size: 0.58rem;
  font-weight: 800;
}

.easy-pos-tabs span:first-child {
  color: #ffffff;
  background: #0b0d2e;
}

.easy-pos-products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.easy-pos-product {
  display: grid;
  min-height: 112px;
  overflow: hidden;
  border: 1px solid #e2e4eb;
  border-radius: 10px;
  background: #ffffff;
}

.easy-pos-product i {
  display: block;
  min-height: 60px;
  background: linear-gradient(135deg, #215cff, #50cb72);
}

.easy-pos-product:nth-child(2) i {
  background: linear-gradient(135deg, #ca5409, #f3ad42);
}

.easy-pos-product:nth-child(3) i {
  background: linear-gradient(135deg, #249146, #83d64f);
}

.easy-pos-product:nth-child(4) i {
  background: linear-gradient(135deg, #7d3bc4, #cf8be7);
}

.easy-pos-product:nth-child(5) i {
  background: linear-gradient(135deg, #16667e, #57c8d1);
}

.easy-pos-product:nth-child(6) i {
  background: linear-gradient(135deg, #c07a12, #f3ce58);
}

.easy-pos-product span {
  padding: 7px 8px;
  color: #111827;
  font-size: 0.62rem;
  font-weight: 800;
}

.easy-pos-product strong {
  padding: 0 8px 8px;
  color: #0b9f38;
  font-size: 0.62rem;
}

.easy-pos-cart {
  padding-left: 12px;
  border-left: 1px solid #e6e8ef;
}

.easy-pos-cart h5 {
  margin: 0 0 12px;
  font-size: 0.88rem;
}

.easy-pos-sale-row {
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
  padding: 8px;
  border: 1px solid #e7e9ef;
  border-radius: 10px;
  font-size: 0.62rem;
  font-weight: 800;
}

.easy-pos-total {
  justify-content: space-between;
  margin-top: 16px;
  color: #0b9f38;
  font-size: 0.82rem;
  font-weight: 900;
}

.easy-pos-pay {
  display: grid;
  place-items: center;
  min-height: 36px;
  margin-top: 10px;
  border-radius: 8px;
  background: #0b0d2e;
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 900;
}

.app-card a {
  color: var(--ink);
  font-weight: 800;
}

.cashiqa .app-icon {
  background: var(--mint-strong);
}

.offlivo .app-icon {
  background: var(--coral);
}

.easy-pos .app-icon {
  background: var(--blue);
}

.gstocky-pos .app-icon {
  background: #2f7f7a;
}

.shopify-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.7fr);
  gap: 32px;
  align-items: start;
  background: #f4eee3;
}

.shopify-band p:last-child,
.contact p + h2 {
  color: var(--muted);
}

.shopify-band p:last-child {
  margin: 0;
  font-size: 1.08rem;
}

.contact {
  display: grid;
  gap: 18px;
}

.contact h2 {
  color: var(--ink);
}

.contact .button {
  width: fit-content;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 24px clamp(20px, 5vw, 72px);
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
}

.policy-page {
  max-width: 860px;
  margin: 0 auto;
  padding: clamp(36px, 7vw, 76px) 20px;
}

.policy-page h1 {
  font-size: clamp(2.4rem, 6vw, 5.4rem);
}

.policy-meta {
  margin: 18px 0 34px;
  color: var(--muted);
}

.policy-section {
  margin-top: 34px;
}

.policy-section h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
}

.policy-section p,
.policy-section li {
  color: var(--muted);
}

.policy-section ul {
  padding-left: 22px;
}

.back-link {
  display: inline-flex;
  margin-bottom: 26px;
  color: var(--muted);
  font-weight: 750;
  text-decoration: none;
}

@media (max-width: 820px) {
  .site-header,
  .footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav,
  .footer-links {
    justify-content: flex-start;
  }

  .hero,
  .shopify-band {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

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

  .phone {
    width: min(230px, 58vw);
  }

  .app-grid {
    grid-template-columns: 1fr;
  }

  .cashiqa-feature {
    grid-template-columns: 1fr;
  }

  .easy-pos-feature {
    grid-template-columns: 1fr;
  }

  .easy-pos-screen {
    grid-template-columns: 1fr;
  }

  .easy-pos-cart {
    padding-left: 0;
    border-left: 0;
  }

  .gstocky-feature {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .hero-visual {
    min-height: 360px;
  }

  .phone {
    min-width: 160px;
    padding: 16px;
    border-width: 8px;
    border-radius: 28px;
  }

  .phone-invoice {
    right: 4px;
  }

  .app-card {
    grid-template-columns: 1fr;
  }
}
