/* =================================================================
   VariaX Solutions — Public site stylesheet
   Ported verbatim from the approved homepage preview, then extended
   for product, cart, checkout, forms, FAQ, and mobile navigation.
   Visual register: GE Healthcare / Siemens / Philips territory.
   ================================================================= */
:root {
  --bg:         #ffffff;
  --bg-soft:    #f5f7fa;
  --bg-dark:    #00163f;
  --bg-darker:  #000d28;
  --ink:        #0a1e3e;
  --ink-mid:    #3d4f6b;
  --ink-soft:   #6b7a90;
  --rule:       #e1e6ec;
  --rule-strong:#c4ccd6;
  --accent:     #0066d4;
  --accent-hover:#0052ab;
  --accent-soft:#e6f1fc;
  --teal:       #00a39b;
  --warning:    #d97706;
  --success:    #059669;
  --danger:     #dc2626;
  --max:        1320px;
  --gutter:     clamp(20px, 4vw, 56px);
  --sans:       'Inter', -apple-system, system-ui, sans-serif;
  --mono:       'IBM Plex Mono', ui-monospace, monospace;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ============ TOP UTILITY BAR ============ */
.topbar {
  background: var(--bg-darker);
  color: rgba(255, 255, 255, 0.65);
  font-size: 12.5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  gap: 16px;
  flex-wrap: wrap;
}
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 22px; }
.topbar-left span, .topbar-right a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.65);
  transition: color 0.15s;
}
.topbar-right a:hover { color: #fff; cursor: pointer; }
.topbar-left svg, .topbar-right svg { width: 12px; height: 12px; opacity: 0.7; }
.lang-select {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.7);
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 2px;
  font-family: var(--sans);
  cursor: pointer;
}

/* ============ HEADER + PRIMARY NAV ============ */
header.site {
  background: var(--bg);
  border-bottom: 1px solid var(--rule);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 32px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.brand-mark { flex-shrink: 0; }
.brand-name {
  font-weight: 700;
  font-size: 19px;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.brand-name span { color: var(--accent); }
.brand-tag {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 1px;
}

nav.primary {
  display: flex;
  gap: 8px;
  align-items: center;
  flex: 1;
  justify-content: center;
}
.nav-item {
  position: relative;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-mid);
  cursor: pointer;
  border-radius: 4px;
  transition: color 0.15s, background 0.15s;
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-item:hover { color: var(--accent); background: var(--accent-soft); }
.nav-item.active { color: var(--accent); }
.nav-item .caret {
  width: 8px;
  height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin-top: -3px;
  opacity: 0.5;
}

.header-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.icon-btn {
  width: 38px; height: 38px;
  border: 1px solid var(--rule);
  background: var(--bg);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-mid);
  cursor: pointer;
  transition: all 0.15s;
  position: relative;
}
.icon-btn:hover { border-color: var(--accent); color: var(--accent); }
.cart-badge {
  position: absolute;
  top: -6px; right: -6px;
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  min-width: 18px; height: 18px;
  padding: 0 4px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  font-size: 13.5px;
  font-weight: 500;
  border-radius: 4px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.15s;
  font-family: var(--sans);
  line-height: 1.2;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-secondary { background: var(--bg); color: var(--ink); border-color: var(--rule-strong); }
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }
.btn-on-dark { background: rgba(255,255,255,0.08); color: #fff; border-color: rgba(255,255,255,0.2); }
.btn-on-dark:hover { background: rgba(255,255,255,0.15); border-color: rgba(255,255,255,0.35); }
.btn-block { width: 100%; justify-content: center; }
.btn-lg { padding: 14px 28px; font-size: 15px; }
.btn[disabled], .btn.disabled { opacity: 0.5; cursor: not-allowed; pointer-events: none; }
.btn-arrow { width: 14px; height: 14px; }

/* Mobile nav toggle (hidden on desktop) */
.nav-toggle {
  display: none;
  width: 38px; height: 38px;
  border: 1px solid var(--rule);
  background: var(--bg);
  border-radius: 4px;
  align-items: center;
  justify-content: center;
  color: var(--ink-mid);
  cursor: pointer;
}

/* ============ MEGA MENU (Products dropdown) ============ */
.mega-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 6px;
  box-shadow: 0 16px 48px rgba(10, 30, 62, 0.12);
  padding: 24px;
  display: none;
  z-index: 50;
}
.nav-item:hover .mega-menu { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mega-item {
  display: flex;
  gap: 14px;
  padding: 14px;
  border-radius: 4px;
  transition: background 0.15s;
  cursor: pointer;
}
.mega-item:hover { background: var(--bg-soft); }
.mega-icon {
  flex-shrink: 0;
  width: 36px; height: 36px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mega-title { font-weight: 600; font-size: 14px; color: var(--ink); }
.mega-desc { font-size: 12.5px; color: var(--ink-soft); margin-top: 2px; line-height: 1.5; }

/* ============ HERO ============ */
.hero {
  background: linear-gradient(135deg, #00163f 0%, #001f5c 50%, #002b7a 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(0, 102, 212, 0.4) 0%, transparent 50%),
    radial-gradient(ellipse at 20% 80%, rgba(0, 163, 155, 0.2) 0%, transparent 55%);
}
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}
.hero-inner {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 80px 0 100px;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 8px;
  background: rgba(0, 102, 212, 0.15);
  border: 1px solid rgba(0, 102, 212, 0.4);
  border-radius: 100px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #a8c8f0;
  margin-bottom: 28px;
}
.hero-eyebrow-dot { width: 6px; height: 6px; background: #4a9eff; border-radius: 50%; box-shadow: 0 0 0 4px rgba(74, 158, 255, 0.25); }
h1.hero-title {
  font-size: clamp(36px, 4.5vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  font-weight: 600;
  margin-bottom: 24px;
}
h1.hero-title strong { color: #4a9eff; font-weight: 600; }
.hero-lead {
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
  max-width: 540px;
  margin-bottom: 36px;
  font-weight: 300;
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero-trust {
  display: flex;
  gap: 28px;
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.trust-item { display: flex; flex-direction: column; gap: 4px; }
.trust-label { font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.5); }
.trust-value { font-size: 14px; font-weight: 500; color: rgba(255,255,255,0.9); }

/* Hero right side — product visualization mock */
.hero-visual {
  background: rgba(0, 13, 40, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 24px;
  backdrop-filter: blur(10px);
}
.hero-visual-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 18px;
}
.hv-traffic { display: flex; gap: 6px; }
.hv-traffic span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, 0.15); }
.hv-traffic span:first-child { background: #ff5f56; }
.hv-traffic span:nth-child(2) { background: #ffbd2e; }
.hv-traffic span:nth-child(3) { background: #27c93f; }
.hv-tab {
  font-family: var(--mono);
  font-size: 10px;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.1em;
}
.hv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}
.hv-pane {
  aspect-ratio: 1;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(74, 158, 255, 0.4) 0%, transparent 50%),
    #001a4a;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}
.hv-pane::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 50%; height: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(74, 158, 255, 0.4);
  border-radius: 50%;
}
.hv-pane.pet::after {
  content: '';
  position: absolute;
  top: 45%; left: 55%;
  width: 24px; height: 24px;
  background: radial-gradient(circle, rgba(255, 100, 50, 0.9), transparent);
  transform: translate(-50%, -50%);
}
.hv-pane.fusion {
  background:
    radial-gradient(ellipse at 50% 40%, rgba(255, 100, 50, 0.6) 0%, transparent 30%),
    radial-gradient(ellipse at 50% 50%, rgba(74, 158, 255, 0.3) 0%, transparent 50%),
    #001a4a;
}
.hv-pane-label {
  position: absolute;
  bottom: 8px; left: 10px;
  font-family: var(--mono);
  font-size: 9px;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.1em;
}
.hv-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.hv-stat-num { font-size: 20px; font-weight: 600; color: #4a9eff; }
.hv-stat-label { font-size: 10px; color: rgba(255,255,255,0.5); margin-top: 2px; }

/* Real product screenshots inside the imaging frames (hero + slider + product). */
.hv-shot {
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #000;
  line-height: 0;
}
.hv-shot img { display: block; width: 100%; height: auto; }
.hv-pane.shot, .visual-pane.shot { background: #000; }
.hv-pane.shot::before { display: none; }
.hv-pane.shot img,
.visual-pane.shot img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
}
/* Product-page stacked screenshots (replaces the abstract mockup). */
.shot-stack { display: grid; gap: 16px; }
.shot-figure { margin: 0; }
.shot-figure img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--rule);
  border-radius: 8px;
  background: #000;
}
.shot-figure figcaption {
  font-size: 12px;
  color: var(--ink-soft, #5a6b86);
  margin-top: 8px;
  letter-spacing: 0.01em;
}

/* ============ HERO SLIDER ============ */
.slider-section {
  background: var(--bg);
  padding: 80px 0 0;
  overflow: hidden;
}
.slider-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 32px;
  gap: 32px;
  flex-wrap: wrap;
}
.slider-header h2 {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-top: 8px;
}
.slider-controls {
  display: flex;
  gap: 8px;
  align-items: center;
}
.slider-arrow {
  width: 44px; height: 44px;
  border: 1px solid var(--rule);
  background: var(--bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  color: var(--ink-mid);
}
.slider-arrow:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
.slider-arrow.disabled { opacity: 0.3; cursor: not-allowed; }
.slider-arrow.disabled:hover { border-color: var(--rule); color: var(--ink-mid); background: var(--bg); }

.slider-viewport {
  position: relative;
  width: 100%;
  overflow: hidden;
}
.slider-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
.slide {
  flex: 0 0 100%;
  min-width: 100%;
  padding: 0 8px;
}
.slide-inner {
  background: linear-gradient(135deg, var(--bg) 0%, var(--bg-soft) 100%);
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 56px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
  min-height: 480px;
  position: relative;
  overflow: hidden;
}
.slide-inner.slide-1 { background: linear-gradient(135deg, #f0f8ff 0%, #e6f1fc 100%); border-color: rgba(0, 102, 212, 0.2); }
.slide-inner.slide-2 { background: linear-gradient(135deg, #f5fbfa 0%, #e0f5f3 100%); border-color: rgba(0, 163, 155, 0.2); }
.slide-inner.slide-3 { background: linear-gradient(135deg, #fdf8f0 0%, #faedd9 100%); border-color: rgba(217, 119, 6, 0.2); }
.slide-inner.slide-4 { background: linear-gradient(135deg, #f3f0fd 0%, #e9e3fb 100%); border-color: rgba(127, 90, 220, 0.2); }
.slide-inner.slide-5 { background: linear-gradient(135deg, #fdf2f5 0%, #fbe3eb 100%); border-color: rgba(212, 83, 126, 0.2); }
.slide-inner.slide-6 { background: linear-gradient(135deg, #f0fbf4 0%, #d8f3e2 100%); border-color: rgba(5, 150, 105, 0.2); }
.slide-inner.slide-7 { background: linear-gradient(135deg, #00163f 0%, #002b7a 100%); border-color: rgba(74, 158, 255, 0.3); color: #fff; }

.slide-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 16px;
  padding: 5px 12px;
  background: rgba(0, 102, 212, 0.1);
  border-radius: 100px;
}
.slide-7 .slide-eyebrow { color: #a8c8f0; background: rgba(74, 158, 255, 0.15); }

.slide-letter {
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  background: #fff;
  width: 28px; height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--accent);
}
.slide-2 .slide-eyebrow { color: var(--teal); background: rgba(0, 163, 155, 0.1); }
.slide-2 .slide-letter { color: var(--teal); border-color: var(--teal); }
.slide-3 .slide-eyebrow { color: var(--warning); background: rgba(217, 119, 6, 0.1); }
.slide-3 .slide-letter { color: var(--warning); border-color: var(--warning); }
.slide-4 .slide-eyebrow { color: #7f5adc; background: rgba(127, 90, 220, 0.1); }
.slide-4 .slide-letter { color: #7f5adc; border-color: #7f5adc; }

.slide-title {
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 16px;
}
.slide-7 .slide-title { color: #fff; }
.slide-title strong { color: var(--accent); font-weight: 600; }
.slide-7 .slide-title strong { color: #4a9eff; }

.slide-desc {
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-mid);
  margin-bottom: 24px;
  max-width: 480px;
}
.slide-7 .slide-desc { color: rgba(255, 255, 255, 0.75); }

.slide-features {
  list-style: none;
  margin-bottom: 28px;
}
.slide-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 6px 0;
  font-size: 14px;
  color: var(--ink-mid);
}
.slide-7 .slide-features li { color: rgba(255, 255, 255, 0.8); }
.slide-features li::before {
  content: '';
  width: 16px; height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  background: var(--accent);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 5L4 8L9 2'/%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
}
.slide-2 .slide-features li::before { background-color: var(--teal); }
.slide-3 .slide-features li::before { background-color: var(--warning); }
.slide-4 .slide-features li::before { background-color: #7f5adc; }
.slide-5 .slide-features li::before { background-color: #d4537e; }
.slide-6 .slide-features li::before { background-color: var(--success); }
.slide-7 .slide-features li::before { background-color: #4a9eff; }

.slide-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.slide-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
}
.slide-link:hover { background: var(--accent-hover); }
.slide-link.secondary {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--rule-strong);
}
.slide-link.secondary:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
.slide-7 .slide-link.secondary { color: #fff; border-color: rgba(255, 255, 255, 0.2); background: rgba(255, 255, 255, 0.08); }
.slide-7 .slide-link.secondary:hover { border-color: rgba(255, 255, 255, 0.4); background: rgba(255, 255, 255, 0.15); }

.slide-visual {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(0, 22, 63, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
}
.slide-7 .slide-visual { background: rgba(255, 255, 255, 0.04); border-color: rgba(255, 255, 255, 0.08); }

.visual-imaging {
  width: 80%;
  height: 80%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.visual-pane {
  background:
    radial-gradient(ellipse at 50% 50%, rgba(74, 158, 255, 0.5) 0%, transparent 55%),
    #001a4a;
  border-radius: 4px;
  position: relative;
}
.visual-pane.hot {
  background:
    radial-gradient(ellipse at 55% 45%, rgba(255, 100, 50, 0.85) 0%, transparent 30%),
    radial-gradient(ellipse at 50% 50%, rgba(74, 158, 255, 0.3) 0%, transparent 50%),
    #001a4a;
}
.visual-pane.green {
  background:
    radial-gradient(ellipse at 50% 50%, rgba(0, 200, 130, 0.5) 0%, transparent 50%),
    #001a4a;
}
.visual-pane.fusion {
  background:
    radial-gradient(ellipse at 55% 50%, rgba(255, 150, 50, 0.5) 0%, transparent 35%),
    radial-gradient(ellipse at 45% 50%, rgba(74, 158, 255, 0.4) 0%, transparent 50%),
    #001a4a;
}
.visual-pane-label {
  position: absolute;
  bottom: 8px; left: 10px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.6);
}
.visual-workflow {
  width: 90%;
  padding: 24px;
}
.visual-workflow-step {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 6px;
  margin-bottom: 10px;
  border-left: 3px solid var(--warning);
  backdrop-filter: blur(4px);
}
.visual-workflow-step:last-child { margin-bottom: 0; }
.wfv-num {
  width: 24px; height: 24px;
  background: var(--warning);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
  flex-shrink: 0;
}
.wfv-text { font-size: 13px; color: var(--ink); font-weight: 500; }
.visual-ai {
  width: 100%; height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ai-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  width: 75%;
}
.ai-node {
  aspect-ratio: 1;
  background: rgba(127, 90, 220, 0.15);
  border-radius: 4px;
}
.ai-node.active { background: #7f5adc; }
.ai-node.semi { background: rgba(127, 90, 220, 0.5); }
.visual-thera {
  width: 80%; height: 80%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.thera-circle {
  width: 200px; height: 200px;
  border: 2px solid rgba(212, 83, 126, 0.3);
  border-radius: 50%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.thera-circle::before {
  content: '';
  position: absolute;
  inset: -10px;
  border: 1px solid rgba(212, 83, 126, 0.2);
  border-radius: 50%;
  border-style: dashed;
}
.thera-isotope {
  width: 70px; height: 70px;
  background: radial-gradient(circle, #d4537e 0%, rgba(212, 83, 126, 0.4) 70%);
  border-radius: 50%;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-weight: 600;
  font-size: 13px;
}
.thera-orbit-dot {
  position: absolute;
  width: 12px; height: 12px;
  background: #d4537e;
  border-radius: 50%;
}
.visual-cloud {
  width: 75%; height: 75%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.cloud-shape {
  width: 140px; height: 80px;
  background: var(--success);
  border-radius: 80px;
  position: relative;
  opacity: 0.9;
}
.cloud-shape::before, .cloud-shape::after {
  content: '';
  position: absolute;
  background: var(--success);
  border-radius: 50%;
}
.cloud-shape::before {
  width: 60px; height: 60px;
  top: -28px; left: 22px;
}
.cloud-shape::after {
  width: 50px; height: 50px;
  top: -22px; right: 18px;
}
.cloud-connect-line {
  width: 1px; height: 32px;
  background: rgba(5, 150, 105, 0.3);
}
.cloud-servers {
  display: flex;
  gap: 10px;
}
.cloud-server {
  width: 24px; height: 40px;
  background: rgba(5, 150, 105, 0.2);
  border: 1px solid rgba(5, 150, 105, 0.4);
  border-radius: 3px;
  position: relative;
}
.cloud-server::before, .cloud-server::after {
  content: '';
  position: absolute;
  left: 5px; right: 5px;
  height: 2px;
  background: var(--success);
}
.cloud-server::before { top: 6px; }
.cloud-server::after { top: 14px; }
.visual-enterprise {
  width: 80%; height: 80%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 8px;
}
.ent-node {
  background: rgba(74, 158, 255, 0.1);
  border: 1px solid rgba(74, 158, 255, 0.3);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4a9eff;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  flex-direction: column;
  gap: 6px;
  padding: 12px;
}
.ent-node svg { width: 24px; height: 24px; }

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
}
.slider-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--rule-strong);
  cursor: pointer;
  transition: all 0.25s;
  border: none;
  padding: 0;
}
.slider-dot.active {
  background: var(--accent);
  width: 28px;
  border-radius: 100px;
}
.slider-dot:hover:not(.active) { background: var(--ink-soft); }
.slider-progress {
  width: 100%;
  height: 2px;
  background: var(--rule);
  margin-top: 24px;
  border-radius: 2px;
  overflow: hidden;
}
.slider-progress-fill {
  height: 100%;
  background: var(--accent);
  width: 0%;
  transition: width 0.1s linear;
}
@media (max-width: 900px) {
  .slide-inner { grid-template-columns: 1fr; gap: 32px; padding: 32px; min-height: auto; }
  .slide-visual { aspect-ratio: 16 / 10; }
  .slider-header { flex-direction: column; align-items: flex-start; }
  .slide-title { font-size: 24px; }
}

/* ============ TRUSTED BAR ============ */
.trusted-bar {
  background: var(--bg-soft);
  padding: 36px 0;
  border-bottom: 1px solid var(--rule);
}
.trusted-inner {
  display: flex;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
  justify-content: center;
}
.trusted-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.trusted-logos {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  align-items: center;
  opacity: 0.55;
}
.trusted-logo {
  font-weight: 600;
  font-size: 14px;
  color: var(--ink-mid);
  letter-spacing: 0.05em;
}

/* ============ SECTIONS / PRODUCT SERIES ============ */
section { padding: 96px 0; }
.section-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 12px;
}
h2.section-title {
  font-size: clamp(30px, 3.8vw, 42px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 600;
  color: var(--ink);
  max-width: 760px;
}
.section-intro {
  font-size: 17px;
  color: var(--ink-mid);
  margin-top: 16px;
  max-width: 680px;
  line-height: 1.65;
}
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
  gap: 32px;
  flex-wrap: wrap;
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.product-card {
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 36px;
  transition: all 0.25s;
  position: relative;
  overflow: hidden;
}
.product-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}
.product-card:hover {
  border-color: var(--accent);
  box-shadow: 0 12px 32px rgba(0, 102, 212, 0.1);
  transform: translateY(-4px);
}
.product-card:hover::before { transform: scaleX(1); }
.product-letter {
  position: absolute;
  top: 28px; right: 32px;
  font-family: var(--mono);
  font-size: 56px;
  font-weight: 500;
  color: var(--accent-soft);
  line-height: 1;
}
.product-tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 14px;
}
.product-name {
  font-size: 26px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.015em;
  margin-bottom: 8px;
}
.product-tagline {
  font-size: 15px;
  color: var(--ink-mid);
  margin-bottom: 28px;
  line-height: 1.55;
}
.product-tiers {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.tier-pill {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  padding: 5px 12px;
  background: var(--bg-soft);
  border: 1px solid var(--rule);
  border-radius: 100px;
  color: var(--ink-mid);
  letter-spacing: 0.04em;
}
.product-features {
  list-style: none;
  margin-bottom: 28px;
}
.product-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  font-size: 13.5px;
  color: var(--ink-mid);
}
.product-features li::before {
  content: '';
  width: 14px; height: 14px;
  background: var(--accent-soft);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10' fill='none' stroke='%230066d4' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 5L4 8L9 2'/%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
}
.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid var(--rule);
}
.product-price-from {
  font-size: 12px;
  color: var(--ink-soft);
}
.product-price-from strong {
  display: block;
  font-size: 20px;
  color: var(--ink);
  font-weight: 600;
  margin-top: 2px;
}
.product-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}
.product-link:hover { gap: 10px; }

/* ============ SOLUTION WORKFLOWS ============ */
.workflows {
  background: var(--bg-soft);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.workflow-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--rule);
  overflow-x: auto;
}
.wf-tab {
  padding: 14px 24px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-mid);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all 0.15s;
  white-space: nowrap;
  background: none;
  font-family: var(--sans);
}
.wf-tab.active { color: var(--accent); border-bottom-color: var(--accent); }
.wf-tab:hover { color: var(--accent); }
.workflow-content {
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 48px;
}
.workflow-panel { display: none; }
.workflow-panel.active { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; }
.wf-content-left h3 {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-bottom: 16px;
  color: var(--ink);
}
.wf-content-left p {
  color: var(--ink-mid);
  line-height: 1.65;
  margin-bottom: 24px;
}
.wf-steps { display: flex; flex-direction: column; gap: 14px; }
.wf-step {
  display: flex;
  gap: 14px;
  padding: 14px;
  background: var(--bg-soft);
  border-radius: 6px;
  border-left: 3px solid var(--accent);
}
.wf-step-num {
  flex-shrink: 0;
  width: 28px; height: 28px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
}
.wf-step-title { font-weight: 600; font-size: 14px; color: var(--ink); }
.wf-step-desc { font-size: 13px; color: var(--ink-soft); margin-top: 2px; }
.wf-screenshot {
  background:
    radial-gradient(ellipse at 30% 40%, rgba(0, 102, 212, 0.3) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 60%, rgba(255, 100, 50, 0.2) 0%, transparent 40%),
    linear-gradient(135deg, #001f5c, #00163f);
  border-radius: 6px;
  min-height: 360px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.wf-screenshot::before {
  content: 'Application Screenshot';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--mono);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.14em;
}

/* ============ INNOVATION LABS ============ */
.innovation {
  background: var(--bg-dark);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.innovation::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 90% 10%, rgba(0, 163, 155, 0.2) 0%, transparent 55%),
    radial-gradient(ellipse at 10% 90%, rgba(0, 102, 212, 0.25) 0%, transparent 55%);
}
.innovation .container { position: relative; z-index: 1; }
.innovation .section-eyebrow { color: #4dd4ce; }
.innovation h2.section-title { color: #fff; }
.innovation .section-intro { color: rgba(255, 255, 255, 0.7); }
/* Embedded RIS workflow infographic (iframe, self-sizing via JS). */
.lab-flow {
  margin: 36px 0 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  overflow: hidden;
  background: #070b16;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}
.lab-flow-frame {
  display: block;
  width: 100%;
  border: 0;
  height: 1380px; /* fallback before the JS measures actual content height */
}
.labs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  overflow: hidden;
  margin-top: 48px;
}
.lab-card {
  background: var(--bg-dark);
  padding: 32px 28px;
  transition: background 0.25s;
  cursor: pointer;
  position: relative;
}
.lab-card:hover { background: rgba(0, 102, 212, 0.12); }
.lab-num {
  font-family: var(--mono);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.12em;
  margin-bottom: 20px;
}
.lab-icon {
  width: 36px; height: 36px;
  color: #4a9eff;
  margin-bottom: 18px;
}
.lab-icon svg { width: 100%; height: 100%; stroke-width: 1.5; }
.lab-name {
  font-size: 17px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.lab-desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.55;
}

/* ============ STATS ============ */
.stats {
  background: var(--bg);
  padding: 72px 0;
  border-bottom: 1px solid var(--rule);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.stat { text-align: center; }
.stat-num {
  font-size: clamp(36px, 4vw, 48px);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1;
}
.stat-num span { color: var(--accent); }
.stat-label {
  font-size: 13px;
  color: var(--ink-soft);
  margin-top: 8px;
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ============ CTA SECTION ============ */
.cta {
  background: linear-gradient(135deg, #00163f 0%, #001f5c 100%);
  color: #fff;
  padding: 72px 0;
}
.cta-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: center;
}
.cta h2 {
  font-size: clamp(28px, 3.5vw, 36px);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.2;
  color: #fff;
}
.cta p { color: rgba(255, 255, 255, 0.7); margin-top: 16px; max-width: 540px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }

/* ============ FOOTER ============ */
footer {
  background: var(--bg-darker);
  color: rgba(255, 255, 255, 0.6);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-brand p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 16px;
  max-width: 320px;
  line-height: 1.65;
}
.footer-col h5 {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 18px;
  font-weight: 500;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.15s;
  cursor: pointer;
}
.footer-col a:hover { color: #fff; }
.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}
.social-icon {
  width: 32px; height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  transition: all 0.15s;
  cursor: pointer;
}
.social-icon:hover { color: #fff; border-color: rgba(255, 255, 255, 0.4); }
.social-icon svg { width: 14px; height: 14px; }
.footer-bottom {
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom-right { display: flex; gap: 20px; }
.footer-bottom-right a:hover { color: #fff; }

/* =================================================================
   EXTENSIONS — pages beyond the homepage
   ================================================================= */

/* Flash messages */
.flash-stack { position: fixed; top: 84px; right: 24px; z-index: 200; display: flex; flex-direction: column; gap: 10px; max-width: 360px; }
.flash { padding: 14px 18px; border-radius: 6px; font-size: 14px; font-weight: 500; box-shadow: 0 8px 24px rgba(10,30,62,0.12); border-left: 4px solid; background: #fff; animation: flashIn 0.3s ease; }
.flash-success { border-color: var(--success); color: #065f46; background: #ecfdf5; }
.flash-error   { border-color: var(--danger);  color: #991b1b; background: #fef2f2; }
.flash-warning { border-color: var(--warning); color: #92400e; background: #fffbeb; }
.flash-info    { border-color: var(--accent);  color: #1e40af; background: var(--accent-soft); }
@keyframes flashIn { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: none; } }

/* Page hero (interior pages) */
.page-hero {
  background: linear-gradient(135deg, #00163f 0%, #001f5c 60%, #002b7a 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
  padding: 64px 0 56px;
}
.page-hero::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 85% 15%, rgba(0,102,212,0.35) 0%, transparent 55%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(30px, 4vw, 46px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; margin-bottom: 16px; }
.page-hero h1 strong { color: #4a9eff; font-weight: 600; }
.page-hero p { font-size: 17px; color: rgba(255,255,255,0.78); max-width: 620px; font-weight: 300; }
.page-hero .product-letter-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: #a8c8f0; background: rgba(74,158,255,0.15); border: 1px solid rgba(74,158,255,0.3);
  padding: 5px 14px; border-radius: 100px; margin-bottom: 20px;
}

/* Breadcrumb */
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-soft); padding: 16px 0; flex-wrap: wrap; }
.breadcrumb a { color: var(--ink-mid); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span.sep { opacity: 0.5; }
.page-hero .breadcrumb, .page-hero .breadcrumb a { color: rgba(255,255,255,0.6); padding-top: 0; }
.page-hero .breadcrumb a:hover { color: #fff; }

/* Feature grid (3-col with icons) */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-item { padding: 28px; border: 1px solid var(--rule); border-radius: 8px; background: var(--bg); transition: all 0.2s; }
.feature-item:hover { border-color: var(--accent); box-shadow: 0 8px 24px rgba(0,102,212,0.08); }
.feature-icon { width: 44px; height: 44px; border-radius: 8px; background: var(--accent-soft); color: var(--accent); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.feature-icon svg { width: 22px; height: 22px; }
.feature-item h3 { font-size: 17px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.feature-item p { font-size: 14px; color: var(--ink-mid); line-height: 1.6; }

/* Generic prose (CMS pages, FAQ answers, product long-form) */
.prose { max-width: 760px; color: var(--ink-mid); font-size: 16px; line-height: 1.75; }
.prose h2 { font-size: 26px; color: var(--ink); margin: 36px 0 14px; font-weight: 600; letter-spacing: -0.015em; }
.prose h3 { font-size: 20px; color: var(--ink); margin: 28px 0 10px; font-weight: 600; }
.prose p { margin-bottom: 16px; }
.prose ul, .prose ol { margin: 0 0 16px 22px; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--accent); text-decoration: underline; }

/* Pricing / tier selector (product pages) */
.pricing-layout { display: grid; grid-template-columns: 1fr 380px; gap: 48px; align-items: start; }
.tier-tabs { display: flex; gap: 8px; margin-bottom: 24px; flex-wrap: wrap; }
.tier-tab {
  padding: 10px 18px; border: 1px solid var(--rule-strong); border-radius: 100px; background: var(--bg);
  font-size: 13px; font-weight: 500; color: var(--ink-mid); cursor: pointer; font-family: var(--sans);
  display: inline-flex; align-items: center; gap: 8px; transition: all 0.15s;
}
.tier-tab:hover { border-color: var(--accent); color: var(--accent); }
.tier-tab.active { background: var(--accent); color: #fff; border-color: var(--accent); }
.tier-tab .tier-tab-badge { font-family: var(--mono); font-size: 9px; letter-spacing: 0.08em; text-transform: uppercase; background: rgba(255,255,255,0.2); padding: 2px 6px; border-radius: 50px; }
.tier-panel { display: none; }
.tier-panel.active { display: block; }
.tier-panel h3 { font-size: 22px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.tier-panel .tier-blurb { color: var(--ink-mid); margin-bottom: 20px; }
.tier-feature-list { list-style: none; margin-bottom: 8px; }
.tier-feature-list li { display: flex; align-items: flex-start; gap: 10px; padding: 7px 0; font-size: 14px; color: var(--ink-mid); }
.tier-feature-list li::before {
  content: ''; width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; border-radius: 50%;
  background: var(--accent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 5L4 8L9 2'/%3E%3C/svg%3E");
  background-position: center; background-repeat: no-repeat;
}

/* Order/config card (sticky) */
.config-card {
  position: sticky; top: 96px;
  border: 1px solid var(--rule); border-radius: 10px; background: var(--bg);
  box-shadow: 0 12px 32px rgba(10,30,62,0.06); overflow: hidden;
}
.config-card-head { padding: 24px 24px 20px; border-bottom: 1px solid var(--rule); }
.config-card-head .config-tier-name { font-size: 13px; font-family: var(--mono); text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-soft); }
.config-price { font-size: 34px; font-weight: 600; color: var(--ink); letter-spacing: -0.02em; }
.config-price small { font-size: 14px; font-weight: 400; color: var(--ink-soft); }
.config-card-body { padding: 24px; display: flex; flex-direction: column; gap: 20px; }
.config-group label.config-label { display: block; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-soft); margin-bottom: 10px; }
.seg { display: inline-flex; border: 1px solid var(--rule-strong); border-radius: 6px; overflow: hidden; }
.seg button { padding: 8px 16px; background: var(--bg); border: none; font-size: 13px; font-weight: 500; color: var(--ink-mid); cursor: pointer; font-family: var(--sans); }
.seg button.active { background: var(--accent); color: #fff; }
.seg button:disabled { opacity: 0.4; cursor: not-allowed; }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--rule-strong); border-radius: 6px; overflow: hidden; }
.stepper button { width: 36px; height: 36px; background: var(--bg-soft); border: none; font-size: 18px; cursor: pointer; color: var(--ink-mid); }
.stepper input { width: 48px; text-align: center; border: none; border-left: 1px solid var(--rule); border-right: 1px solid var(--rule); height: 36px; font-size: 14px; font-family: var(--sans); }
.module-option { display: flex; align-items: flex-start; gap: 10px; padding: 10px 0; border-top: 1px solid var(--rule); }
.module-option:first-of-type { border-top: none; }
.module-option input { margin-top: 3px; }
.module-option .mod-name { font-size: 14px; font-weight: 500; color: var(--ink); }
.module-option .mod-price { font-size: 13px; color: var(--accent); font-weight: 600; }
.module-option .mod-desc { font-size: 12.5px; color: var(--ink-soft); line-height: 1.5; }
.config-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 16px; border-top: 1px solid var(--rule); }
.config-total .total-label { font-size: 14px; color: var(--ink-mid); }
.config-total .total-value { font-size: 26px; font-weight: 600; color: var(--ink); }

/* FAQ accordion */
.faq-list { max-width: 820px; }
.faq-item { border-bottom: 1px solid var(--rule); }
.faq-q { width: 100%; text-align: left; background: none; border: none; padding: 20px 0; font-size: 16px; font-weight: 600; color: var(--ink); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-family: var(--sans); }
.faq-q .faq-icon { flex-shrink: 0; width: 20px; height: 20px; position: relative; transition: transform 0.2s; }
.faq-q .faq-icon::before, .faq-q .faq-icon::after { content: ''; position: absolute; background: var(--accent); border-radius: 2px; }
.faq-q .faq-icon::before { top: 9px; left: 0; right: 0; height: 2px; }
.faq-q .faq-icon::after { left: 9px; top: 0; bottom: 0; width: 2px; transition: transform 0.2s; }
.faq-item.open .faq-icon::after { transform: scaleY(0); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.25s ease; color: var(--ink-mid); line-height: 1.7; }
.faq-a-inner { padding: 0 0 20px; font-size: 15px; }

/* Forms */
.form-card { background: var(--bg); border: 1px solid var(--rule); border-radius: 10px; padding: 36px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-size: 13px; font-weight: 600; color: var(--ink); }
.form-group label .req { color: var(--danger); }
.form-control {
  width: 100%; padding: 11px 14px; border: 1px solid var(--rule-strong); border-radius: 6px;
  font-size: 14px; font-family: var(--sans); color: var(--ink); background: var(--bg); transition: border-color 0.15s, box-shadow 0.15s;
}
.form-control:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
textarea.form-control { resize: vertical; min-height: 120px; }
.form-hint { font-size: 12px; color: var(--ink-soft); }
.form-error { font-size: 12.5px; color: var(--danger); }
.checkbox-row { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; color: var(--ink-mid); }
.checkbox-row input { margin-top: 3px; }

/* Cart */
.cart-layout { display: grid; grid-template-columns: 1fr 360px; gap: 40px; align-items: start; }
.cart-items { border: 1px solid var(--rule); border-radius: 10px; overflow: hidden; }
.cart-item { display: grid; grid-template-columns: 1fr auto; gap: 20px; padding: 24px; border-bottom: 1px solid var(--rule); }
.cart-item:last-child { border-bottom: none; }
.cart-item-title { font-size: 16px; font-weight: 600; color: var(--ink); }
.cart-item-meta { font-size: 13px; color: var(--ink-soft); margin-top: 4px; line-height: 1.6; }
.cart-item-modules { font-size: 12.5px; color: var(--ink-mid); margin-top: 6px; }
.cart-item-right { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.cart-item-price { font-size: 18px; font-weight: 600; color: var(--ink); }
.cart-remove { font-size: 12.5px; color: var(--ink-soft); cursor: pointer; background: none; border: none; font-family: var(--sans); }
.cart-remove:hover { color: var(--danger); }
.summary-card { border: 1px solid var(--rule); border-radius: 10px; padding: 28px; position: sticky; top: 96px; background: var(--bg); }
.summary-card h3 { font-size: 18px; font-weight: 600; margin-bottom: 20px; }
.summary-row { display: flex; justify-content: space-between; font-size: 14px; color: var(--ink-mid); padding: 8px 0; }
.summary-row.total { border-top: 1px solid var(--rule); margin-top: 8px; padding-top: 16px; font-size: 20px; font-weight: 600; color: var(--ink); }
.discount-row { display: flex; gap: 8px; margin: 16px 0; }
.discount-row .form-control { flex: 1; }
.empty-state { text-align: center; padding: 80px 24px; }
.empty-state svg { width: 56px; height: 56px; color: var(--rule-strong); margin: 0 auto 20px; }
.empty-state h3 { font-size: 22px; font-weight: 600; color: var(--ink); margin-bottom: 10px; }
.empty-state p { color: var(--ink-mid); margin-bottom: 24px; }

/* Checkout */
.checkout-layout { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: start; }
.checkout-summary-item { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--rule); font-size: 14px; }
.checkout-summary-item:last-of-type { border-bottom: none; }
.secure-note { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--ink-soft); margin-top: 16px; }
.secure-note svg { width: 14px; height: 14px; color: var(--success); }

/* Status badges */
.badge { display: inline-block; font-size: 11px; font-weight: 600; padding: 3px 10px; border-radius: 50px; text-transform: capitalize; }
.badge-new, .badge-pending { background: #fef3c7; color: #92400e; }
.badge-paid, .badge-approved, .badge-contacted { background: #d1fae5; color: #065f46; }
.badge-fulfilled, .badge-closed { background: var(--accent-soft); color: #1e40af; }
.badge-failed, .badge-cancelled, .badge-rejected, .badge-spam { background: #fee2e2; color: #991b1b; }
.badge-reviewing, .badge-refunded { background: #ede9fe; color: #5b21b6; }
.badge-draft { background: #f1f5f9; color: #475569; }
.badge-issued { background: var(--accent-soft); color: #1e40af; }
.badge-void { background: #fee2e2; color: #991b1b; }

/* Downloads list */
.download-row { display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center; padding: 20px; border: 1px solid var(--rule); border-radius: 8px; margin-bottom: 12px; }
.download-icon { width: 44px; height: 44px; border-radius: 8px; background: var(--accent-soft); color: var(--accent); display: flex; align-items: center; justify-content: center; }
.download-meta { font-size: 13px; color: var(--ink-soft); margin-top: 4px; }

/* Two-column generic content layout */
.split-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }

/* Mobile navigation drawer */
.mobile-nav { display: none; position: fixed; inset: 0; z-index: 300; }
.mobile-nav.open { display: block; }
.mobile-nav-backdrop { position: absolute; inset: 0; background: rgba(0,13,40,0.5); }
.mobile-nav-panel { position: absolute; top: 0; right: 0; width: min(320px, 84vw); height: 100%; background: #fff; padding: 24px; overflow-y: auto; box-shadow: -8px 0 32px rgba(10,30,62,0.18); }
.mobile-nav-panel a { display: block; padding: 14px 12px; font-size: 15px; font-weight: 500; color: var(--ink); border-bottom: 1px solid var(--rule); }
.mobile-nav-panel a:hover { color: var(--accent); }
.mobile-nav-close { background: none; border: none; font-size: 24px; color: var(--ink-mid); cursor: pointer; float: right; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1100px) {
  nav.primary { display: none; }
  .nav-toggle { display: flex; }
  .hero-inner, .workflow-content, .workflow-panel.active, .cta-inner, .split-2 { grid-template-columns: 1fr; gap: 40px; }
  .products-grid, .labs-grid, .stats-grid, .feature-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-actions { justify-content: flex-start; }
  .pricing-layout, .cart-layout, .checkout-layout { grid-template-columns: 1fr; }
  .config-card, .summary-card { position: static; }
}
@media (max-width: 640px) {
  section { padding: 64px 0; }
  .products-grid, .labs-grid, .stats-grid, .feature-grid, .footer-grid, .form-grid { grid-template-columns: 1fr; }
  .topbar-right { display: none; }
  .header-actions .btn { display: none; }
  .product-letter { font-size: 40px; top: 20px; right: 20px; }
  .product-card, .form-card { padding: 28px 24px; }
  .workflow-content { padding: 28px; }
  .workflow-tabs { gap: 0; }
  .wf-tab { padding: 12px 16px; font-size: 13px; }
  .cart-item { grid-template-columns: 1fr; }
  .cart-item-right { align-items: flex-start; text-align: left; }
  .flash-stack { left: 16px; right: 16px; max-width: none; top: 76px; }
}
