/* S-Move Technologies Ltd — corporate site
   ---------------------------------------------------------------------------
   The palette is sampled from the company logo ("SMT Logo with background"),
   not chosen alongside it: deep navy ground, electric blue, and a pale ice blue
   for the glow. The earlier scheme leaned on a teal cyan (#22d3ee) that does not
   appear in the logo at all, which is why the site never quite looked like the
   brand. Every accent here is a real colour out of that image.

   Layout is centred throughout — the page reads as a single column down the
   middle rather than a left-anchored document.
   --------------------------------------------------------------------------- */

:root {
  /* Sampled from the logo, dark to light */
  --navy-900:   #021a45;
  --navy-800:   #03265f;
  --navy-700:   #073881;
  --navy-600:   #06429d;
  --blue-500:   #0260df;
  --blue-400:   #2f8cf7;
  --sky-300:    #61bdfc;
  --sky-200:    #a1dcfd;
  --ice-100:    #bee5fd;
  --ice-50:     #e2f7fe;

  /* Roles */
  --ink:        #041b46;   /* page background */
  --ink-2:      #06265f;   /* raised surfaces */
  --ink-3:      #08316f;   /* cards */
  --line:       rgba(129, 201, 253, 0.24);
  --line-soft:  rgba(129, 201, 253, 0.14);
  --text:       #eef8ff;
  --muted:      #b3d6f5;
  --muted-2:    #8bb4dd;
  --brand:      var(--blue-400);
  --brand-2:    var(--sky-300);
  --on-accent:  #03204f;   /* text that sits on a gradient fill */

  --accent-grad: linear-gradient(120deg, #0a6ce8 0%, #3f9ffb 48%, #9ddafd 100%);
  --ring:        rgba(97, 189, 252, 0.45);
  --glow:        0 0 0 1px rgba(97,189,252,.18), 0 18px 46px -18px rgba(2, 96, 223, .75);
  --radius:      16px;
  --maxw:        1120px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* The circuit motif from the logo, as a tile. Used sparingly and at low
     opacity — it is texture, never decoration you notice on its own. */
  --circuit: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cg fill='none' stroke='%2361bdfc' stroke-width='1.1' opacity='0.55'%3E%3Cpath d='M0 42h46l16-16h52'/%3E%3Cpath d='M180 96h-40l-18 18H74'/%3E%3Cpath d='M22 180v-44l18-18v-32'/%3E%3Cpath d='M140 0v34l-16 16v38'/%3E%3Cpath d='M92 180v-28l22-22h66'/%3E%3C/g%3E%3Cg fill='%2361bdfc' opacity='0.75'%3E%3Ccircle cx='114' cy='26' r='3.2'/%3E%3Ccircle cx='74' cy='114' r='3.2'/%3E%3Ccircle cx='40' cy='118' r='2.6'/%3E%3Ccircle cx='124' cy='50' r='2.6'/%3E%3Ccircle cx='46' cy='42' r='2.2'/%3E%3C/g%3E%3C/svg%3E");
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  background: var(--ink);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Ambient light. Brighter and bluer than before, so the page carries the
   luminosity the logo has rather than sitting on near-black. */
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto 0;
  height: 760px;
  background:
    radial-gradient(760px 380px at 50% -10%, rgba(97, 189, 252, 0.26), transparent 62%),
    radial-gradient(620px 320px at 12% 2%,  rgba(2, 96, 223, 0.30),   transparent 60%),
    radial-gradient(620px 320px at 88% 0%,  rgba(161, 220, 253, 0.16), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

a { color: var(--brand-2); text-decoration: none; transition: color .16s ease; }
a:hover { color: var(--ice-50); }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { line-height: 1.14; letter-spacing: -0.022em; margin: 0 0 .5em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.35rem); }
p { margin: 0 0 1rem; }

.grad-text {
  background: var(--accent-grad);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: sheen 9s ease-in-out infinite;
}
@keyframes sheen {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

/* Reveal on scroll — set by script; without JS everything is simply visible. */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Header ---------- */
header.site {
  position: sticky; top: 0; z-index: 20;
  backdrop-filter: saturate(150%) blur(14px);
  background: rgba(4, 27, 70, 0.78);
  border-bottom: 1px solid var(--line-soft);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: flex; align-items: center; gap: 13px; }
.brand .logo { height: 44px; width: auto; display: block; flex: none; filter: drop-shadow(0 4px 14px rgba(47,140,247,.45)); }
.brand .name { font-weight: 700; font-size: 1.06rem; letter-spacing: -0.01em; }
.brand .name small {
  display: block; font-weight: 600; font-size: .68rem; color: var(--sky-300);
  letter-spacing: .14em; text-transform: uppercase;
}
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--muted); font-size: .95rem; font-weight: 500; }
.nav-links a:hover { color: var(--text); }
.nav-cta {
  padding: 10px 20px; border-radius: 11px;
  background: var(--accent-grad); color: var(--on-accent) !important; font-weight: 700;
  box-shadow: 0 8px 22px -10px rgba(47,140,247,.9);
}
.nav-cta:hover { filter: brightness(1.08); }
.nav-toggle { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 14px 28px; border-radius: 12px; font-weight: 650; font-size: 1rem;
  border: 1px solid transparent; cursor: pointer; transition: .18s ease;
}
.btn-primary { background: var(--accent-grad); color: var(--on-accent); box-shadow: 0 14px 30px -14px rgba(47,140,247,.95); }
.btn-primary:hover { filter: brightness(1.08); color: var(--on-accent); transform: translateY(-2px); }
.btn-ghost { border-color: var(--line); color: var(--text); background: rgba(97,189,252,.06); }
.btn-ghost:hover { border-color: var(--sky-300); background: rgba(97,189,252,.14); color: var(--text); }

/* ---------- Sections ---------- */
section { position: relative; z-index: 1; padding: 92px 0; }

/* The circuit texture, on two sections only. Any more and it stops being
   texture and starts being wallpaper. */
.patterned::before {
  content: "";
  position: absolute; inset: 0;
  background-image: var(--circuit);
  background-size: 180px 180px;
  opacity: .11;
  pointer-events: none;
  mask-image: radial-gradient(75% 65% at 50% 50%, #000 35%, transparent 100%);
  -webkit-mask-image: radial-gradient(75% 65% at 50% 50%, #000 35%, transparent 100%);
}

.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--sky-300); margin-bottom: 14px;
}
.section-head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.08rem; }

/* ---------- Hero ---------- */
.hero { padding: 86px 0 78px; text-align: center; }
.hero-mark {
  width: min(460px, 82vw); height: auto; display: block; margin: 0 auto 26px;
  filter: drop-shadow(0 22px 48px rgba(47,140,247,.55));
  animation: float 7s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
.hero .badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 16px; border-radius: 999px; border: 1px solid var(--line);
  background: rgba(97,189,252,.08); color: var(--ice-100); font-size: .82rem; margin-bottom: 24px;
}
.hero .badge .dot { width: 7px; height: 7px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 4px rgba(52,211,153,0.18); }
.hero h1 { font-size: clamp(2.4rem, 6vw, 4.1rem); max-width: 16ch; margin-inline: auto; }
.hero .lead {
  font-size: clamp(1.08rem, 2vw, 1.3rem); color: var(--muted);
  max-width: 60ch; margin: 22px auto 36px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.hero .strapline {
  margin-top: 30px; font-size: .82rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--sky-200); opacity: .85;
}

/* ---------- Stats strip ---------- */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line-soft); border: 1px solid var(--line-soft);
  border-radius: var(--radius); overflow: hidden; margin-top: 66px;
}
.stat { background: rgba(6, 38, 95, .72); padding: 26px 22px; text-align: center; }
.stat .n { font-size: 1.7rem; font-weight: 800; letter-spacing: -0.02em; }
.stat .l { color: var(--muted); font-size: .9rem; }

/* ---------- Product cards ---------- */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.card {
  background: linear-gradient(180deg, rgba(8,49,111,.92), rgba(3,38,95,.92));
  border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: 34px 30px; transition: .22s ease; position: relative; overflow: hidden;
  text-align: center;
}
.card::after {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 2px;
  background: var(--accent-grad); opacity: .65;
}
.card:hover { border-color: var(--ring); transform: translateY(-4px); box-shadow: var(--glow); }
.card .ico {
  width: 92px; height: 92px; border-radius: 22px; display: grid; place-items: center;
  background: rgba(2, 26, 69, .6); border: 1px solid var(--line);
  margin: 0 auto 20px; overflow: hidden; padding: 10px;
}
.card .ico img { width: 100%; height: 100%; object-fit: contain; display: block; }
/* Each product logo was drawn for a different ground and they cannot share one.
   SMO's own brand guide says the full-colour mark needs a light background --
   its purple and mid-grey have poor contrast on dark -- while Dealer's gold was
   drawn on black. So the panel follows the logo rather than the other way round. */
.card .ico.on-light { background: var(--ice-50); border-color: rgba(129,201,253,.55); }
.card .ico.on-dark  { background: #000; padding: 0; }
.card .ico.on-dark img { object-fit: cover; }
.card h3 { font-size: 1.42rem; }
.card .tag { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--sky-300); }
.card p { color: var(--muted); }
/* The list is centred as a block but reads left, which is what a list wants. */
/* A block (so the status pill below cannot flow onto the last bullet) that is
   only as wide as its content and centred, so the list reads left as a list
   should while still sitting in the middle of the card. */
.card ul { margin: 16px auto 0; padding: 0; list-style: none; width: max-content; max-width: 100%; text-align: left; }
.card li { color: var(--muted); font-size: .95rem; padding-left: 26px; position: relative; margin-bottom: 8px; }
.card li::before {
  content: ""; position: absolute; left: 0; top: .5em; width: 12px; height: 12px;
  background: var(--accent-grad); border-radius: 3px; opacity: .9;
}
.card .status {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 22px;
  font-size: .84rem; color: var(--muted);
  padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line-soft);
}
.card .status .dot { width: 8px; height: 8px; border-radius: 50%; background: #fbbf24; }
.card .status.live .dot { background: #34d399; animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(52,211,153,.55); }
  70%      { box-shadow: 0 0 0 8px rgba(52,211,153,0); }
}

/* ---------- Approach / values ---------- */
.approach {
  background: linear-gradient(180deg, rgba(3,38,95,.75), rgba(4,27,70,.75));
  border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft);
}
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value { text-align: center; }
.value h3 { font-size: 1.14rem; }
.value p { color: var(--muted); font-size: .96rem; margin: 0; }
.value .ico {
  color: var(--navy-900); margin: 0 auto 14px; width: 54px; height: 54px; border-radius: 15px;
  display: grid; place-items: center; background: var(--accent-grad);
  box-shadow: 0 12px 26px -12px rgba(47,140,247,.9);
}

/* ---------- About ---------- */
.about-grid { display: block; max-width: 760px; margin: 0 auto; text-align: center; }
.about-grid p { color: var(--muted); font-size: 1.06rem; }
.facts {
  background: rgba(8,49,111,.75); border: 1px solid var(--line-soft);
  border-radius: var(--radius); padding: 28px 30px; margin-top: 38px; text-align: left;
}
.facts h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; color: var(--sky-300); text-align: center; }
.facts dl { margin: 0; display: grid; grid-template-columns: 1fr; gap: 14px; }
.facts .row { display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px dashed var(--line-soft); padding-bottom: 12px; }
.facts .row:last-child { border-bottom: 0; padding-bottom: 0; }
.facts dt { color: var(--muted); font-size: .92rem; }
.facts dd { margin: 0; font-weight: 650; text-align: right; font-size: .94rem; }

/* ---------- Contact ---------- */
.contact { text-align: center; }
.contact .panel {
  background: rgba(8,49,111,.8); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 58px 32px; max-width: 760px; margin: 0 auto;
  background-image: radial-gradient(560px 220px at 50% -20%, rgba(97,189,252,0.22), transparent);
  box-shadow: var(--glow);
}
.contact h2 { font-size: clamp(1.9rem, 3.4vw, 2.5rem); }
.contact p { color: var(--muted); max-width: 48ch; margin: 0 auto 28px; }
.contact-methods { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */
footer.site { background: rgba(2, 26, 69, .9); border-top: 1px solid var(--line-soft); padding: 58px 0 34px; }
.foot-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 42px; }
.foot-brand .logo { height: 40px; width: auto; display: block; margin-bottom: 12px; }
.foot-brand .name { font-weight: 700; margin: 0 0 8px; }
.foot-brand p { color: var(--muted); font-size: .92rem; max-width: 34ch; }
.foot-col h4 { font-size: .76rem; text-transform: uppercase; letter-spacing: .14em; color: var(--sky-300); margin: 0 0 14px; }
.foot-col a, .foot-col span { display: block; color: var(--muted); font-size: .93rem; margin-bottom: 9px; }
.foot-col a:hover { color: var(--text); }
.legal { border-top: 1px solid var(--line-soft); padding-top: 24px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.legal p { color: var(--muted-2); font-size: .84rem; margin: 0; max-width: 62ch; }
.legal .reg { color: var(--muted); }

/* ---------- Legal pages ---------- */
.doc { padding: 64px 0 88px; max-width: 780px; margin: 0 auto; }
.doc h1 { font-size: 2.1rem; }
.doc h2 { font-size: 1.3rem; margin-top: 2em; }
.doc p, .doc li { color: var(--muted); }
.doc .meta { color: var(--muted-2); font-size: .9rem; margin-bottom: 2em; }
.back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 28px; color: var(--muted); font-size: .92rem; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .cards, .values, .foot-top { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; align-items: flex-start; gap: 18px;
    position: absolute; top: 74px; left: 0; right: 0; padding: 22px 24px;
    background: var(--ink-2); border-bottom: 1px solid var(--line);
  }
  .nav-toggle {
    display: inline-grid; place-items: center; width: 42px; height: 42px;
    background: rgba(97,189,252,.08); border: 1px solid var(--line); border-radius: 10px; color: var(--text); cursor: pointer;
  }
  section { padding: 66px 0; }
  .foot-top { gap: 28px; text-align: center; }
  .foot-brand .logo, .foot-brand p { margin-inline: auto; }
  .hero { padding: 56px 0 64px; }
}
@media (max-width: 520px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .legal { flex-direction: column; }
  .brand .name small { display: none; }
}

/* Anyone who has asked for less movement gets none of it. */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
