/* ============================================================
   Revexl Technologies — Option B: "Nerve Centre"
   Dark AI-native deep-tech marketing site
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  /* Colors */
  --bg-base: #070B14;
  --bg-panel: #0D1420;
  --bg-elevated: #131C2E;
  --indigo: #4F6BFF;
  --cyan: #22D3EE;
  --text: #E6EDF7;
  --text-muted: #93A4C4;
  --border: rgba(147, 164, 196, 0.14);
  --border-strong: rgba(147, 164, 196, 0.24);
  --grad: linear-gradient(120deg, #4F6BFF 0%, #22D3EE 100%);
  --glow-indigo: rgba(79, 107, 255, 0.45);
  --glow-cyan: rgba(34, 211, 238, 0.35);

  /* Spacing scale */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-6: 1.5rem;
  --sp-8: 2rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-24: 6rem;

  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 1200px;
  --header-h: 68px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg-base);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.02em;
}

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

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--sp-6);
}

/* Gradient text utility */
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: var(--sp-3);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--bg-elevated);
  color: var(--text);
  padding: var(--sp-3) var(--sp-4);
  border-radius: var(--radius-sm);
  z-index: 200;
}
.skip-link:focus { left: var(--sp-4); top: var(--sp-4); }

/* ---------- Background motif ---------- */
.bg-motif {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
.bg-grid {
  position: absolute;
  inset: -2px;
  background-image:
    linear-gradient(rgba(147, 164, 196, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(147, 164, 196, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 30%, transparent 75%);
}
.bg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
}
.bg-glow--1 {
  width: 520px; height: 520px;
  top: -180px; left: -120px;
  background: radial-gradient(circle, var(--glow-indigo), transparent 70%);
}
.bg-glow--2 {
  width: 460px; height: 460px;
  top: 8%; right: -140px;
  background: radial-gradient(circle, var(--glow-cyan), transparent 70%);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.8rem 1.4rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
              background 0.25s var(--ease), border-color 0.25s var(--ease);
  white-space: nowrap;
}
.btn-sm { padding: 0.55rem 1.05rem; font-size: 0.88rem; }

.btn-primary {
  background: var(--grad);
  color: #05080F;
  box-shadow: 0 6px 22px -8px var(--glow-indigo);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 34px -8px var(--glow-indigo), 0 0 20px -4px var(--glow-cyan);
}
.btn-ghost {
  background: rgba(147, 164, 196, 0.06);
  color: var(--text);
  border-color: var(--border-strong);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  transform: translateY(-2px);
  border-color: var(--cyan);
  box-shadow: 0 0 22px -6px var(--glow-cyan);
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(7, 11, 20, 0.35);
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease),
              backdrop-filter 0.3s var(--ease);
}
.site-header.scrolled {
  background: rgba(7, 11, 20, 0.82);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
}
.brand-mark { display: inline-block; height: 25px; width: auto; filter: drop-shadow(0 2px 5px rgba(0,0,0,0.45)); }
.footer-brand .brand-mark { height: 23px; }
.brand-col {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1;
}
.brand-row {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.brand-word {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: 0.14em;
  line-height: 1;
}
.brand-tagline {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 0.5rem;
  letter-spacing: 0.235em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 4px;
  white-space: nowrap;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: var(--sp-8);
}
.nav-links { display: flex; gap: var(--sp-6); }
.nav-link {
  position: relative;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 0.3rem 0;
  transition: color 0.25s var(--ease);
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 2px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav-link:hover { color: var(--text); }
.nav-link.active { color: var(--text); }
.nav-link.active::after { transform: scaleX(1); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px; height: 42px;
  background: rgba(147,164,196,0.06);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 20px; height: 2px;
  margin-inline: auto;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0;
  background: rgba(9, 14, 24, 0.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  padding: var(--sp-4) var(--sp-6) var(--sp-8);
  transform: translateY(-12px);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease), visibility 0.3s;
  z-index: 99;
}
.mobile-menu.open { transform: translateY(0); opacity: 1; visibility: visible; }
.mobile-menu ul { display: flex; flex-direction: column; }
.mobile-link {
  display: block;
  padding: var(--sp-4) 0;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}
.mobile-link:hover { color: var(--cyan); }
.mobile-cta { margin-top: var(--sp-6); width: 100%; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-top: calc(var(--header-h) + var(--sp-24));
  padding-bottom: var(--sp-24);
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  top: -10%; left: 50%;
  width: 900px; height: 620px;
  transform: translateX(-50%);
  background:
    radial-gradient(ellipse at 30% 40%, var(--glow-indigo), transparent 60%),
    radial-gradient(ellipse at 70% 60%, var(--glow-cyan), transparent 60%);
  filter: blur(70px);
  opacity: 0.55;
  pointer-events: none;
  animation: heroPulse 9s ease-in-out infinite alternate;
}
@keyframes heroPulse {
  0%   { transform: translateX(-50%) scale(1); opacity: 0.4; }
  100% { transform: translateX(-50%) scale(1.12); opacity: 0.62; }
}
.hero-inner { position: relative; max-width: 860px; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 0.4rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(147,164,196,0.05);
  margin-bottom: var(--sp-6);
}
.pulse-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px 2px var(--glow-cyan);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.75); }
}
.hero-title {
  font-size: clamp(2.6rem, 7vw, 5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}
.hero-tagline {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.3rem, 3.5vw, 2rem);
  font-weight: 500;
  margin-top: var(--sp-3);
  color: var(--text);
}
.hero-sub {
  margin-top: var(--sp-6);
  font-size: clamp(1rem, 2vw, 1.18rem);
  color: var(--text-muted);
  max-width: 660px;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  margin-top: var(--sp-8);
}

/* ---------- Sections ---------- */
.section { padding-block: var(--sp-24); }
.section-head { max-width: 720px; margin-bottom: var(--sp-12); }
.section-title { font-size: clamp(1.8rem, 4vw, 2.8rem); }

.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-strong) 20%, var(--cyan) 50%, var(--border-strong) 80%, transparent);
  opacity: 0.5;
}

/* ---------- Value pillars ---------- */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--sp-6);
}
.pillar {
  position: relative;
  padding: var(--sp-8);
  background: linear-gradient(160deg, rgba(19,28,46,0.7), rgba(13,20,32,0.5));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
  overflow: hidden;
}
.pillar::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.pillar:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: 0 18px 40px -20px var(--glow-indigo);
}
.pillar:hover::before { transform: scaleX(1); }
.pillar-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--cyan);
  opacity: 0.8;
}
.pillar-title { font-size: 1.2rem; margin: var(--sp-3) 0 var(--sp-2); }
.pillar-desc { color: var(--text-muted); font-size: 0.96rem; }

/* ---------- Cards (products + partners) ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: var(--sp-6);
}
.partner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--sp-6);
}
.card {
  position: relative;
  padding: var(--sp-8);
  background: linear-gradient(160deg, rgba(19,28,46,0.65), rgba(13,20,32,0.45));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
  overflow: hidden;
}
.card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  padding: 1px;
  background: var(--grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.35s var(--ease);
  pointer-events: none;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 50px -24px var(--glow-indigo), 0 0 30px -10px var(--glow-cyan);
}
.card:hover::after { opacity: 0.7; }

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border-radius: 12px;
  color: var(--cyan);
  background: rgba(34, 211, 238, 0.08);
  border: 1px solid var(--border);
  margin-bottom: var(--sp-4);
}
.card:hover .card-icon {
  box-shadow: 0 0 18px -4px var(--glow-cyan);
}
.card-headrow {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  flex-wrap: wrap;
}
.card-name { font-size: 1.35rem; }
.badge {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
}
.badge-flag {
  background: var(--grad);
  color: #05080F;
}
.card-tagline {
  color: var(--indigo);
  font-weight: 600;
  font-size: 0.9rem;
  margin: var(--sp-2) 0 var(--sp-3);
  filter: brightness(1.25);
}
.card-desc { color: var(--text-muted); font-size: 0.96rem; }

/* Chips */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-top: var(--sp-6);
}
.chips li {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 0.3rem 0.7rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(147,164,196,0.04);
  transition: color 0.25s, border-color 0.25s;
}
.card:hover .chips li { border-color: var(--border-strong); }
.chips-region { margin-top: var(--sp-3); }
.chips-region li { color: var(--text); }

/* ---------- Platform / stats ---------- */
.platform-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--sp-16);
  align-items: start;
}
.platform-lead {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-top: var(--sp-4);
  max-width: 520px;
}
.deploy-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  margin-top: var(--sp-8);
}
.deploy-item {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  padding: var(--sp-4);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(19,28,46,0.4);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.deploy-item:hover { border-color: var(--border-strong); transform: translateX(4px); }
.deploy-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  flex-shrink: 0;
  border-radius: 10px;
  color: var(--cyan);
  background: rgba(79,107,255,0.1);
}
.deploy-title { font-size: 1.05rem; }
.deploy-desc { color: var(--text-muted); font-size: 0.9rem; }

.platform-side {
  padding: var(--sp-8);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(19,28,46,0.65), rgba(13,20,32,0.4));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-6);
}
.stat { display: flex; flex-direction: column; gap: var(--sp-1); }
.stat-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.2rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1;
}
.stat-label { color: var(--text-muted); font-size: 0.85rem; }
.regions {
  margin-top: var(--sp-8);
  padding-top: var(--sp-6);
  border-top: 1px solid var(--border);
}
.regions-label {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
}

/* ---------- CTA panel ---------- */
.cta-panel {
  position: relative;
  text-align: center;
  padding: clamp(2.5rem, 6vw, 5rem) var(--sp-8);
  border: 1px solid var(--border-strong);
  border-radius: 24px;
  background: linear-gradient(160deg, rgba(19,28,46,0.75), rgba(9,14,24,0.6));
  overflow: hidden;
}
.cta-glow {
  position: absolute;
  top: -40%; left: 50%;
  width: 700px; height: 500px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, var(--glow-indigo), transparent 65%);
  filter: blur(60px);
  opacity: 0.5;
  pointer-events: none;
}
.cta-panel > *:not(.cta-glow) { position: relative; }
.cta-title { max-width: 620px; margin-inline: auto; }
.cta-sub {
  color: var(--text-muted);
  max-width: 560px;
  margin: var(--sp-4) auto 0;
  font-size: 1.08rem;
}
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-4);
  margin-top: var(--sp-8);
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  background: rgba(7, 11, 20, 0.6);
  padding-top: var(--sp-16);
  margin-top: var(--sp-12);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: var(--sp-8);
  padding-bottom: var(--sp-12);
}
.footer-tag { color: var(--text-muted); font-size: 0.92rem; margin-top: var(--sp-4); max-width: 300px; }
.footer-heading {
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: var(--sp-4);
}
.footer-col ul { display: flex; flex-direction: column; gap: var(--sp-3); }
.footer-col a { color: var(--text-muted); font-size: 0.92rem; transition: color 0.25s; }
.footer-col a:hover { color: var(--cyan); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-block: var(--sp-6);
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Stagger children within grids */
.pillar-grid .reveal:nth-child(2) { transition-delay: 0.06s; }
.pillar-grid .reveal:nth-child(3) { transition-delay: 0.12s; }
.pillar-grid .reveal:nth-child(4) { transition-delay: 0.18s; }
.pillar-grid .reveal:nth-child(5) { transition-delay: 0.24s; }
.product-grid .reveal:nth-child(2) { transition-delay: 0.06s; }
.product-grid .reveal:nth-child(3) { transition-delay: 0.12s; }
.product-grid .reveal:nth-child(4) { transition-delay: 0.18s; }
.product-grid .reveal:nth-child(5) { transition-delay: 0.24s; }
.partner-grid .reveal:nth-child(2) { transition-delay: 0.08s; }
.partner-grid .reveal:nth-child(3) { transition-delay: 0.16s; }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .platform-layout { grid-template-columns: 1fr; gap: var(--sp-12); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .nav-desktop { display: none; }
  .hamburger { display: flex; }
  .section { padding-block: var(--sp-16); }
  .hero { padding-top: calc(var(--header-h) + var(--sp-16)); padding-bottom: var(--sp-16); }
}

@media (max-width: 560px) {
  .container { padding-inline: var(--sp-4); }
  .card, .pillar, .platform-side { padding: var(--sp-6); }
  .stats-grid { gap: var(--sp-4); }
  .footer-inner { grid-template-columns: 1fr; gap: var(--sp-8); }
  .hero-ctas .btn, .cta-actions .btn { flex: 1 1 auto; }
}

@media (max-width: 380px) {
  .brand-word { font-size: 1.1rem; }
  .product-grid { grid-template-columns: 1fr; }
}

.partner-grid .reveal:nth-child(2) { transition-delay: 0.08s; }
.partner-grid .reveal:nth-child(3) { transition-delay: 0.16s; }

/* ============================================================
   ADDED COMPONENTS — industries, contact form, product-card
   link, and product detail pages
   ============================================================ */

/* ---------- Product card "explore" link ---------- */
.card-link {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  margin-top: var(--sp-6);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--cyan);
}
.card-link svg { transition: transform 0.25s var(--ease); }
.card:hover .card-link svg { transform: translateX(4px); }

/* ---------- Industries ---------- */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--sp-4);
}
.industry {
  padding: var(--sp-6);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(19, 28, 46, 0.4);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease),
              background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.industry:hover {
  border-color: var(--border-strong);
  transform: translateY(-3px);
  background: rgba(19, 28, 46, 0.6);
  box-shadow: 0 18px 40px -22px var(--glow-indigo), 0 0 26px -12px var(--glow-cyan);
}
.industry-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: var(--sp-2);
}
.industry-value { color: var(--text-muted); font-size: 0.9rem; }
.industry-buyer {
  display: inline-block;
  margin-top: var(--sp-3);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--cyan);
  padding: 0.22rem 0.6rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.06);
}

/* ---------- Contact form ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: var(--sp-12);
  margin-top: var(--sp-12);
  align-items: start;
}
.contact-form {
  padding: var(--sp-8);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(19, 28, 46, 0.65), rgba(13, 20, 32, 0.45));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); }
.field { margin-bottom: var(--sp-4); }
.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: var(--sp-2);
  color: var(--text);
}
.field label .req { color: var(--cyan); }
.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--text);
  background: rgba(7, 11, 20, 0.5);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.85rem;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.field textarea { resize: vertical; min-height: 120px; }
.field select { appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%2393A4C4' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 0.85rem center; padding-right: 2.2rem;
}
.field input::placeholder,
.field textarea::placeholder { color: rgba(147, 164, 196, 0.5); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.14);
}
.field.invalid input,
.field.invalid select,
.field.invalid textarea { border-color: #ff6b6b; }
.field-error {
  display: none;
  color: #ff8a8a;
  font-size: 0.78rem;
  margin-top: var(--sp-2);
}
.field.invalid .field-error { display: block; }
.form-submit { width: 100%; margin-top: var(--sp-2); }
.form-note { font-size: 0.82rem; color: var(--text-muted); margin-top: var(--sp-4); text-align: center; }
.form-status {
  display: none;
  margin-top: var(--sp-4);
  padding: var(--sp-4);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  border: 1px solid var(--border-strong);
  background: rgba(34, 211, 238, 0.08);
  color: var(--text);
}
.form-status.show { display: block; }

.contact-aside .aside-card {
  padding: var(--sp-6);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(19, 28, 46, 0.4);
  margin-bottom: var(--sp-4);
}
.aside-card h3 { font-size: 1.05rem; margin-bottom: var(--sp-3); }
.aside-contact { display: flex; flex-direction: column; gap: var(--sp-3); }
.aside-contact a {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  color: var(--text);
  font-size: 0.95rem;
  transition: color 0.25s;
}
.aside-contact a:hover { color: var(--cyan); }
.aside-contact svg { color: var(--cyan); flex-shrink: 0; }
.aside-list { display: flex; flex-direction: column; gap: var(--sp-2); }
.aside-list li { color: var(--text-muted); font-size: 0.9rem; display: flex; gap: var(--sp-2); }
.aside-list li::before { content: "▸"; color: var(--cyan); }

/* ============================================================
   PRODUCT DETAIL PAGES
   ============================================================ */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: var(--sp-6);
}
.breadcrumb a { color: var(--text-muted); transition: color 0.25s; }
.breadcrumb a:hover { color: var(--cyan); }
.breadcrumb span { color: var(--text); }

.product-hero {
  position: relative;
  padding-top: calc(var(--header-h) + var(--sp-16));
  padding-bottom: var(--sp-16);
  overflow: hidden;
}
.product-hero .hero-glow { opacity: 0.4; }
.product-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: var(--sp-4);
}
.product-hero h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}
.product-hero .lead {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.15rem, 2.6vw, 1.6rem);
  font-weight: 500;
  color: var(--text);
  margin-top: var(--sp-3);
}
.product-hero .intro {
  margin-top: var(--sp-6);
  max-width: 720px;
  color: var(--text-muted);
  font-size: clamp(1rem, 2vw, 1.12rem);
}
.product-hero .hero-ctas { margin-top: var(--sp-8); }
.buyer-line {
  margin-top: var(--sp-8);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-3);
  font-size: 0.85rem;
  color: var(--text-muted);
}
.buyer-line .chips { margin-top: 0; }

/* Feature list (capabilities) */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--sp-6);
}
.feature {
  padding: var(--sp-6);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(19, 28, 46, 0.6), rgba(13, 20, 32, 0.4));
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.feature:hover { transform: translateY(-3px); border-color: var(--border-strong); }
.feature-icon {
  display: inline-flex;
  width: 42px; height: 42px;
  align-items: center; justify-content: center;
  border-radius: 11px;
  color: var(--cyan);
  background: rgba(34, 211, 238, 0.08);
  border: 1px solid var(--border);
  margin-bottom: var(--sp-4);
}
.feature h3 { font-size: 1.1rem; margin-bottom: var(--sp-2); }
.feature p { color: var(--text-muted); font-size: 0.93rem; }

/* Spec / detail two-column with sticky aside */
.detail-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: var(--sp-16);
  align-items: start;
}
.detail-main > * + * { margin-top: var(--sp-6); }
.detail-main p { color: var(--text-muted); }
.detail-main h3 {
  font-size: 1.4rem;
  margin-top: var(--sp-8);
}
.detail-main ul.ticks { display: flex; flex-direction: column; gap: var(--sp-3); }
.detail-main ul.ticks li {
  display: flex; gap: var(--sp-3);
  color: var(--text-muted); font-size: 0.98rem;
}
.detail-main ul.ticks li::before {
  content: "";
  flex-shrink: 0;
  width: 20px; height: 20px;
  margin-top: 2px;
  border-radius: 6px;
  background: var(--grad);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.detail-main ul.ticks li strong { color: var(--text); font-weight: 600; }
.detail-aside { position: sticky; top: calc(var(--header-h) + var(--sp-6)); }
.spec-card {
  padding: var(--sp-6);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(19, 28, 46, 0.7), rgba(13, 20, 32, 0.5));
}
.spec-card h3 {
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: var(--sp-4);
}
.spec-list { display: flex; flex-direction: column; }
.spec-list div {
  display: flex; justify-content: space-between; gap: var(--sp-4);
  padding: var(--sp-3) 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}
.spec-list div:last-child { border-bottom: 0; }
.spec-list dt { color: var(--text-muted); }
.spec-list dd { color: var(--text); font-weight: 500; text-align: right; }

/* Other-products strip */
.more-products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--sp-4);
}
.more-product {
  padding: var(--sp-6);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(19, 28, 46, 0.4);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.more-product:hover { transform: translateY(-3px); border-color: var(--cyan); }
.more-product .mp-name { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 1.02rem; }
.more-product .mp-tag { color: var(--text-muted); font-size: 0.82rem; margin-top: 4px; }

/* ---------- Legal / policy pages ---------- */
.legal { max-width: 820px; }
.legal .updated {
  color: var(--text-muted);
  font-size: 0.9rem;
  padding: var(--sp-3) 0 var(--sp-6);
  border-bottom: 1px solid var(--border);
  margin-bottom: var(--sp-8);
}
.legal h2 {
  font-size: 1.4rem;
  margin-top: var(--sp-12);
  margin-bottom: var(--sp-4);
  scroll-margin-top: calc(var(--header-h) + 16px);
}
.legal h2:first-of-type { margin-top: 0; }
.legal h3 { font-size: 1.08rem; margin-top: var(--sp-6); margin-bottom: var(--sp-2); }
.legal p { color: var(--text-muted); margin-bottom: var(--sp-4); }
.legal ul { margin: 0 0 var(--sp-4) var(--sp-6); display: flex; flex-direction: column; gap: var(--sp-2); }
.legal ul li { list-style: disc; color: var(--text-muted); }
.legal ul li::marker { color: var(--cyan); }
.legal a { color: var(--cyan); }
.legal a:hover { text-decoration: underline; }
.legal strong { color: var(--text); font-weight: 600; }

/* Footer bottom with legal links */
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--sp-3); align-items: center; }
.footer-legal { display: flex; gap: var(--sp-4); flex-wrap: wrap; }
.footer-legal a { color: var(--text-muted); transition: color 0.25s; }
.footer-legal a:hover { color: var(--cyan); }

/* ---------- Cookie-consent banner ---------- */
.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%) translateY(24px);
  width: min(700px, calc(100% - 32px));
  z-index: 300;
  display: flex;
  align-items: center;
  gap: var(--sp-6);
  flex-wrap: wrap;
  padding: var(--sp-4) var(--sp-6);
  background: rgba(13, 20, 32, 0.94);
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), visibility 0.4s;
}
.cookie-banner.show { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.cookie-banner p { flex: 1 1 300px; margin: 0; color: var(--text-muted); font-size: 0.88rem; line-height: 1.5; }
.cookie-banner a { color: var(--cyan); }
.cookie-banner a:hover { text-decoration: underline; }
.cookie-actions { display: flex; gap: var(--sp-3); flex-wrap: wrap; }
@media (max-width: 520px) {
  .cookie-banner { bottom: 12px; }
  .cookie-actions { width: 100%; }
  .cookie-actions .btn { flex: 1 1 auto; }
}

/* ---------- Responsive additions ---------- */
@media (max-width: 940px) {
  .contact-grid { grid-template-columns: 1fr; gap: var(--sp-8); }
  .detail-layout { grid-template-columns: 1fr; gap: var(--sp-12); }
  .detail-aside { position: static; }
}
@media (max-width: 560px) {
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form { padding: var(--sp-6); }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-glow { animation: none; }
}
