/* U.T.E design system — light theme, derived from the company logo.
   Blue #1A64A5 works; red #C4262C points (one place at a time).
   Signature: the graduation ruler + the live scale readout. */
:root {
  --ground: #F2F5F8;
  --paper: #FFFFFF;
  --ink: #1B2A38;
  --ink-soft: #45586B;
  --line: #D8DFE6;
  --line-soft: #E7ECF0;
  --blue: #1A64A5;
  --blue-deep: #123F6B;
  --blue-night: #0C2C4E;
  --blue-tint: #E8F0F7;
  --red: #C4262C;
  --red-bright: #FF5A57;
  --shadow: 0 14px 40px rgba(18, 63, 107, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;
  font-size: 16px;
  line-height: 1.7;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-deep); }
h1, h2, h3 { line-height: 1.3; margin: 0 0 12px; text-wrap: balance; }
h1, h2 { font-family: "Alexandria", "IBM Plex Sans Arabic", sans-serif; }
p { margin: 0 0 12px; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.mono { font-family: "IBM Plex Mono", Consolas, monospace; font-variant-numeric: tabular-nums; }

/* graduation ruler — the brand's signature line */
.ruler {
  height: 12px;
  background:
    repeating-linear-gradient(90deg, var(--line) 0, var(--line) 1px, transparent 1px, transparent 8px),
    repeating-linear-gradient(90deg, var(--ink-soft) 0, var(--ink-soft) 1px, transparent 1px, transparent 48px);
  background-size: 100% 6px, 100% 12px;
  background-position: bottom, bottom;
  background-repeat: repeat-x;
}
.ruler-light {
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.22) 0, rgba(255,255,255,.22) 1px, transparent 1px, transparent 8px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.45) 0, rgba(255,255,255,.45) 1px, transparent 1px, transparent 48px);
  background-size: 100% 6px, 100% 12px;
  background-position: bottom, bottom;
  background-repeat: repeat-x;
}

/* buttons */
.btn {
  display: inline-block; border: none; cursor: pointer;
  border-radius: 7px; padding: 11px 24px;
  font: 600 15px "IBM Plex Sans Arabic", sans-serif;
  transition: background .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-deep); color: #fff; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: #A31D22; color: #fff; }
.btn-outline { background: var(--paper); color: var(--blue); border: 1px solid var(--line); }
.btn-outline:hover { border-color: var(--blue); }
.btn-light { background: #fff; color: var(--blue-deep); }
.btn-light:hover { background: var(--blue-tint); color: var(--blue-deep); }
.btn-ghost-light { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.45); }
.btn-ghost-light:hover { border-color: #fff; color: #fff; }
.btn-wa { background: #1FAF54; color: #fff; }
.btn-wa:hover { background: #17913F; color: #fff; }

/* header */
.site-head { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.head-row { display: flex; align-items: center; gap: 26px; padding-top: 12px; padding-bottom: 12px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo img { width: 44px; height: 44px; object-fit: contain; }
.logo-text { font-size: 15.5px; font-weight: 600; color: var(--blue-deep); white-space: nowrap; }
.logo-text b { color: var(--red); font-family: Archivo, sans-serif; font-size: 17px; letter-spacing: .02em; }
.main-nav { display: flex; gap: 4px; margin-inline-start: auto; flex-wrap: wrap; }
.main-nav a {
  color: var(--ink-soft); font-weight: 500; font-size: 15px;
  padding: 6px 12px; border-radius: 6px; border-bottom: 2px solid transparent;
}
.main-nav a.on { color: var(--blue-deep); font-weight: 600; border-bottom-color: var(--red); border-radius: 6px 6px 0 0; }
.main-nav a:hover { color: var(--blue-deep); background: var(--blue-tint); }
.head-cta { white-space: nowrap; }

/* ============ hero ============ */
.hero {
  position: relative;
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(26,100,165,.55), transparent 65%),
    linear-gradient(160deg, var(--blue-deep) 0%, var(--blue-night) 70%);
  color: #fff;
  overflow: hidden;
}
.hero::before {
  /* faint oversized graduation marks in the dark field */
  content: ""; position: absolute; inset-inline: 0; top: 0; height: 100%;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.05) 0, rgba(255,255,255,.05) 1px, transparent 1px, transparent 64px);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid; grid-template-columns: 1.15fr .85fr;
  gap: 48px; align-items: center;
  padding: 64px 20px 96px;
}
.kicker { color: var(--red-bright); font-weight: 700; font-size: 15px; margin-bottom: 14px; }
.hero h1 {
  font-size: clamp(34px, 5.2vw, 54px); font-weight: 800;
  color: #fff; max-width: 18ch; margin-bottom: 14px; line-height: 1.25;
}
.hero .lead { color: #BFD3E4; font-size: 18px; max-width: 48ch; margin-bottom: 28px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* the signature: an indicator device showing a live weight */
.device-card {
  background: #fff; border-radius: 14px; padding: 14px;
  box-shadow: 0 24px 60px rgba(0,0,0,.35);
  max-width: 400px; justify-self: center; width: 100%;
}
.device-photo { border-radius: 8px; overflow: hidden; }
.device-photo img { width: 100%; height: 195px; object-fit: cover; }
.device-readout {
  margin-top: 12px; background: #0D1826; border-radius: 10px;
  padding: 14px 18px 16px; color: #7A8CA0;
}
.device-readout .row1 {
  display: flex; justify-content: space-between; align-items: center;
  font: 500 10.5px "IBM Plex Mono", monospace; letter-spacing: .14em;
}
.device-readout .stable { display: flex; align-items: center; gap: 6px; }
.device-readout .dot { width: 7px; height: 7px; border-radius: 50%; background: #3A4A5C; transition: background .3s; }
.device-readout.settled .dot { background: #3EDC81; box-shadow: 0 0 8px rgba(62,220,129,.7); }
.device-readout .digits-row { display: flex; align-items: baseline; justify-content: center; gap: 10px; direction: ltr; margin-top: 6px; }
.device-readout .digits {
  font: 700 44px "IBM Plex Mono", monospace; font-variant-numeric: tabular-nums;
  color: var(--red-bright); text-shadow: 0 0 14px rgba(255,90,87,.45);
  letter-spacing: .01em; line-height: 1.1;
}
.device-readout .unit { font: 500 15px "IBM Plex Mono", monospace; color: #A7B7C7; }
.device-readout .caption {
  text-align: center; margin-top: 8px; color: #A7B7C7;
  font: 500 12.5px "IBM Plex Sans Arabic", sans-serif; letter-spacing: 0;
}
.hero .ruler-light { position: absolute; inset-inline: 0; bottom: 0; }

/* trust bar — floats over the hero edge */
.trustbar { position: relative; margin-top: -46px; z-index: 5; }
.trust-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 28px; flex-wrap: wrap;
  padding: 20px 30px;
}
.trust-stats { display: flex; gap: 36px; flex-wrap: wrap; }
.trust-stats b {
  display: block; font: 700 27px "IBM Plex Mono", monospace;
  color: var(--blue-deep); font-variant-numeric: tabular-nums; line-height: 1.2;
}
.trust-stats span { color: var(--ink-soft); font-size: 13.5px; }
.trust-sep { width: 1px; align-self: stretch; background: var(--line); }
.trust-brands { display: flex; align-items: center; gap: 8px 22px; flex-wrap: wrap; margin-inline-start: auto; }
.trust-brands img { height: 34px; object-fit: contain; filter: grayscale(1); opacity: .78; transition: filter .2s, opacity .2s; }
.trust-brands img:hover { filter: none; opacity: 1; }
.trust-brands .tb-name { font: 500 11px "IBM Plex Mono", monospace; letter-spacing: .1em; color: var(--ink-soft); }

/* ============ sections ============ */
.section { padding: 64px 0; }
.band { background: var(--paper); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 30px; flex-wrap: wrap; }
.section-head h2 { font-size: 28px; font-weight: 700; margin: 0; }
.section-head .more { font-weight: 600; font-size: 14px; }
.eyebrow { font: 500 12px "IBM Plex Mono", monospace; letter-spacing: .12em; color: var(--blue); text-transform: uppercase; display: block; margin-bottom: 6px; }

/* cards & grids */
.grid { display: grid; gap: 18px; }
.grid-4 { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
a.card { transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
a.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--blue); }

.cat-card { padding: 22px 20px 18px; display: flex; flex-direction: column; gap: 4px; color: var(--ink); }
.cat-card:hover { color: var(--ink); }
.cat-card .tick {
  height: 9px; width: 52px; margin-bottom: 14px; border-radius: 2px;
  background: repeating-linear-gradient(90deg, var(--blue) 0, var(--blue) 2px, transparent 2px, transparent 7px);
}
.cat-card b { font-size: 16.5px; font-weight: 700; }
.cat-card small { color: var(--ink-soft); font-size: 13.5px; }
.cat-card .go { margin-top: 12px; color: var(--blue); font-weight: 600; font-size: 13.5px; }

.product-card { display: flex; flex-direction: column; color: var(--ink); }
.product-card:hover { color: var(--ink); }
.product-card .thumb { height: 185px; flex: none; background: #fff; border-bottom: 1px solid var(--line-soft); padding: 16px; }
.product-card .thumb img { width: 100%; height: 100%; object-fit: contain; }
.product-card .body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.product-card .brand { font: 500 11px "IBM Plex Mono", monospace; letter-spacing: .08em; color: var(--ink-soft); }
.product-card b { font-size: 15.5px; font-weight: 600; }
.product-card small { color: var(--ink-soft); }

.brand-card { padding: 22px; text-align: center; }
.brand-card img { height: 54px; object-fit: contain; margin: 0 auto 12px; }
.brand-card .name { font: 700 16px Archivo, sans-serif; color: var(--blue-deep); margin-bottom: 6px; }
.brand-card p { font-size: 14px; color: var(--ink-soft); margin: 0; }

/* feature cards — bullet content rendered as a designed grid
   (no tick-marks here: those belong to the homepage category cards) */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.feature-card { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 22px 20px 20px; }
.feature-card b {
  display: block; font-size: 17px; font-weight: 700; margin-bottom: 12px;
  color: var(--blue-deep);
}
.feature-card b::after { content: ""; display: block; width: 30px; height: 2px; background: var(--blue); margin-top: 8px; }
.feature-card p { color: var(--ink-soft); font-size: 14.5px; margin: 0; }

.prose-card { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 24px 28px; }
.prose-card p { margin: 0 0 8px; max-width: 70ch; }
.prose-card p:last-child { margin-bottom: 0; }

/* process timeline — steps sit on the graduation ruler like markings on a scale beam */
.timeline { position: relative; }
.timeline > .ruler { margin: 0; }
.t-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding-top: 30px; }
.t-step { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 20px 18px 18px; }
.t-pin {
  position: absolute; top: -30px; inset-inline-start: 26px;
  width: 2px; height: 30px; background: var(--red);
}
.t-pin::before {
  content: ""; position: absolute; top: -4px; inset-inline-start: -3px;
  width: 8px; height: 8px; border-radius: 50%; background: var(--red);
}
.t-step .num {
  font: 700 13px "IBM Plex Mono", monospace; color: var(--red);
  display: block; margin-bottom: 10px; letter-spacing: .08em;
}
.t-step b { display: block; font-size: 15.5px; font-weight: 700; margin-bottom: 5px; }
.t-step p { color: var(--ink-soft); font-size: 14px; margin: 0; }
@media (max-width: 860px) {
  .t-steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .t-steps { grid-template-columns: 1fr; padding-top: 22px; }
  .t-pin { display: none; }
}

/* coverage band — About's own element */
.coverage {
  position: relative; overflow: hidden; border-radius: 14px; color: #fff;
  background:
    radial-gradient(700px 300px at 15% -20%, rgba(26,100,165,.55), transparent 65%),
    linear-gradient(160deg, var(--blue-deep), var(--blue-night));
  padding: 34px 34px 30px;
}
.coverage .eyebrow { color: #8FBEE4; }
.coverage h2 { color: #fff; font-size: 24px; margin-bottom: 4px; }
.coverage p { color: #BFD3E4; margin-bottom: 18px; max-width: 55ch; }
.coverage .countries { display: flex; gap: 10px 12px; flex-wrap: wrap; }
.coverage .country {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid rgba(255,255,255,.35); border-radius: 99px;
  padding: 7px 18px; font-weight: 600; font-size: 15px;
}
.coverage .country::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--red-bright); }

/* CTA band */
.cta-band {
  position: relative; color: #fff; overflow: hidden;
  background: linear-gradient(160deg, var(--blue-deep), var(--blue-night));
}
.cta-band .ruler-light { position: absolute; inset-inline: 0; top: 0; transform: scaleY(-1); }
.cta-inner { padding: 58px 20px 62px; text-align: center; }
.cta-inner h2 { color: #fff; font-size: clamp(24px, 3.4vw, 32px); margin-bottom: 8px; }
.cta-inner p { color: #BFD3E4; max-width: 55ch; margin: 0 auto 24px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* product details */
.product-page { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: start; }
.product-page .gallery { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 24px; display: grid; place-items: center; min-height: 320px; }
.product-page .gallery img { max-height: 420px; object-fit: contain; }
.spec-table { width: 100%; border-collapse: collapse; background: var(--paper); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.spec-table td { padding: 9px 14px; border-top: 1px solid var(--line-soft); font-size: 14.5px; }
.spec-table td:first-child { color: var(--ink-soft); width: 40%; }
.spec-table tr:first-child td { border-top: none; }

/* forms */
.form-grid { display: grid; gap: 14px; max-width: 560px; }
label { font-weight: 600; font-size: 14px; display: block; margin-bottom: 4px; }
input[type=text], input[type=email], input[type=tel], textarea, select {
  width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 6px;
  font: 400 15px "IBM Plex Sans Arabic", sans-serif; background: var(--paper); color: var(--ink);
}
input:focus, textarea:focus, select:focus { border-color: var(--blue); outline: none; }
textarea { min-height: 120px; resize: vertical; }
.field-error { color: var(--red); font-size: 13px; }
.alert-ok { background: #E3F1E9; color: #2E7D4F; border-radius: 8px; padding: 12px 16px; font-weight: 600; margin-bottom: 16px; }

/* page hero strip (inner pages) */
.page-head {
  background: linear-gradient(160deg, var(--blue-deep), var(--blue-night));
  color: #fff; padding: 42px 0 36px; position: relative;
}
.page-head::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 12px;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.22) 0, rgba(255,255,255,.22) 1px, transparent 1px, transparent 8px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.45) 0, rgba(255,255,255,.45) 1px, transparent 1px, transparent 48px);
  background-size: 100% 6px, 100% 12px; background-position: bottom, bottom; background-repeat: repeat-x;
}
.page-head h1 { font-size: 30px; color: #fff; }
.page-head p { color: #BFD3E4; max-width: 60ch; margin: 0; }
.page-head .eyebrow { color: #8FBEE4; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.contact-info { display: grid; gap: 10px; font-size: 15px; }
.contact-info .row { display: flex; gap: 10px; align-items: baseline; }
.contact-info .row b { min-width: 90px; color: var(--ink-soft); font-weight: 600; }

/* footer — dark, bookends the hero */
.site-foot { background: var(--blue-night); color: #B9CBDC; margin-top: 72px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 28px; padding: 40px 20px 22px; }
.site-foot h3 { font-size: 15px; color: #fff; }
.site-foot p { color: #8FA5BA; font-size: 14px; max-width: 40ch; }
.foot-logo { font-size: 16px; margin-bottom: 8px; color: #fff; font-weight: 600; }
.foot-logo b { color: var(--red-bright); font-family: Archivo, sans-serif; }
.foot-list { list-style: none; margin: 0; padding: 0; font-size: 14px; display: grid; gap: 7px; }
.foot-list a { color: #B9CBDC; }
.foot-list a:hover { color: #fff; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 14px; padding-bottom: 20px; font-size: 13px; color: #8FA5BA; }

/* whatsapp floating button */
.wa-fab {
  position: fixed; bottom: 22px; left: 22px; z-index: 60;
  width: 52px; height: 52px; border-radius: 50%;
  background: #25D366; color: #fff; display: grid; place-items: center;
  box-shadow: 0 6px 18px rgba(0,0,0,.25);
}
.wa-fab:hover { background: #1EBE5A; color: #fff; }

/* empty state */
.empty { background: var(--paper); border: 1px dashed var(--line); border-radius: 10px; padding: 36px; text-align: center; color: var(--ink-soft); }

@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; padding-top: 48px; gap: 36px; }
  .device-card { justify-self: start; }
  .trust-brands { margin-inline-start: 0; }
}
@media (max-width: 860px) {
  .main-nav { display: none; }
  .product-page, .contact-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, a.card { transition: none; }
  a.card:hover { transform: none; }
}
