/* ============================================================================
   COLOR ROLES — navy is a BRAND color here, not a dark add-on.

   --navy family   carries the brand on every section, dark or light:
                   * as ink   — all headings and body text (--ink, --ink-soft)
                   * as tint  — the light surface (--bg), borders, shadows
                   * as fill  — hero, contact band, footer
                   That is what makes it read as identity instead of a
                   decorative banner: it is present even on white sections.
   --green #008050 the accent, and ONLY the accent: buttons, active nav,
                   links, icons, kickers. Never a large fill.
   --green-lite    the same accent role inside navy blocks, where #008050 is
                   too dark to read.

   Trial: if this reads as brand, the same two families go to the dashboard
   (navy chrome + navy ink, green accent) and the palette in
   app/frontend/src/theme/theme.ts follows. Until then the site and the app
   differ on purpose.
   ============================================================================ */

/* ============ RAMO — brand tokens ============ */
:root {
  --green: #008050;
  --green-deep: #2E4834;
  --green-soft: #e6f4ee;
  --ink: #0E2E3E;        /* navy ink: every heading and body line */
  --ink-soft: #55707E;   /* navy-grey secondary text */
  --bg: #F4F8FA;         /* navy-tinted light surface */
  --white: #ffffff;

  /* dark accents — used only by the hero and the footer, so the page keeps
     its light rhythm. The brand green is too dark to read on navy, so a
     lighter green takes over there. */
  --navy: #06293A;
  --navy-2: #0A3A4E;
  --navy-soft: rgba(14, 46, 62, 0.07);
  --green-lite: #2BD98C;
  --ink-on-navy: #F2F9F8;
  --ink-on-navy-soft: #A9C6CE;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(14, 46, 62, 0.10);
  --shadow-lg: 0 24px 60px rgba(14, 46, 62, 0.16);
  --font: 'Tajawal', 'Segoe UI', system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  width: min(1140px, 92%);
  margin-inline: auto;
}

/* ============ Header ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(244, 248, 250, 0.86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(14, 46, 62, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.7rem;
}

.brand { display: flex; align-items: center; }
.brand-logo { height: 52px; width: auto; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  font-weight: 500;
}

.main-nav a {
  color: var(--ink);
  transition: color 0.2s;
}
.main-nav a:hover { color: var(--green); }

.nav-cta {
  background: var(--green);
  color: var(--white) !important;
  padding: 0.45rem 1.2rem;
  border-radius: 999px;
  transition: background 0.2s, transform 0.2s;
}
.nav-cta:hover { background: var(--green-deep); transform: translateY(-1px); }

.header-actions { display: flex; align-items: center; gap: 0.8rem; }

.lang-toggle {
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--green);
  background: var(--green-soft);
  border: 1px solid rgba(0, 128, 80, 0.25);
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  cursor: pointer;
  transition: background 0.2s;
}
.lang-toggle:hover { background: #d5ecdf; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 24px; height: 2.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ============ Hero ============ */
.hero {
  position: relative;
  overflow: hidden;
  padding: 4.5rem 0 5rem;
  background:
    radial-gradient(760px 480px at 82% 4%, rgba(43, 217, 140, 0.16), transparent 70%),
    radial-gradient(620px 420px at 4% 98%, rgba(43, 217, 140, 0.10), transparent 70%),
    linear-gradient(160deg, var(--navy-2) 0%, var(--navy) 62%);
}

/* PCB background — Nothing-phone-back style: one continuous board of fine
   traces and vias, a SINGLE chip well inside the artwork. Drawn once and
   stretched to fit the section exactly, so nothing can ever be cropped. */
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 810' preserveAspectRatio='none'%3E%3Cg fill='none' stroke='%232BD98C' stroke-opacity='.13' stroke-width='1.6'%3E%3Cpath d='M100 90h280l50 50h220'/%3E%3Cpath d='M100 118h266l50 50h180'/%3E%3Cpath d='M100 146h252l50 50h140'/%3E%3Cpath d='M100 174h238l50 50h100'/%3E%3Cpath d='M1340 120v100l-60 60h-212'/%3E%3Cpath d='M1340 400h-180l-60-60h-60'/%3E%3Cpath d='M996 300h-140l-80 80h-200'/%3E%3Cpath d='M120 300h180l60 60h240'/%3E%3Cpath d='M120 340h160l60 60h180'/%3E%3Cpath d='M100 520h220l40-40h160'/%3E%3Cpath d='M100 560h240l40 40h300'/%3E%3Cpath d='M100 600h200l40 40h200'/%3E%3Cpath d='M1340 500v120l-50 50h-250'/%3E%3Cpath d='M1340 560h-160l-50 50h-150'/%3E%3Cpath d='M760 730h200l40-40'/%3E%3Cpath d='M400 720h180l40-40h100'/%3E%3Cpath d='M700 80h160l40 40h140'/%3E%3Cpath d='M760 120h120l40 40'/%3E%3Cpath d='M660 240v120l40 40'/%3E%3Cpath d='M1240 200v80l-40 40'/%3E%3Cpath d='M340 420v100l40 40'/%3E%3Cpath d='M900 500v80l-40 40'/%3E%3Cpath d='M1180 680h100'/%3E%3Cpath d='M180 700h140'/%3E%3C/g%3E%3Cg fill='none' stroke='%232BD98C' stroke-opacity='.2' stroke-width='1.6'%3E%3Ccircle cx='100' cy='90' r='4'/%3E%3Ccircle cx='650' cy='140' r='4'/%3E%3Ccircle cx='100' cy='118' r='4'/%3E%3Ccircle cx='596' cy='168' r='4'/%3E%3Ccircle cx='100' cy='146' r='4'/%3E%3Ccircle cx='542' cy='196' r='4'/%3E%3Ccircle cx='100' cy='174' r='4'/%3E%3Ccircle cx='488' cy='224' r='4'/%3E%3Ccircle cx='1340' cy='120' r='4'/%3E%3Ccircle cx='1340' cy='400' r='4'/%3E%3Ccircle cx='1040' cy='340' r='4'/%3E%3Ccircle cx='576' cy='380' r='4'/%3E%3Ccircle cx='120' cy='300' r='4'/%3E%3Ccircle cx='600' cy='360' r='4'/%3E%3Ccircle cx='120' cy='340' r='4'/%3E%3Ccircle cx='520' cy='400' r='4'/%3E%3Ccircle cx='100' cy='520' r='4'/%3E%3Ccircle cx='520' cy='480' r='4'/%3E%3Ccircle cx='100' cy='560' r='4'/%3E%3Ccircle cx='680' cy='600' r='4'/%3E%3Ccircle cx='100' cy='600' r='4'/%3E%3Ccircle cx='540' cy='640' r='4'/%3E%3Ccircle cx='1340' cy='500' r='4'/%3E%3Ccircle cx='1040' cy='670' r='4'/%3E%3Ccircle cx='1340' cy='560' r='4'/%3E%3Ccircle cx='980' cy='610' r='4'/%3E%3Ccircle cx='760' cy='730' r='4'/%3E%3Ccircle cx='1000' cy='690' r='4'/%3E%3Ccircle cx='400' cy='720' r='4'/%3E%3Ccircle cx='720' cy='680' r='4'/%3E%3Ccircle cx='700' cy='80' r='4'/%3E%3Ccircle cx='1040' cy='120' r='4'/%3E%3Ccircle cx='760' cy='120' r='4'/%3E%3Ccircle cx='920' cy='160' r='4'/%3E%3Ccircle cx='660' cy='240' r='4'/%3E%3Ccircle cx='700' cy='400' r='4'/%3E%3Ccircle cx='1240' cy='200' r='4'/%3E%3Ccircle cx='1200' cy='320' r='4'/%3E%3Ccircle cx='340' cy='420' r='4'/%3E%3Ccircle cx='380' cy='560' r='4'/%3E%3Ccircle cx='900' cy='500' r='4'/%3E%3Ccircle cx='860' cy='620' r='4'/%3E%3Ccircle cx='1180' cy='680' r='4'/%3E%3Ccircle cx='1280' cy='680' r='4'/%3E%3Ccircle cx='180' cy='700' r='4'/%3E%3Ccircle cx='320' cy='700' r='4'/%3E%3C/g%3E%3Cg fill='%232BD98C' fill-opacity='.08'%3E%3Crect x='1000' y='250' width='64' height='64' rx='6'/%3E%3C/g%3E%3Cg fill='%232BD98C' fill-opacity='.18'%3E%3Crect x='991' y='260' width='6' height='8'/%3E%3Crect x='991' y='276' width='6' height='8'/%3E%3Crect x='991' y='292' width='6' height='8'/%3E%3Crect x='1066' y='260' width='6' height='8'/%3E%3Crect x='1066' y='276' width='6' height='8'/%3E%3Crect x='1066' y='292' width='6' height='8'/%3E%3Crect x='1012' y='241' width='8' height='6'/%3E%3Crect x='1028' y='241' width='8' height='6'/%3E%3Crect x='1044' y='241' width='8' height='6'/%3E%3Crect x='1012' y='317' width='8' height='6'/%3E%3Crect x='1028' y='317' width='8' height='6'/%3E%3Crect x='1044' y='317' width='8' height='6'/%3E%3C/g%3E%3Cg fill='none' stroke='%2360F0B4' stroke-width='2' stroke-linecap='round'%3E%3Cpath stroke-opacity='.28' d='M-60 700H200q140 0 140-140V420q0-140 140-140h340q140 0 140-140V-40'/%3E%3Cpath stroke-opacity='.16' d='M1500 240h-260q-140 0-140 140v140q0 140-140 140H700q-140 0-140 140v100'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
  pointer-events: none;
}

/* dot-ring patches, like a printed silkscreen */
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='54' height='54'%3E%3Ccircle cx='27' cy='27' r='9.5' fill='none' stroke='%232BD98C' stroke-opacity='.55' stroke-width='1.3'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 54px 54px;
  opacity: 0.65;
  -webkit-mask-image:
    radial-gradient(circle 320px at 4% 6%, #000 20%, transparent 70%),
    radial-gradient(circle 300px at 97% 90%, #000 15%, transparent 70%);
  mask-image:
    radial-gradient(circle 320px at 4% 6%, #000 20%, transparent 70%),
    radial-gradient(circle 300px at 97% 90%, #000 15%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3rem;
}

.badge {
  display: inline-block;
  background: var(--green-soft);
  color: var(--green);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.2rem;
}

.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 900;
  /* Tajawal's Arabic ascenders need extra room — lines overlap below ~1.5 */
  line-height: 1.55;
  margin-bottom: 1rem;
}

.grad {
  background: linear-gradient(120deg, var(--green), #35b37f);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 34rem;
  margin-bottom: 1.8rem;
}

.hero-cta { display: flex; gap: 0.9rem; flex-wrap: wrap; margin-bottom: 2.4rem; }

.btn {
  display: inline-block;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.75rem 1.8rem;
  border-radius: 999px;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: linear-gradient(120deg, var(--green), #00A868);
  color: var(--white);
  box-shadow: 0 8px 22px rgba(0, 128, 80, 0.35);
}
.btn-primary:hover { box-shadow: 0 12px 28px rgba(0, 128, 80, 0.45); }

.btn-ghost {
  border: 2px solid rgba(14, 46, 62, 0.30);
  color: var(--ink);
}
.btn-ghost:hover { background: var(--navy-soft); border-color: var(--ink); }

.btn-light {
  background: var(--white);
  color: var(--green);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
}

/* horizontal row: circle with the symbol, word under it */
.hero-feats {
  display: flex;
  gap: 2.2rem;
  flex-wrap: wrap;
}
.feat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
}
.feat-ic {
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--white);
  border: 1.5px solid rgba(0, 128, 80, 0.22);
  color: var(--green);
  display: grid;
  place-items: center;
  box-shadow: 0 8px 20px rgba(14, 46, 62, 0.12);
  transition: transform 0.2s, box-shadow 0.2s;
}
.feat:hover .feat-ic { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(14, 46, 62, 0.18); }
.feat-ic svg { width: 26px; height: 26px; }
.feat-label {
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--ink);
}

/* --- Device mockup --- */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.device {
  position: relative;
  z-index: 2;
  animation: floaty 6s ease-in-out infinite;
}
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* --- Ramo T1, "acrylic" product design --- */
.device.t1 {
  width: 272px;
  height: 544px;
  border-radius: 16px;
  background: linear-gradient(160deg, #16171b 0%, #0a0b0e 55%, #101116 100%);
  box-shadow:
    0 40px 90px rgba(0, 0, 0, 0.45),
    0 8px 24px rgba(0, 0, 0, 0.35),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
/* glossy acrylic sheen */
.device.t1::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: 16px;
  background: linear-gradient(112deg,
    rgba(255, 255, 255, 0.10) 0%, rgba(255, 255, 255, 0.035) 22%,
    rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, 0) 78%,
    rgba(255, 255, 255, 0.05) 100%);
  pointer-events: none;
  z-index: 5;
}
.device.t1::after {
  content: "";
  position: absolute; top: 0; bottom: 0; left: 16%; width: 7%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.015));
  transform: skewX(-14deg);
  pointer-events: none;
  z-index: 5;
}

.t1-rlogo { position: absolute; top: 12px; left: 11px; height: 34px; width: auto; }
.t1-madein { position: absolute; top: 13px; right: 11px; height: 32px; width: auto; border-radius: 6px; }
.t1-wordmark {
  position: absolute; top: 17px; left: 0; right: 0;
  text-align: center;
  font-weight: 700; font-size: 11px;
  letter-spacing: 0.42em; text-indent: 0.42em;
  color: #c9cdd6;
}

.t1-lenses {
  position: absolute; top: 52px; left: 0; right: 0;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.lens-gap { width: 26px; }
.lens {
  width: 18px; height: 18px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 44% 38%, #2a3b52 0%, #16202e 35%, #05070b 72%);
  box-shadow:
    0 0 0 3px #020204,
    0 0 0 4px #1c1e24,
    inset 0 2px 4px rgba(255, 255, 255, 0.12);
  position: relative;
}
.lens.s { width: 15px; height: 15px; }
.lens.ir { background: radial-gradient(circle at 50% 42%, #3b1420 0%, #200a12 45%, #0a0507 75%); }
.lens::after {
  content: "";
  position: absolute; left: 18%; top: 12%;
  width: 32%; height: 24%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  filter: blur(1.2px);
  transform: rotate(-20deg);
}

.t1-icon { position: absolute; top: 51px; width: 18px; height: 18px; color: rgba(255, 255, 255, 0.5); }
.t1-icon-face { left: 26px; }
.t1-icon-palm { right: 26px; }

.t1-screen {
  position: absolute;
  top: 96px; left: 16px; right: 16px; bottom: 42px;
  border-radius: 8px;
  background: #0b0e14;
  overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}
.t1-bar {
  flex: none; height: 27px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 10px;
  font-size: 10px; font-weight: 500;
  color: #8b93a3;
  background: rgba(255, 255, 255, 0.02);
}
.t1-live { color: #35e39b; }

.t1-cam { flex: 1; position: relative; overflow: hidden; background: #0b0e14; }
.t1-cam > img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 20%;
}

.t1-success {
  position: absolute; inset: 0;
  display: none;
  flex-direction: column; align-items: center; justify-content: center; gap: 7px;
  background:
    radial-gradient(90% 80% at 50% 42%, rgba(20, 37, 28, 0.92) 0%, rgba(11, 14, 20, 0.97) 80%);
  z-index: 3;
}
.t1-success.show { display: flex; }
.t1-check {
  width: 54px; height: 54px;
  border-radius: 50%;
  border: 3px solid #3ddc84;
  color: #3ddc84;
  font-size: 26px; font-weight: 700;
  display: grid; place-items: center;
  box-shadow: 0 0 24px rgba(61, 220, 132, 0.35);
  animation: t1pop 0.45s ease-out both;
}
@keyframes t1pop {
  0% { transform: scale(0.6); opacity: 0; }
  60% { transform: scale(1.08); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}
.t1-ok-title { font-weight: 700; font-size: 13px; color: #eef1f5; }
.t1-ok-name { font-size: 11px; color: #9aa2af; }
.t1-ok-time { font-size: 16px; font-weight: 700; color: #3ddc84; direction: ltr; font-variant-numeric: tabular-nums; }

.t1-footer {
  flex: none; height: 62px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  background: #0b0e14;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}
.t1-foot-main { font-weight: 700; font-size: 12.5px; color: #eef1f5; animation: t1pulse 2s ease-in-out infinite; }
.t1-foot-main.ok { color: #3ddc84; animation: none; }
@keyframes t1pulse {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 1; }
}
.t1-foot-sub { font-size: 10px; color: #6f7683; }

.t1-caption {
  position: absolute; bottom: 12px; left: 0; right: 0;
  text-align: center;
  font-size: 9.5px; font-weight: 500;
  letter-spacing: 0.12em;
  color: #565c68;
}

.scanline {
  position: absolute;
  left: 8%; right: 8%;
  z-index: 2;
  height: 2px;
  background: linear-gradient(90deg, transparent, #35e39b, transparent);
  box-shadow: 0 0 12px 2px rgba(53, 227, 155, 0.5);
  animation: scan 2.6s ease-in-out infinite;
}
@keyframes scan {
  0%, 100% { top: 12%; }
  50% { top: 84%; }
}

.corner { position: absolute; width: 16px; height: 16px; border: 2px solid rgba(53, 227, 155, 0.8); z-index: 2; }
.corner.tl { top: 8px; inset-inline-start: 8px; border-bottom: none; border-inline-end: none; }
.corner.tr { top: 8px; inset-inline-end: 8px; border-bottom: none; border-inline-start: none; }
.corner.bl { bottom: 8px; inset-inline-start: 8px; border-top: none; border-inline-end: none; }
.corner.br { bottom: 8px; inset-inline-end: 8px; border-top: none; border-inline-start: none; }

.device-glow {
  position: absolute;
  bottom: -8%;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(0, 128, 80, 0.22), transparent 65%);
  filter: blur(10px);
  z-index: 1;
}

/* ============ Sections ============ */
.section { padding: 5rem 0; }
.section-alt { background: var(--white); }

.section-head {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto 3rem;
}
.kicker {
  display: inline-block;
  color: var(--green);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  background: var(--green-soft);
  padding: 0.25rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 0.8rem;
}
.section-head h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 900;
  margin-bottom: 0.6rem;
}
.section-head p { color: var(--ink-soft); }

.grid { display: grid; gap: 1.4rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); max-width: 60rem; margin-inline: auto; }

.card {
  background: var(--white);
  border: 1px solid rgba(14, 46, 62, 0.07);
  border-radius: var(--radius);
  padding: 1.8rem 1.5rem;
  box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.section-alt .card { background: var(--bg); }

.card-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: linear-gradient(150deg, var(--navy-2), var(--navy));
  color: var(--green-lite);
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  box-shadow: 0 6px 16px rgba(14, 46, 62, 0.22);
}
.card-icon svg { width: 28px; height: 28px; }

.card h3 { font-size: 1.1rem; font-weight: 800; margin-bottom: 0.4rem; }
.card p { color: var(--ink-soft); font-size: 0.95rem; }

.soon-strip {
  margin: 2.2rem auto 0;
  max-width: 52rem;
  text-align: center;
  background: var(--white);
  border: 1.5px dashed rgba(14, 46, 62, 0.25);
  border-radius: 999px;
  padding: 0.7rem 1.6rem;
  color: var(--ink-soft);
  font-size: 0.92rem;
}
.soon-strip b { color: var(--green); margin-inline-end: 0.35rem; }

/* ============ Steps ============ */
.steps {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 1rem;
}
.step {
  flex: 1;
  max-width: 300px;
  text-align: center;
  background: var(--bg);
  border-radius: var(--radius);
  padding: 2rem 1.4rem;
  border: 1px solid rgba(14, 46, 62, 0.07);
}
.step-num {
  display: inline-grid;
  place-items: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--navy-2), var(--navy));
  color: var(--green-lite);
  font-size: 1.3rem;
  font-weight: 900;
  margin-bottom: 0.9rem;
  box-shadow: 0 6px 18px rgba(14, 46, 62, 0.28);
}
.step h3 { font-weight: 800; margin-bottom: 0.3rem; }
.step p { color: var(--ink-soft); font-size: 0.93rem; }
.step-arrow {
  align-self: center;
  color: var(--green);
  font-size: 2rem;
  font-weight: 900;
  opacity: 0.5;
}
[dir="ltr"] .step-arrow { transform: scaleX(-1); }

/* ============ Platform ============ */
.platform-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3.5rem;
  align-items: center;
}
.platform-text h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 900; margin-bottom: 0.6rem; }
.platform-text > p { color: var(--ink-soft); margin-bottom: 1.4rem; }

.checklist li {
  position: relative;
  padding-inline-start: 2rem;
  margin-bottom: 0.75rem;
  font-weight: 500;
}
.checklist li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.32rem;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--green-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23008050' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4 10-11'/%3E%3C/svg%3E") center / 11px no-repeat;
}

.dash-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid rgba(14, 46, 62, 0.08);
  box-shadow: var(--shadow-lg);
  padding: 1.6rem;
  transform: rotate(-1.5deg);
}
[dir="ltr"] .dash-card { transform: rotate(1.5deg); }

.dash-title { font-weight: 800; margin-bottom: 1.2rem; color: var(--ink); }

.dash-row {
  display: grid;
  grid-template-columns: 1fr 2fr auto;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.9rem;
  font-size: 0.9rem;
}
.dash-row span { color: var(--ink-soft); }
.dash-row b { font-variant-numeric: tabular-nums; }

.bar {
  height: 9px;
  background: #E7EEF2;
  border-radius: 99px;
  overflow: hidden;
}
.bar i {
  display: block;
  height: 100%;
  width: var(--w);
  border-radius: 99px;
  background: linear-gradient(90deg, var(--green), #35b37f);
  transform-origin: right;
  animation: grow 1.2s ease-out both;
}
[dir="ltr"] .bar i { transform-origin: left; }
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.dash-foot { display: flex; gap: 0.5rem; margin-top: 1.2rem; flex-wrap: wrap; }
.chip {
  font-size: 0.78rem;
  font-weight: 700;
  background: var(--bg);
  border: 1px solid rgba(14, 46, 62, 0.12);
  border-radius: 999px;
  padding: 0.25rem 0.8rem;
  color: var(--ink-soft);
}
.chip-green { background: var(--green-soft); color: var(--green); border-color: rgba(0, 128, 80, 0.25); }

/* ============ Ecosystem ============ */
.eco-flow {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0;
}
.eco-node {
  flex: 1;
  max-width: 320px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}
.eco-node .card-icon { margin-bottom: 0.5rem; }
.eco-where {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--green);
  letter-spacing: 0.03em;
}
.eco-node h3 { font-weight: 900; font-size: 1.15rem; }
.eco-node p { color: var(--ink-soft); font-size: 0.93rem; }

.eco-link {
  flex: none;
  width: 74px;
  align-self: center;
  height: 2px;
  position: relative;
  background-image: linear-gradient(90deg, rgba(0, 128, 80, 0.35) 55%, transparent 45%);
  background-size: 10px 2px;
}
.eco-link i {
  position: absolute;
  top: -3.5px;
  inset-inline-start: 0;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px rgba(0, 128, 80, 0.6);
  animation: ecoTravel 2.4s linear infinite;
}
@keyframes ecoTravel {
  0% { inset-inline-start: 0; opacity: 0; }
  12% { opacity: 1; }
  88% { opacity: 1; }
  100% { inset-inline-start: calc(100% - 9px); opacity: 0; }
}

.eco-note {
  margin: 2.2rem auto 0;
  max-width: 46rem;
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.ph-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  color: var(--green);
  font-weight: 700;
  font-size: 0.85rem;
  text-align: center;
  opacity: 0.8;
}
.ph-stack svg { width: 42px; height: 42px; }
.ph-stack em {
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  background: var(--green-soft);
  border: 1px solid rgba(0, 128, 80, 0.25);
  border-radius: 999px;
  padding: 0.15rem 0.7rem;
}
/* ============ Gallery placeholders ============ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.gallery-tile {
  aspect-ratio: 16 / 10;
  border-radius: var(--radius);
  border: 2px dashed rgba(14, 46, 62, 0.22);
  background: linear-gradient(150deg, var(--white), rgba(14, 46, 62, 0.06));
  display: grid;
  place-items: center;
  transition: transform 0.25s, box-shadow 0.25s;
}
.gallery-tile:hover { transform: translateY(-5px); box-shadow: var(--shadow); }

/* ============ Deploy ============ */
.deploy-card { text-align: center; padding: 2.4rem 2rem; }
.deploy-card .card-icon { margin-inline: auto; }

/* ============ CTA band ============ */
/* navy bookend: the hero opens dark, this closes dark, the middle stays light */
.cta-band {
  position: relative;
  background:
    radial-gradient(620px 340px at 22% 12%, rgba(43, 217, 140, 0.20), transparent 70%),
    radial-gradient(520px 300px at 84% 92%, rgba(43, 217, 140, 0.12), transparent 70%),
    linear-gradient(140deg, var(--navy-2), var(--navy) 65%);
  color: var(--ink-on-navy);
  padding: 4.5rem 0;
  text-align: center;
}
.cta-inner p { color: var(--ink-on-navy-soft); }
.cta-band .btn-light {
  background: linear-gradient(120deg, var(--green-lite), #63EAB2);
  color: #06293A;
  font-weight: 800;
  box-shadow: 0 8px 26px rgba(43, 217, 140, 0.28);
}
.cta-band .btn-light:hover { box-shadow: 0 12px 32px rgba(43, 217, 140, 0.42); }
/* faint white PCB traces over the band — single composition, no tiling */
.cta-band::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 810'%3E%3Cg fill='none' stroke='%232BD98C' stroke-opacity='.12' stroke-width='2'%3E%3Cpath d='M120 140h240l40 40h196'/%3E%3Cpath d='M96 300h180l60 60v120'/%3E%3Cpath d='M1320 100v80l-60 60h-140'/%3E%3Cpath d='M1250 700h-150l-60-60h-180'/%3E%3Cpath d='M258 586h130l50 50h160'/%3E%3Cpath d='M900 120h140l40 40'/%3E%3Cpath d='M990 520h130l60-60v-100'/%3E%3C/g%3E%3Cg fill='none' stroke='%232BD98C' stroke-opacity='.18' stroke-width='2'%3E%3Ccircle cx='120' cy='140' r='4.5'/%3E%3Ccircle cx='596' cy='180' r='4.5'/%3E%3Ccircle cx='96' cy='300' r='4.5'/%3E%3Ccircle cx='336' cy='480' r='4.5'/%3E%3Ccircle cx='1320' cy='100' r='4.5'/%3E%3Ccircle cx='1120' cy='240' r='4.5'/%3E%3Ccircle cx='1250' cy='700' r='4.5'/%3E%3Ccircle cx='860' cy='640' r='4.5'/%3E%3Ccircle cx='258' cy='586' r='4.5'/%3E%3Ccircle cx='598' cy='636' r='4.5'/%3E%3Ccircle cx='900' cy='120' r='4.5'/%3E%3Ccircle cx='1080' cy='160' r='4.5'/%3E%3Ccircle cx='990' cy='520' r='4.5'/%3E%3Ccircle cx='1180' cy='360' r='4.5'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
  pointer-events: none;
}
.cta-inner { position: relative; }
.cta-inner h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); font-weight: 900; margin-bottom: 0.6rem; }
.cta-inner p { opacity: 0.9; margin-bottom: 1.8rem; }

/* ============ Footer ============ */
.site-footer {
  background: var(--navy);
  color: var(--ink-on-navy-soft);
  padding-top: 3rem;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
  padding-bottom: 2rem;
}
.site-footer .brand { margin-bottom: 0.9rem; }
.footer-brand p { max-width: 24rem; font-size: 0.92rem; }
.madein-badge { height: 44px; width: auto; border-radius: 8px; margin-top: 1rem; opacity: 0.9; }
.footer-links { display: flex; gap: 1.6rem; font-weight: 500; }
.footer-links a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-block: 1.1rem;
  font-size: 0.85rem;
  opacity: 0.7;
}

/* ============ Hero on navy ============
   The hero and the footer are the only dark blocks; everything between them
   stays light. Brand green (#008050) disappears against navy, so the lighter
   --green-lite takes over inside these two blocks only. */
.hero h1 { color: var(--ink-on-navy); }
.hero .grad { background: linear-gradient(120deg, var(--green-lite), #9BF3CE); -webkit-background-clip: text; background-clip: text; }
.hero .lead { color: var(--ink-on-navy-soft); }

.hero .btn-primary {
  background: linear-gradient(120deg, var(--green-lite), #63EAB2);
  color: #06293A;
  font-weight: 800;
  box-shadow: 0 8px 26px rgba(43, 217, 140, 0.28);
}
.hero .btn-primary:hover { box-shadow: 0 12px 32px rgba(43, 217, 140, 0.42); }
.hero .btn-ghost { border-color: rgba(43, 217, 140, 0.45); color: var(--green-lite); }
.hero .btn-ghost:hover { background: rgba(43, 217, 140, 0.12); border-color: var(--green-lite); }

.hero .feat-ic {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(43, 217, 140, 0.35);
  color: var(--green-lite);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
}
.hero .feat:hover .feat-ic {
  border-color: var(--green-lite);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.28), 0 0 20px rgba(43, 217, 140, 0.22);
}
.hero .feat-label { color: var(--ink-on-navy); }

/* the T1 is a near-black slab — without this it sinks into the navy */
.hero .device-glow {
  top: 50%;
  bottom: auto;
  transform: translateY(-50%);
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(43, 217, 140, 0.30), transparent 62%);
  filter: blur(26px);
}
.hero .device.t1 { outline: 1px solid rgba(255, 255, 255, 0.10); outline-offset: -1px; }

/* ============ Reveal animation ============ */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .device, .scanline, .t1-check, .t1-foot-main { animation: none; }
  html { scroll-behavior: auto; }
}

/* ============ Responsive ============ */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .eco-flow { flex-direction: column; align-items: center; }
  .eco-link { transform: rotate(90deg); margin: 34px 0; }
  .eco-node { max-width: 420px; width: 100%; }
  .hero-text .lead { margin-inline: auto; }
  .hero-cta, .hero-feats { justify-content: center; }
  .hero-visual { margin-top: 1rem; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .platform-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .steps { flex-direction: column; align-items: center; }
  .step { max-width: 420px; width: 100%; }
  .step-arrow { transform: rotate(-90deg); }
  [dir="ltr"] .step-arrow { transform: rotate(-90deg) scaleX(-1); }
}

@media (max-width: 680px) {
  .main-nav {
    position: absolute;
    top: 100%;
    inset-inline: 0;
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    background: var(--bg);
    border-bottom: 1px solid rgba(14, 46, 62, 0.1);
    padding: 1rem 6%;
    gap: 1rem;
    display: none;
    box-shadow: var(--shadow);
  }
  .main-nav.open { display: flex; }
  .nav-toggle { display: flex; }
  .grid-3, .grid-2, .gallery-grid { grid-template-columns: 1fr; }
  .brand-logo { height: 42px; }
}

/* ============ Navy bookend: make both dark ends rhyme ============
   The hero and the footer carry the same silkscreen dot texture, so the two
   navy blocks read as one deliberate frame rather than a stray dark banner. */
.site-footer { position: relative; overflow: hidden; }
.site-footer::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='54' height='54'%3E%3Ccircle cx='27' cy='27' r='9.5' fill='none' stroke='%232BD98C' stroke-opacity='.5' stroke-width='1.3'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 54px 54px;
  opacity: 0.5;
  -webkit-mask-image: radial-gradient(circle 300px at 97% 8%, #000 15%, transparent 70%);
  mask-image: radial-gradient(circle 300px at 97% 8%, #000 15%, transparent 70%);
  pointer-events: none;
}
.site-footer > .container { position: relative; z-index: 1; }
.site-footer .footer-links a:hover { color: var(--green-lite); }
