/* universaltill.com — professional multilingual marketing site.
   Design tokens echo the POS (indigo/sky). RTL-safe via logical props. */
:root {
  --ink: #0f172a;
  --ink-soft: #475569;
  --muted: #64748b;
  --bg: #ffffff;
  --band: #f8fafc;
  --border: #e2e8f0;
  --brand: #4f46e5;
  --brand-2: #0ea5e9;
  --accent: #22c55e;
  --radius: 14px;
  --maxw: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; color: var(--ink); background: var(--bg);
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Noto Sans Arabic", sans-serif;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.01em; }
a { color: var(--brand); text-decoration: none; }
img { max-width: 100%; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 1.2rem;
  padding: .8rem clamp(1rem, 4vw, 2.4rem);
  background: rgba(255,255,255,.85); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.brand { display: inline-flex; align-items: center; gap: .5rem; color: var(--ink); font-size: 1.1rem; }
.brand strong { color: var(--brand); }
.nav nav { margin-inline-start: auto; display: flex; align-items: center; gap: 1.1rem; flex-wrap: wrap; }
.nav nav a { color: var(--ink-soft); font-weight: 500; font-size: .95rem; }
.nav nav a:hover { color: var(--brand); }

/* Language switch */
.lang-switch { display: inline-flex; gap: .2rem; border: 1px solid var(--border); border-radius: 999px; padding: .15rem; }
.lang-switch button {
  border: 0; background: transparent; cursor: pointer; padding: .25rem .55rem;
  border-radius: 999px; font-size: .8rem; color: var(--muted); font-family: inherit;
}
.lang-switch button[aria-pressed="true"] { background: var(--brand); color: #fff; }

/* Buttons */
.btn {
  display: inline-block; padding: .6rem 1.1rem; border-radius: 10px;
  border: 1px solid var(--border); background: #fff; color: var(--ink);
  font-weight: 600; font-size: .95rem; transition: transform .06s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(15,23,42,.08); }
.btn.primary { background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; border: 0; }
.btn.ghost { background: transparent; }
.btn.big { padding: .85rem 1.7rem; font-size: 1.05rem; }

/* Layout helpers */
.section { max-width: var(--maxw); margin: 0 auto; padding: clamp(3rem, 7vw, 5.5rem) clamp(1rem, 4vw, 2.4rem); }
.section.band, .band { background: var(--band); max-width: none; }
.band .section-head, .band .grid { max-width: var(--maxw); margin-inline: auto; }
.section-head { text-align: center; max-width: 42rem; margin: 0 auto 2.4rem; }
.section-head h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); margin: 0 0 .6rem; }
.section-sub { color: var(--muted); font-size: 1.05rem; margin: 0; }

/* Hero */
.hero {
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 5rem) clamp(1rem, 4vw, 2.4rem);
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 2.5rem; align-items: center;
}
.hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin: 0 0 1rem; }
.lede { font-size: clamp(1.05rem, 2vw, 1.2rem); color: var(--ink-soft); margin: 0 0 1.6rem; }
.cta { display: flex; gap: .7rem; flex-wrap: wrap; }
.hero-note { color: var(--muted); font-size: .9rem; margin-top: 1rem; }
.hero-art svg { width: 100%; height: auto; filter: drop-shadow(0 20px 40px rgba(79,70,229,.18)); }
/* Real product screenshots — framed like a device screen. */
.screenshot { width: 100%; height: auto; display: block; background: #fff;
  border-radius: 16px; border: 1px solid var(--border);
  box-shadow: 0 26px 60px rgba(15,23,42,.18); }

/* Screenshot gallery */
.gallery { max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.shot { margin: 0; }
.shot img { width: 100%; height: auto; display: block; background: #fff;
  border-radius: 12px; border: 1px solid var(--border);
  box-shadow: 0 12px 30px rgba(15,23,42,.1); transition: transform .2s, box-shadow .2s; }
.shot:hover img { transform: translateY(-3px); box-shadow: 0 20px 44px rgba(15,23,42,.16); }
.shot figcaption { margin-top: .75rem; }
.shot figcaption b { display: block; font-weight: 600; color: var(--ink); font-size: 1rem; }
.shot figcaption span { display: block; font-weight: 400; color: var(--ink-soft); font-size: .88rem; margin-top: .15rem; }

/* Grids + cards */
.grid { display: grid; gap: 1.2rem; }
.grid.two { grid-template-columns: repeat(2, 1fr); }
.grid.solutions { grid-template-columns: repeat(3, 1fr); }
.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.5rem; box-shadow: 0 1px 2px rgba(15,23,42,.03);
}
.card h3 { margin: 0 0 .5rem; font-size: 1.12rem; }
.card p { margin: 0; color: var(--ink-soft); font-size: .96rem; }
.card.sol:hover { border-color: var(--brand); box-shadow: 0 10px 30px rgba(79,70,229,.1); transition: .2s; }

/* Solution icons */
.ico { width: 44px; height: 44px; border-radius: 11px; margin-bottom: .9rem;
  background: linear-gradient(135deg, rgba(79,70,229,.12), rgba(14,165,233,.12));
  display: grid; place-items: center; }
.ico::after { content: ""; width: 24px; height: 24px; background: var(--brand);
  -webkit-mask: center/contain no-repeat; mask: center/contain no-repeat; }
.ico-grocery::after { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M3 3h2l2 12h11l2-8H6'/%3E%3Ccircle cx='9' cy='20' r='1.5'/%3E%3Ccircle cx='18' cy='20' r='1.5'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M3 3h2l2 12h11l2-8H6'/%3E%3Ccircle cx='9' cy='20' r='1.5'/%3E%3Ccircle cx='18' cy='20' r='1.5'/%3E%3C/svg%3E"); }
.ico-retail::after { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M4 8h16l-1 12H5z'/%3E%3Cpath d='M8 8a4 4 0 0 1 8 0'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M4 8h16l-1 12H5z'/%3E%3Cpath d='M8 8a4 4 0 0 1 8 0'/%3E%3C/svg%3E"); }
.ico-service::after { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M14 7l3-3 3 3-3 3z'/%3E%3Cpath d='M14 10L4 20'/%3E%3Cpath d='M3 6l4 4'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M14 7l3-3 3 3-3 3z'/%3E%3Cpath d='M14 10L4 20'/%3E%3Cpath d='M3 6l4 4'/%3E%3C/svg%3E"); }
.ico-hospitality::after { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M6 3v7a2 2 0 0 0 4 0V3'/%3E%3Cpath d='M8 10v11'/%3E%3Cpath d='M17 3c-2 1-3 3-3 6s1 3 3 3v9'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M6 3v7a2 2 0 0 0 4 0V3'/%3E%3Cpath d='M8 10v11'/%3E%3Cpath d='M17 3c-2 1-3 3-3 6s1 3 3 3v9'/%3E%3C/svg%3E"); }
.ico-market::after { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M4 9h16v11H4z'/%3E%3Cpath d='M3 9l2-5h14l2 5'/%3E%3Cpath d='M9 20v-5h6v5'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M4 9h16v11H4z'/%3E%3Cpath d='M3 9l2-5h14l2 5'/%3E%3Cpath d='M9 20v-5h6v5'/%3E%3C/svg%3E"); }
.ico-multi::after { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Crect x='3' y='4' width='8' height='16' rx='1'/%3E%3Crect x='14' y='8' width='7' height='12' rx='1'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Crect x='3' y='4' width='8' height='16' rx='1'/%3E%3Crect x='14' y='8' width='7' height='12' rx='1'/%3E%3C/svg%3E"); }

/* Split (text + photo) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center; }
.split.reverse .split-text { order: 2; }
.split h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); margin: 0 0 .8rem; }
.photo-slot {
  aspect-ratio: 4/3; border-radius: var(--radius); border: 2px dashed var(--border);
  background: linear-gradient(135deg, rgba(79,70,229,.06), rgba(14,165,233,.06));
  display: grid; place-items: center; color: var(--muted); font-size: .9rem;
}

/* CTA band */
.cta-band { text-align: center; max-width: none; background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; }
.cta-band h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); margin: 0 0 .6rem; }
.cta-band .lede { color: rgba(255,255,255,.9); }
.cta-band .btn { margin-top: 1rem; }

/* Footer */
.foot { border-top: 1px solid var(--border); text-align: center; padding: 2.5rem 1rem; background: var(--band); }
.foot-brand { display: inline-flex; align-items: center; gap: .5rem; color: var(--ink); }
.foot-brand strong { color: var(--brand); }
.foot-tagline { color: var(--ink-soft); margin: .6rem 0 1.2rem; }
.foot-owner { color: var(--ink); font-weight: 600; margin: 0; }
.foot-rights { color: var(--muted); font-size: .85rem; margin: .3rem 0 0; }

/* Responsive */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero-art { order: -1; max-width: 520px; margin: 0 auto; }
  .grid.solutions { grid-template-columns: repeat(2, 1fr); }
  .grid.two { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .split, .split.reverse { grid-template-columns: 1fr; }
  .split.reverse .split-text { order: 0; }
}
@media (max-width: 560px) {
  .grid.solutions { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .nav nav a:not(.btn) { display: none; }
  .nav nav .btn, .lang-switch { display: inline-flex; }
}

/* Get-started steps */
.grid.steps { grid-template-columns: repeat(3, 1fr); }
.step { position: relative; padding-top: 2.4rem; }
.step-n { position: absolute; top: -18px; inset-inline-start: 1.3rem;
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; font-weight: 700; }
.get-cta { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; margin-top: 2rem; }
.btn.ghost.big { background: transparent; }
@media (max-width: 900px) { .grid.steps { grid-template-columns: 1fr; } }

/* Download page */
.dl-primary { padding: 1.6rem; text-align: center; }
.dl-os { font-size: 1.2rem; font-weight: 700; margin-bottom: .8rem; }
.dl-note { color: var(--muted); font-size: .88rem; margin: .8rem 0 0; }
.dl-grid { grid-template-columns: repeat(3, 1fr); }
.dl-card { text-align: center; display: flex; flex-direction: column; gap: .5rem; }
.dl-card h3 { margin: 0; }
.dl-card .btn { margin-top: auto; }
.dl-help a { margin-inline-start: .4rem; }
@media (max-width: 800px){ .dl-grid { grid-template-columns: 1fr; } }

/* Getting-started guide: ordered step lists inside cards */
.steps-list { margin: .5rem 0 0; padding-inline-start: 1.3rem; }
.steps-list li { margin: .45rem 0; color: var(--ink-soft); }
.steps-list code { background: var(--band); padding: .05rem .3rem; border-radius: 5px; font-size: .9em; }
