/* ============================================================
   Kapslock Automation Systems — KSS Suite
   Premium-light design system. Shared across all pages.
   Per-product accents are set with --accent / --accent-2 / --tint
   on a [data-accent] wrapper (see the bottom of this file).
   ============================================================ */

:root {
  color-scheme: light;

  /* surfaces */
  --bg:            #f6f8fc;
  --bg-deep:       #eef2f9;
  --surface:       #ffffff;
  --surface-soft:  #f3f6fc;
  --glass:         rgba(255, 255, 255, 0.72);
  --glass-strong:  rgba(255, 255, 255, 0.86);

  /* ink */
  --ink:           #0e1729;
  --ink-soft:      #3c4a63;
  --muted:         #6a778f;
  --line:          rgba(14, 23, 41, 0.10);
  --line-soft:     rgba(14, 23, 41, 0.06);

  /* brand + default accent (Kapslock blue) */
  --brand:         #2457d6;
  --brand-deep:    #16307e;
  --accent:        #2457d6;
  --accent-2:      #4f86ff;
  --accent-deep:   #16307e;
  --tint:          #e9f0ff;
  --tint-2:        #eaf6ff;

  /* status */
  --good:          #14b87a;
  --warn:          #f5a623;
  --bad:           #ff4d4f;

  /* depth */
  --shadow-sm:     0 10px 28px rgba(16, 28, 56, 0.07);
  --shadow:        0 22px 60px rgba(16, 28, 56, 0.12);
  --shadow-lg:     0 40px 100px rgba(16, 28, 56, 0.18);

  /* geometry */
  --r-sm: 16px;
  --r:    24px;
  --r-lg: 34px;
  --r-xl: 44px;

  --maxw: 1240px;
  --pad:  clamp(20px, 5vw, 76px);

  --font-body: "Manrope", "Segoe UI", system-ui, sans-serif;
  --font-display: "Sora", "Manrope", sans-serif;
  --font-mono: "Special Elite", "Courier New", monospace;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
  background:
    radial-gradient(1100px 620px at 12% -6%, rgba(79, 134, 255, 0.16), transparent 60%),
    radial-gradient(900px 560px at 96% 2%, rgba(20, 184, 122, 0.10), transparent 58%),
    linear-gradient(180deg, #fbfcff 0%, #f4f7fc 46%, #eef2f9 100%);
  background-attachment: fixed;
}

/* faint engineering grid behind everything */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(14, 23, 41, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 23, 41, 0.035) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(120% 90% at 50% 0%, #000 0%, transparent 72%);
  pointer-events: none;
}

.signal-field {
  position: fixed;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  opacity: 0.55;
  mix-blend-mode: multiply;
  pointer-events: none;
}

/* ---------- typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  letter-spacing: -0.035em;
  line-height: 1.04;
  margin: 0 0 0.5em;
  color: var(--ink);
}
p { margin: 0 0 1em; }
a { color: inherit; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--glass);
  box-shadow: var(--shadow-sm);
  color: var(--accent-deep);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent);
}

.lede {
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
  line-height: 1.7;
}

.wrap { width: min(var(--maxw), 100%); margin-inline: auto; padding-inline: var(--pad); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.96rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease, color .18s ease;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  box-shadow: 0 18px 38px color-mix(in srgb, var(--accent) 30%, transparent);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 24px 52px color-mix(in srgb, var(--accent) 38%, transparent); }
.btn-ghost {
  background: var(--glass-strong);
  border-color: var(--line);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.btn-ghost:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); color: var(--accent-deep); }
.btn-light { background: rgba(255,255,255,0.14); color:#fff; border-color: rgba(255,255,255,0.28); }
.btn-light:hover { background: rgba(255,255,255,0.22); transform: translateY(-2px); }

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  text-decoration: none;
  color: var(--accent-deep);
  border-bottom: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
  padding-bottom: 2px;
  transition: gap .18s ease, color .18s ease;
}
.arrow-link:hover { gap: 13px; }

/* ============================================================
   Header / nav
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line-soft);
  background: var(--glass);
  backdrop-filter: blur(18px) saturate(140%);
  transition: box-shadow .25s ease, background .25s ease;
}
.site-header.is-stuck { box-shadow: 0 10px 30px rgba(16, 28, 56, 0.08); background: var(--glass-strong); }
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 76px;
  width: min(var(--maxw), 100%);
  margin-inline: auto;
  padding-inline: var(--pad);
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); min-width: 0; }
.brand img { width: 46px; height: 46px; object-fit: contain; filter: drop-shadow(0 8px 14px rgba(36,87,214,0.18)); }
.brand-name { display: grid; line-height: 1.05; min-width: 0; }
.brand-name b { font-family: var(--font-display); font-size: 1.02rem; letter-spacing: -0.02em; }
.brand-name span { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.nav { display: flex; align-items: center; gap: clamp(8px, 1.6vw, 22px); margin-left: auto; }
.nav a {
  position: relative;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--ink-soft);
  padding: 8px 2px;
  transition: color .18s ease;
}
.nav a:hover, .nav a.active { color: var(--accent-deep); }
.nav a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2)); border-radius: 2px;
}
.nav .btn { min-height: 44px; padding: 0 18px; font-size: 0.88rem; }
.nav-toggle { display: none; }

/* language switcher */
.lang-switch { position: relative; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 7px; height: 44px; padding: 0 12px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--glass-strong);
  color: var(--ink-soft); font: inherit; font-weight: 800; font-size: 0.84rem; letter-spacing: 0.02em;
  cursor: pointer; transition: border-color .18s ease, color .18s ease, transform .18s ease;
}
.lang-btn:hover { border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); color: var(--accent-deep); transform: translateY(-1px); }
.lang-btn > svg { width: 16px; height: 16px; }
.lang-btn .chev { width: 12px; height: 12px; transition: transform .18s ease; }
.lang-switch.open .lang-btn .chev { transform: rotate(180deg); }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 168px; margin: 0; padding: 6px; list-style: none;
  border: 1px solid var(--line); border-radius: 16px; background: var(--glass-strong); backdrop-filter: blur(18px);
  box-shadow: var(--shadow); z-index: 70;
  opacity: 0; visibility: hidden; transform: translateY(-8px); transition: .18s ease;
}
.lang-switch.open .lang-menu { opacity: 1; visibility: visible; transform: none; }
.lang-menu li { margin: 0; }
.lang-menu button {
  display: flex; align-items: center; gap: 8px; width: 100%; padding: 10px 12px; border: 0; border-radius: 11px;
  background: none; color: var(--ink); font: inherit; font-weight: 600; font-size: 0.92rem; text-align: left; cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.lang-menu button:hover { background: var(--tint); color: var(--accent-deep); }
.lang-menu button[aria-selected="true"] { color: var(--accent-deep); font-weight: 800; }
.lang-menu button[aria-selected="true"]::after { content: "✓"; margin-left: auto; font-weight: 800; }
@media (max-width: 940px) {
  .lang-switch { width: 100%; }
  .lang-btn { width: 100%; justify-content: center; height: 48px; }
  .lang-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 4px 0 0; min-width: 0; background: none; backdrop-filter: none; }
  .lang-switch:not(.open) .lang-menu { display: none; }
  .lang-menu button { justify-content: center; }
}

@media (max-width: 940px) {
  .nav-toggle {
    display: inline-grid; place-items: center; margin-left: auto;
    width: 46px; height: 46px; border-radius: 14px;
    border: 1px solid var(--line); background: var(--glass-strong); cursor: pointer;
  }
  .nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
    content: ""; display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: .2s;
  }
  .nav-toggle span::before { transform: translateY(-6px); }
  .nav-toggle span::after { transform: translateY(4px); }
  .nav {
    position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: stretch; gap: 4px;
    margin: 0; padding: 16px var(--pad) 24px;
    background: var(--glass-strong); backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    transform: translateY(-12px); opacity: 0; visibility: hidden; transition: .22s ease;
  }
  .nav.open { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: 14px 6px; border-bottom: 1px solid var(--line-soft); font-size: 1rem; }
  .nav .btn { margin-top: 10px; }
}

/* ============================================================
   Sections / shared layout
   ============================================================ */
.section { padding-block: clamp(64px, 9vw, 132px); }
.section-head { max-width: 760px; margin-bottom: clamp(34px, 5vw, 60px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(2rem, 4.4vw, 3.6rem); }
.section-head p { margin-top: 14px; }

.h-display { font-size: clamp(2.6rem, 7vw, 5.6rem); letter-spacing: -0.045em; }

/* ============================================================
   Home hero
   ============================================================ */
.hero { position: relative; padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(40px, 6vw, 80px); }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.hero h1 { font-size: clamp(2.7rem, 6.2vw, 5.2rem); }
.hero h1 .grad {
  background: linear-gradient(110deg, var(--accent-deep), var(--accent) 55%, var(--accent-2));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero .lede { margin-top: 6px; max-width: 36ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 40px; }
.hero-meta div { min-width: 0; }
.hero-meta b { display: block; font-family: var(--font-display); font-size: clamp(1.5rem, 2.4vw, 2.1rem); letter-spacing: -0.03em; }
.hero-meta span { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }

.hero-visual {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  background:
    radial-gradient(120% 90% at 20% 0%, rgba(255,255,255,0.5), transparent 60%),
    linear-gradient(160deg, #0c1730, #14254b 60%, #1b3568);
  aspect-ratio: 4 / 3;
}
.hero-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-visual::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(8,16,31,0.28));
  pointer-events: none;
}
.hero-badge {
  position: absolute; left: 18px; bottom: 18px; z-index: 2;
  display: inline-flex; align-items: center; gap: 9px;
  padding: 9px 14px; border-radius: 999px;
  background: rgba(10,18,34,0.6); border: 1px solid rgba(255,255,255,0.18);
  color: #eaf2ff; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.03em;
  backdrop-filter: blur(8px);
}
.hero-badge .live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--good); box-shadow: 0 0 0 4px rgba(20,184,122,0.25); animation: pulse 2.4s ease-in-out infinite; }

@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { aspect-ratio: 16 / 11; }
}

/* ---------- trust / ticker ---------- */
.ticker { border-block: 1px solid var(--line); background: var(--glass); overflow: hidden; }
.ticker-row { display: flex; gap: 0; width: min(var(--maxw), 100%); margin-inline: auto; }
.ticker-row span {
  flex: 1 0 auto; padding: 16px clamp(14px, 2.4vw, 30px);
  font-size: 0.78rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-soft); text-align: center; white-space: nowrap;
  border-left: 1px solid var(--line-soft);
}
.ticker-row span:first-child { border-left: 0; }

/* ============================================================
   Product cards (home suite grid)
   ============================================================ */
.suite { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(18px, 2.4vw, 26px); }
.product-card {
  position: relative;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  padding: clamp(26px, 3vw, 38px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.product-card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 80% at 100% 0%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 60%);
  opacity: 0; transition: opacity .25s ease;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--accent) 30%, var(--line)); }
.product-card:hover::before { opacity: 1; }
.product-card .pc-tag {
  display: inline-flex; align-items: center; gap: 8px; width: fit-content;
  padding: 6px 12px; border-radius: 999px;
  background: var(--tint); color: var(--accent-deep);
  font-size: 0.68rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
}
.product-card .pc-icon {
  width: 56px; height: 56px; margin: 18px 0 16px; border-radius: 16px;
  display: grid; place-items: center;
  background: linear-gradient(150deg, color-mix(in srgb, var(--accent) 18%, #fff), color-mix(in srgb, var(--accent-2) 12%, #fff));
  border: 1px solid color-mix(in srgb, var(--accent) 24%, var(--line));
  color: var(--accent-deep);
}
.product-card .pc-icon svg { width: 28px; height: 28px; }
.product-card h3 { font-size: clamp(1.4rem, 2.2vw, 1.95rem); margin-bottom: 8px; }
.product-card .pc-code { font-size: 0.78rem; font-weight: 800; letter-spacing: 0.1em; color: var(--accent); margin-bottom: 12px; text-transform: uppercase; }
.product-card p { color: var(--ink-soft); margin-bottom: 18px; }
.product-card .pc-foot { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; color: var(--accent-deep); }
.product-card .pc-foot svg { width: 18px; height: 18px; transition: transform .18s ease; }
.product-card:hover .pc-foot svg { transform: translateX(4px); }

@media (max-width: 860px) { .suite { grid-template-columns: 1fr; } }

/* ---------- feature chips / list ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips span {
  padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--glass-strong); font-size: 0.84rem; font-weight: 700; color: var(--ink-soft);
}
.tick-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.tick-list li { position: relative; padding-left: 32px; color: var(--ink-soft); line-height: 1.6; }
.tick-list li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 7px;
  background: color-mix(in srgb, var(--accent) 16%, #fff);
  border: 1px solid color-mix(in srgb, var(--accent) 30%, var(--line));
}
.tick-list li::after {
  content: ""; position: absolute; left: 7px; top: 7px; width: 5px; height: 9px;
  border: solid var(--accent-deep); border-width: 0 2px 2px 0; transform: rotate(45deg);
}

/* ============================================================
   Feature grid (cards)
   ============================================================ */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 22px); }
.feature {
  padding: clamp(22px, 2.4vw, 30px);
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--accent) 24%, var(--line)); }
.feature .f-icon {
  width: 46px; height: 46px; border-radius: 13px; margin-bottom: 16px; display: grid; place-items: center;
  background: linear-gradient(150deg, color-mix(in srgb, var(--accent) 16%, #fff), #fff);
  border: 1px solid color-mix(in srgb, var(--accent) 22%, var(--line)); color: var(--accent-deep);
}
.feature .f-icon svg { width: 24px; height: 24px; }
.feature h4 { font-size: 1.16rem; margin-bottom: 8px; }
.feature p { color: var(--ink-soft); font-size: 0.96rem; margin: 0; }
@media (max-width: 940px) { .feature-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .feature-grid { grid-template-columns: 1fr; } }

/* ============================================================
   Product page hero band (dark, accented)
   ============================================================ */
.phero {
  position: relative;
  overflow: hidden;
  color: #eaf1ff;
  background:
    radial-gradient(900px 520px at 12% 0%, color-mix(in srgb, var(--accent) 42%, transparent), transparent 60%),
    radial-gradient(820px 520px at 92% 8%, color-mix(in srgb, var(--accent-2) 34%, transparent), transparent 58%),
    linear-gradient(160deg, var(--phero-1, #07142e) 0%, var(--phero-2, #0c1f47) 52%, var(--phero-3, #112a5e) 100%);
}
.phero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, #000, transparent 88%);
}
.phero-inner { position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(28px, 5vw, 60px); align-items: center; padding-block: clamp(56px, 8vw, 104px); }
.phero .eyebrow { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.18); color: #dbe7ff; }
.phero .eyebrow::before { box-shadow: 0 0 0 4px rgba(255,255,255,0.12); }
.phero h1 { color: #fff; font-size: clamp(2.4rem, 5vw, 4.2rem); }
.phero .lede { color: rgba(232, 240, 255, 0.82); }
.phero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.phero-card {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: var(--shadow-lg);
  background: rgba(255,255,255,0.05);
}
.phero-card img { display: block; width: 100%; height: auto; }
@media (max-width: 940px) { .phero-inner { grid-template-columns: 1fr; } }

/* sub-nav for product pages */
.subnav { position: sticky; top: 76px; z-index: 30; border-bottom: 1px solid var(--line); background: var(--glass); backdrop-filter: blur(16px); }
.subnav-inner { display: flex; gap: 6px; width: min(var(--maxw), 100%); margin-inline: auto; padding: 10px var(--pad); overflow-x: auto; scrollbar-width: none; }
.subnav-inner::-webkit-scrollbar { display: none; }
.subnav a { white-space: nowrap; padding: 8px 16px; border-radius: 999px; font-size: 0.86rem; font-weight: 700; text-decoration: none; color: var(--ink-soft); transition: .18s; }
.subnav a:hover { background: var(--tint); color: var(--accent-deep); }

/* split stage (copy + visual) on product pages */
.stage { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: clamp(26px, 4vw, 56px); align-items: center; }
.stage.flip { grid-template-columns: 1.08fr 0.92fr; }
.stage.flip .stage-visual { order: -1; }
.stage-visual {
  border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line);
  background: var(--surface); box-shadow: var(--shadow);
}
.stage-visual img { display: block; width: 100%; height: auto; }
.stage-visual.pad { padding: clamp(16px, 2.4vw, 28px); background: linear-gradient(160deg, var(--tint), #fff); }
@media (max-width: 880px) { .stage, .stage.flip { grid-template-columns: 1fr; } .stage.flip .stage-visual { order: 0; } }

/* ============================================================
   Screen tour (carousel)
   ============================================================ */
.tour { border-radius: var(--r-xl); padding: clamp(18px, 2.4vw, 28px);
  border: 1px solid var(--line); background: linear-gradient(160deg, var(--tint), var(--surface) 60%); box-shadow: var(--shadow); }
.tour-viewport { overflow: hidden; border-radius: var(--r-lg); }
.tour-track { display: flex; transition: transform .5s cubic-bezier(.4,0,.2,1); will-change: transform; }
.tour-slide { flex: 0 0 100%; display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(20px, 3vw, 40px); align-items: center; min-width: 0; padding: clamp(14px, 2vw, 26px); }
.tour-slide .ts-copy { min-width: 0; }
.tour-slide .ts-num { font-family: var(--font-display); font-size: 0.82rem; font-weight: 800; letter-spacing: 0.14em; color: var(--accent); text-transform: uppercase; }
.tour-slide .ts-label { display: inline-block; margin: 6px 0 12px; font-size: 0.74rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.tour-slide h3 { font-size: clamp(1.3rem, 2.1vw, 2rem); margin-bottom: 12px; }
.tour-slide p { color: var(--ink-soft); margin: 0; }
.tour-figure { margin: 0; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: var(--surface-soft); box-shadow: var(--shadow-sm); }
.tour-figure img { display: block; width: 100%; height: min(56vw, 540px); object-fit: contain; background: linear-gradient(180deg, #f3f7fc, #e8eef7); }
.tour-controls { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 18px; flex-wrap: wrap; }
.tour-btn { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; box-shadow: var(--shadow-sm); transition: .18s; }
.tour-btn:hover { transform: translateY(-2px); border-color: var(--accent); color: var(--accent-deep); }
.tour-btn svg { width: 20px; height: 20px; }
.tour-meta { display: flex; align-items: center; gap: 14px; }
.tour-count { font-family: var(--font-display); font-weight: 800; font-size: 0.95rem; color: var(--ink); letter-spacing: 0.02em; }
.tour-count b { color: var(--accent-deep); }
.tour-dots { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.tour-dot { width: 9px; height: 9px; border: 0; border-radius: 999px; padding: 0; background: var(--line-strong, rgba(14,23,41,0.18)); cursor: pointer; transition: .18s; }
.tour-dot.active { background: var(--accent); transform: scale(1.35); }
@media (max-width: 820px) { .tour-slide { grid-template-columns: 1fr; } .tour-figure img { height: auto; min-height: 220px; } }

/* ============================================================
   Stats band
   ============================================================ */
.stat-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2vw, 22px); }
.stat { padding: clamp(20px, 2.4vw, 30px); border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); box-shadow: var(--shadow-sm); }
.stat b { display: block; font-family: var(--font-display); font-size: clamp(1.9rem, 3.4vw, 2.9rem); letter-spacing: -0.03em; background: linear-gradient(120deg, var(--accent-deep), var(--accent)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat span { display: block; margin-top: 6px; color: var(--muted); font-size: 0.86rem; font-weight: 700; letter-spacing: 0.04em; }
@media (max-width: 760px) { .stat-band { grid-template-columns: 1fr 1fr; } }

/* ============================================================
   Process / steps
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 22px); counter-reset: step; }
.step { position: relative; padding: clamp(22px, 2.4vw, 30px); border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); box-shadow: var(--shadow-sm); }
.step::before { counter-increment: step; content: "0" counter(step); font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; color: var(--accent); letter-spacing: 0.08em; }
.step h4 { margin: 12px 0 8px; font-size: 1.12rem; }
.step p { color: var(--ink-soft); font-size: 0.94rem; margin: 0; }
@media (max-width: 940px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ============================================================
   Control-room panel (TMS)
   ============================================================ */
.control-room {
  position: relative; overflow: hidden;
  border-radius: var(--r-xl); padding: clamp(22px, 3vw, 40px);
  color: #e6ecf5;
  border: 1px solid rgba(255,255,255,0.12);
  background:
    radial-gradient(700px 380px at 12% 0%, rgba(25,195,255,0.18), transparent 60%),
    linear-gradient(160deg, #0b1220, #0f1830 70%, #0b1322);
  box-shadow: var(--shadow-lg);
}
.cr-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.cr-kpi { padding: 16px 18px; border: 1px solid rgba(255,255,255,0.10); border-radius: 16px; background: linear-gradient(145deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02)); position: relative; overflow: hidden; }
.cr-kpi .lbl { font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; color: #8da2c0; }
.cr-kpi .val { font-family: var(--font-display); font-size: clamp(1.4rem, 2.4vw, 2rem); font-weight: 800; color: #fff; margin-top: 4px; }
.cr-kpi .val.good { color: #6ff3b8; } .cr-kpi .val.warn { color: #ffd479; } .cr-kpi .val.bad { color: #ff8a8c; }
.cr-kpi .foot { font-size: 0.68rem; color: #8da2c0; margin-top: 4px; }
.cr-kpi::after { content: ""; position: absolute; right: -10px; bottom: -10px; width: 40px; height: 40px; border-radius: 50%; background: #19c3ff; opacity: 0.08; }
.cr-tanks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 14px; }
.cr-tank { padding: 16px; border: 1px solid rgba(255,255,255,0.10); border-radius: 16px; background: rgba(255,255,255,0.03); }
.cr-tank .t-name { font-size: 0.72rem; color: #8da2c0; letter-spacing: 0.08em; text-transform: uppercase; }
.cr-gauge { height: 120px; margin: 12px 0 8px; border-radius: 12px; background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02)); border: 1px solid rgba(255,255,255,0.08); position: relative; overflow: hidden; }
.cr-fill { position: absolute; left: 0; right: 0; bottom: 0; background: linear-gradient(180deg, #2ad0ff, #1186c9); }
.cr-fill::before { content: ""; position: absolute; top: -8px; left: 0; right: 0; height: 10px; background: rgba(255,255,255,0.35); filter: blur(3px); }
.cr-tank .t-pct { font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; color: #fff; }
.cr-tank .t-sub { font-size: 0.68rem; color: #8da2c0; }
.cr-live { display: inline-flex; align-items: center; gap: 8px; font-size: 0.74rem; color: #8da2c0; letter-spacing: 0.06em; }
.cr-live .live-dot { width: 8px; height: 8px; border-radius: 50%; background: #1fbf75; box-shadow: 0 0 0 4px rgba(31,191,117,0.2); animation: pulse 2.4s ease-in-out infinite; }
@media (max-width: 880px) { .cr-grid { grid-template-columns: 1fr 1fr; } .cr-tanks { grid-template-columns: 1fr 1fr; } }

/* ============================================================
   Compliance / split panels
   ============================================================ */
.split-2 { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(18px, 2.4vw, 26px); }
.panel { padding: clamp(24px, 3vw, 38px); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow-sm); }
.panel.tinted { background: linear-gradient(160deg, var(--tint), #fff 62%); }
.panel.dark { color: #eaf1ff; border-color: rgba(255,255,255,0.12); background: linear-gradient(160deg, #0c1730, #14254b); }
.panel.dark h3 { color: #fff; }
.panel.dark p { color: rgba(232,240,255,0.8); }
@media (max-width: 880px) { .split-2 { grid-template-columns: 1fr; } }

/* ============================================================
   CTA + contact
   ============================================================ */
.cta {
  position: relative; overflow: hidden;
  border-radius: var(--r-xl); padding: clamp(36px, 5vw, 72px);
  color: #fff; text-align: center;
  background:
    radial-gradient(700px 360px at 18% 0%, rgba(255,255,255,0.16), transparent 60%),
    linear-gradient(135deg, var(--accent-deep), var(--accent) 60%, var(--accent-2));
  box-shadow: var(--shadow-lg);
}
.cta h2 { color: #fff; font-size: clamp(2rem, 4vw, 3.4rem); }
.cta p { color: rgba(255,255,255,0.86); max-width: 56ch; margin-inline: auto; }
.cta .hero-actions { justify-content: center; }

.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(26px, 4vw, 56px); align-items: start; }
.contact-form { display: grid; gap: 16px; padding: clamp(24px, 3vw, 38px); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow); }
.field { display: grid; gap: 8px; }
.field span { font-size: 0.78rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink); }
.field input, .field textarea {
  width: 100%; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px;
  background: var(--surface-soft); color: var(--ink); font: inherit; transition: .18s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: color-mix(in srgb, var(--accent) 50%, var(--line)); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 14%, transparent); background: #fff; }
.contact-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.contact-note { font-size: 0.86rem; color: var(--muted); }
.contact-aside .arrow-link, .contact-aside a { color: var(--accent-deep); }
.contact-cards { display: grid; gap: 14px; margin-top: 22px; }
.contact-cards a { display: flex; gap: 14px; align-items: center; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); text-decoration: none; color: inherit; box-shadow: var(--shadow-sm); transition: .18s; }
.contact-cards a:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--accent) 30%, var(--line)); }
.contact-cards .ci { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--tint); color: var(--accent-deep); flex: none; }
.contact-cards b { font-family: var(--font-display); font-size: 0.98rem; }
.contact-cards span { display: block; color: var(--muted); font-size: 0.86rem; }
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }

/* ============================================================
   Footer
   ============================================================ */
.site-footer { border-top: 1px solid var(--line); background: var(--glass); margin-top: clamp(40px, 6vw, 90px); }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: clamp(24px, 4vw, 56px); padding-block: clamp(46px, 6vw, 72px); }
.footer-brand .brand { margin-bottom: 16px; }
.footer-brand p { color: var(--ink-soft); max-width: 38ch; font-size: 0.94rem; }
.footer-col h5 { font-family: var(--font-display); font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.footer-col a { display: block; padding: 6px 0; color: var(--ink-soft); text-decoration: none; font-size: 0.94rem; transition: .15s; }
.footer-col a:hover { color: var(--accent-deep); transform: translateX(3px); }
.footer-bar { border-top: 1px solid var(--line); }
.footer-bar-inner { display: flex; flex-wrap: wrap; gap: 12px 22px; justify-content: space-between; align-items: center; padding-block: 22px; font-size: 0.86rem; color: var(--muted); }
.footer-bar-inner a { color: inherit; text-decoration: none; border-bottom: 1px solid transparent; transition: color .15s ease, border-color .15s ease; }
.footer-bar-inner a:hover { color: var(--accent-deep); border-color: color-mix(in srgb, var(--accent) 40%, transparent); }

/* legal / prose pages */
.legal { max-width: 768px; margin-inline: auto; }
.legal h2 { font-size: clamp(1.2rem, 2vw, 1.6rem); margin-top: 2em; margin-bottom: 0.5em; }
.legal p, .legal li { color: var(--ink-soft); line-height: 1.8; font-size: clamp(1rem, 1.3vw, 1.08rem); }
.legal ul { padding-left: 1.2rem; display: grid; gap: 10px; }
.legal a { color: var(--accent-deep); font-weight: 700; text-decoration: none; border-bottom: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); }
.legal .updated { display: inline-block; margin-top: 6px; color: var(--muted); font-size: 0.92rem; font-weight: 600; }
.legal .back { margin-top: 2.5em; }
@media (max-width: 880px) { .footer-inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-inner { grid-template-columns: 1fr; } }

/* ============================================================
   Scroll reveal
   ============================================================ */
/* Progressive enhancement: only hide before reveal when JS is confirmed active,
   so a JS failure can never leave content invisible. */
.reveal { opacity: 1; transform: none; }
html.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.6,.2,1), transform .7s cubic-bezier(.2,.6,.2,1); }
html.js .reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }

@keyframes pulse { 0%,100% { transform: scale(0.9); opacity: 0.85; } 50% { transform: scale(1.1); opacity: 1; } }

/* ============================================================
   Per-product accents
   ============================================================ */
[data-accent="station"] {
  --accent: #0f9d8f; --accent-2: #34c7a0; --accent-deep: #0a6b62; --tint: #e6f6f1; --tint-2: #e9faf4;
  --phero-1: #052b2c; --phero-2: #0a4f4c; --phero-3: #0f6661;
}
[data-accent="hos"] {
  --accent: #6b4ef0; --accent-2: #9a7bff; --accent-deep: #4327ad; --tint: #efeaff; --tint-2: #f1ecff;
  --phero-1: #160d35; --phero-2: #241552; --phero-3: #311d72;
}
[data-accent="fleet"] {
  --accent: #2457d6; --accent-2: #4f86ff; --accent-deep: #16307e; --tint: #e9f0ff; --tint-2: #eaf3ff;
  --phero-1: #07142e; --phero-2: #0c1f47; --phero-3: #112a5e;
}
[data-accent="terminal"] {
  --accent: #12a5d6; --accent-2: #19c3ff; --accent-deep: #0a6f96; --tint: #e2f5fc; --tint-2: #e8f8ff;
  --phero-1: #07121f; --phero-2: #0b1830; --phero-3: #0e2440;
}

/* ============================================================
   ZRA Smart Invoice — top ribbon (site-wide)
   ============================================================ */
.zra-ribbon {
  position: relative; z-index: 60;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 8px 16px; text-align: center;
  background: linear-gradient(90deg, #0a6b62, #14b87a 50%, #0f9d8f);
  color: #fff; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.01em;
}
.zra-ribbon svg { width: 16px; height: 16px; flex: none; }
.zra-ribbon b { font-weight: 800; }
.zra-ribbon a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.zra-ribbon .ribbon-sep { opacity: .5; }
@media (max-width: 620px) { .zra-ribbon { font-size: 0.74rem; } .zra-ribbon .ribbon-hide { display: none; } }

/* ============================================================
   ZRA certification band (announcement)
   ============================================================ */
.zra-band {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: clamp(22px, 4vw, 48px); align-items: center;
  padding: clamp(28px, 4vw, 52px);
  border-radius: var(--r-xl);
  color: #eafff6;
  border: 1px solid rgba(255,255,255,0.14);
  background:
    radial-gradient(640px 320px at 10% 0%, rgba(52,199,160,0.30), transparent 60%),
    linear-gradient(150deg, #063b35 0%, #0a6b62 55%, #0f7b72 100%);
  box-shadow: var(--shadow-lg);
}
.zra-cert { flex: none; display: grid; gap: 12px; justify-items: center; padding: 20px 22px; border-radius: 22px; background: #fff; box-shadow: 0 20px 48px rgba(3,40,36,0.42); }
.zra-cert .zra-logo { display: block; width: clamp(168px, 17vw, 214px); height: auto; }
.zra-cert .badge { display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px; border-radius: 999px; background: linear-gradient(135deg, #0a6b62, #14b87a); color: #fff; font-size: 0.66rem; font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase; }
.zra-cert .badge svg { width: 14px; height: 14px; }
@media (max-width: 720px) { .zra-cert { width: min(100%, 320px); } }

.zra-seal {
  position: relative; width: clamp(110px, 14vw, 156px); aspect-ratio: 1; flex: none;
  display: grid; place-items: center; border-radius: 50%;
  background: radial-gradient(circle at 50% 35%, #ffffff, #eafff6 60%, #c8f3e4);
  color: #0a6b62; text-align: center;
  box-shadow: 0 18px 44px rgba(3,40,36,0.45), inset 0 0 0 6px rgba(15,123,114,0.14);
}
.zra-seal::before {
  content: ""; position: absolute; inset: 8px; border-radius: 50%;
  border: 2px dashed rgba(15,123,114,0.4);
}
.zra-seal .seal-mark { font-family: var(--font-display); font-weight: 800; line-height: 1; }
.zra-seal .seal-zra { font-size: clamp(1.6rem, 3vw, 2.3rem); letter-spacing: -0.02em; }
.zra-seal .seal-sub { font-size: 0.56rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; margin-top: 4px; color: #0f7b72; }
.zra-seal .seal-check { width: 22px; height: 22px; margin: 6px auto 0; display: grid; place-items: center; border-radius: 50%; background: #14b87a; color: #fff; }
.zra-seal .seal-check svg { width: 13px; height: 13px; }
.zra-band .eyebrow { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.22); color: #d7fff1; }
.zra-band .eyebrow::before { background: #7ef3c0; box-shadow: 0 0 0 4px rgba(126,243,192,0.18); }
.zra-band h2 { color: #fff; font-size: clamp(1.7rem, 3.3vw, 2.8rem); }
.zra-band p { color: rgba(234,255,246,0.86); margin-bottom: 18px; }
.zra-points { display: flex; flex-wrap: wrap; gap: 10px; }
.zra-points span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.18); font-size: 0.84rem; font-weight: 700; }
.zra-points span svg { width: 15px; height: 15px; color: #7ef3c0; }
.zra-invoice { flex: none; }
.zra-invoice img { display: block; width: auto; max-height: 360px; height: auto; border-radius: 12px; border: 1px solid rgba(255,255,255,0.28); box-shadow: 0 22px 50px rgba(3,40,36,0.5); }
@media (max-width: 980px) { .zra-band { grid-template-columns: auto 1fr; } .zra-invoice { display: none; } }
@media (max-width: 720px) { .zra-band { grid-template-columns: 1fr; justify-items: center; text-align: center; } .zra-points { justify-content: center; } }

/* ============================================================
   Smart Invoice mock (crisp, generic, ZRA-fiscalized)
   ============================================================ */
.invoice {
  max-width: 460px; margin-inline: auto; width: 100%;
  border-radius: 20px; overflow: hidden;
  background: #ffffff; color: #16223a;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  font-size: 0.82rem;
}
.invoice-top { padding: 18px 22px; background: linear-gradient(135deg, #0a6b62, #0f9d8f); color: #fff; display: flex; justify-content: space-between; gap: 14px; align-items: flex-start; }
.invoice-top h4 { color: #fff; margin: 0 0 3px; font-size: 1.04rem; }
.invoice-top .inv-meta { font-size: 0.72rem; opacity: 0.9; line-height: 1.5; }
.invoice-zra { text-align: right; }
.invoice-zra .zbadge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: rgba(255,255,255,0.18); border: 1px solid rgba(255,255,255,0.3); font-size: 0.64rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.invoice-zra .zbadge svg { width: 13px; height: 13px; }
.invoice-zra .ztpin { font-size: 0.68rem; margin-top: 6px; opacity: 0.92; }
.invoice-body { padding: 16px 22px; }
.invoice-row-head, .invoice-row { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; padding: 8px 0; }
.invoice-row-head { border-bottom: 2px solid var(--line); font-size: 0.64rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.invoice-row { border-bottom: 1px solid var(--line-soft); }
.invoice-row .num { text-align: right; font-variant-numeric: tabular-nums; }
.invoice-row .desc small { display: block; color: var(--muted); font-size: 0.7rem; }
.invoice-totals { margin-top: 12px; display: grid; gap: 6px; }
.invoice-totals div { display: flex; justify-content: space-between; }
.invoice-totals .grand { padding-top: 8px; border-top: 2px solid var(--line); font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; }
.invoice-foot { display: flex; align-items: center; gap: 16px; padding: 16px 22px; background: var(--surface-soft); border-top: 1px dashed var(--line); }
.invoice-qr { width: 70px; height: 70px; flex: none; border-radius: 10px; background:
    repeating-conic-gradient(#16223a 0% 25%, #fff 0% 50%) 0 0 / 14px 14px; border: 4px solid #fff; box-shadow: 0 0 0 1px var(--line); }
.invoice-foot .vcode { font-size: 0.7rem; color: var(--ink-soft); line-height: 1.5; }
.invoice-foot .vcode b { display: block; font-family: var(--font-mono); font-size: 0.82rem; color: var(--ink); letter-spacing: 0.04em; }

/* framed real-invoice image */
.invoice-figure { margin: 0; display: grid; justify-items: center; gap: 16px; }
.invoice-figure img { width: min(100%, 350px); height: auto; border-radius: 16px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.invoice-figure figcaption { max-width: 360px; text-align: center; color: var(--ink-soft); font-size: 0.92rem; line-height: 1.6; }

.zra-mark { display: block; width: 170px; height: auto; margin-bottom: 16px; }

/* ============================================================
   Hero — four linked dashboards diagram
   ============================================================ */
.hero-suite {
  position: relative;
  aspect-ratio: 1 / 0.8;
  border-radius: var(--r-xl);
  padding: clamp(9px, 1.2vw, 14px);
  border: 1px solid var(--line);
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(255,255,255,0.55), transparent 55%),
    linear-gradient(160deg, #0c1730, #14254b 60%, #1b3568);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.suite-links { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.suite-links line { stroke: rgba(120,170,255,0.55); stroke-width: 0.6; stroke-dasharray: 2 2; }
.suite-grid2 { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: clamp(7px, 1vw, 12px); height: 100%; }
.suite-tile {
  position: relative; overflow: hidden;
  border-radius: 16px; padding: 12px 14px;
  background: linear-gradient(155deg, rgba(255,255,255,0.12), rgba(255,255,255,0.04));
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 10px 26px rgba(4,12,30,0.34);
  color: #eaf1ff;
  display: flex; flex-direction: column; gap: 8px;
}
.suite-tile::after { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 3px; z-index: 3; background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
/* image variant — real dashboard screenshot fills the tile */
.suite-tile.img-tile { padding: 0; text-decoration: none; color: inherit; border-color: rgba(255,255,255,0.28); box-shadow: 0 14px 32px rgba(4,12,30,0.5); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.suite-tile.img-tile:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--accent-2) 60%, #fff); box-shadow: 0 22px 46px rgba(4,12,30,0.6); }
.suite-tile.img-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; filter: brightness(1.12) saturate(1.1) contrast(1.05); }
.suite-tile .st-chip { position: absolute; left: 8px; top: 8px; z-index: 3; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: rgba(8,14,28,0.78); border: 1px solid rgba(255,255,255,0.26); backdrop-filter: blur(6px); font-size: 0.6rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: #fff; }
.suite-tile .st-chip .st-dot { width: 6px; height: 6px; }
.suite-tile .st-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.suite-tile .st-code { font-size: 0.6rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: color-mix(in srgb, var(--accent-2) 70%, #fff); }
.suite-tile .st-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--good); box-shadow: 0 0 0 3px rgba(20,184,122,0.22); }
.suite-tile .st-name { font-family: var(--font-display); font-weight: 700; font-size: clamp(0.78rem, 1.3vw, 0.98rem); letter-spacing: -0.01em; color: #fff; }
.suite-tile .st-kpis { display: flex; gap: 12px; margin-top: auto; }
.suite-tile .st-kpis b { display: block; font-family: var(--font-display); font-weight: 800; font-size: clamp(0.9rem, 1.5vw, 1.15rem); color: #fff; line-height: 1.1; }
.suite-tile .st-kpis span { font-size: 0.56rem; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(220,232,255,0.7); }
.suite-tile .st-bars { display: flex; align-items: flex-end; gap: 4px; height: 26px; margin-top: 4px; }
.suite-tile .st-bars i { flex: 1; border-radius: 3px 3px 0 0; background: linear-gradient(180deg, var(--accent-2), var(--accent)); opacity: 0.9; }
.suite-tile .st-gauge { height: 26px; border-radius: 6px; margin-top: 4px; background: rgba(255,255,255,0.08); position: relative; overflow: hidden; }
.suite-tile .st-gauge i { position: absolute; left: 0; bottom: 0; top: 0; background: linear-gradient(90deg, var(--accent), var(--accent-2)); border-radius: 6px; }
.suite-hub {
  position: absolute; z-index: 3; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: clamp(58px, 8.5vw, 82px); aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center; text-align: center;
  background: radial-gradient(circle at 50% 35%, #ffffff, #eaf1ff 65%, #cfe0ff);
  border: 4px solid rgba(255,255,255,0.85);
  box-shadow: 0 16px 40px rgba(6,16,40,0.55), 0 0 0 8px rgba(120,170,255,0.14);
}
.suite-hub img { width: 48%; height: auto; }
.suite-hub span { font-family: var(--font-display); font-weight: 800; font-size: 0.6rem; letter-spacing: 0.14em; color: #16307e; margin-top: 1px; }
@media (max-width: 420px) {
  .suite-tile .st-name { font-size: 0.72rem; }
  .suite-hub { width: 64px; }
}

@media (prefers-reduced-motion: reduce) {
  * , *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
