:root {
  --cyan: #40EDED;
  --cyan-hover: #2BD6D6;
  --grey-dark: #2D2D2D;
  --grey-light: #F9F9F9;
  --white: #FFFFFF;
  --black: #000000;
  --text: #000000;
  --text-muted: #6B6B6B;
  --text-subtle: #8A8A8A;
  --border: #EAEAEA;
  --border-subtle: #F2F2F2;
  --dark-surface: #3A3A3A;
  --dark-surface-2: #353535;
  --dark-text-muted: #B8B8B8;
  --dark-text-subtle: #8A8A8A;
  --dark-border: rgba(255,255,255,0.08);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; scroll-behavior: smooth; }

body {
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.55;
  color: var(--text);
  background: var(--grey-light);
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 32px; }

/* ============ NAV ============ */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(249,249,249,0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1240px; margin: 0 auto;
  padding: 18px 32px;
  display: flex; justify-content: space-between; align-items: center;
}
.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
}
.logo svg {
  display: block;
  height: 24px;
  width: auto;
}
.footer-brand .logo svg { height: 22px; }
.nav-ctas {
  display: flex;
  gap: 8px;
  align-items: center;
}
.nav-links {
  display: flex; gap: 32px;
  font-size: 15px; color: var(--text);
}
.nav-item {
  position: relative;
  padding: 8px 0;
  cursor: pointer;
}
.nav-item:hover { color: var(--grey-dark); }
.nav-item.has-dropdown::after {
  content: '›';
  display: inline-block;
  margin-left: 4px;
  transform: rotate(90deg);
  font-size: 14px;
  opacity: 0.5;
}
.dropdown {
  position: absolute;
  top: calc(100% + 12px); left: -24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px;
  min-width: 320px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.2s ease;
  z-index: 100;
}
.nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-section-label {
  padding: 6px 14px 8px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-subtle);
  border-top: 1px solid var(--border);
  margin-top: 6px;
}
.dropdown-section-label:first-child {
  border-top: none;
  margin-top: 0;
}
.dropdown-item {
  display: block;
  padding: 10px 14px;
  border-radius: 8px;
  transition: background 0.15s ease;
}
.dropdown-item:hover { background: var(--grey-light); }
.dropdown-item .label {
  font-size: 14px; font-weight: 500;
  color: var(--black);
  margin-bottom: 2px;
  display: block;
}
.dropdown-item .desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 13px 28px;
  border-radius: 999px;
  font-size: 15px; font-weight: 500;
  cursor: pointer; border: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--cyan); color: var(--black); }
.btn-primary:hover { background: var(--cyan-hover); transform: translateY(-1px); }
.btn-dark { background: var(--grey-dark); color: var(--white); }
.btn-outline {
  background: transparent; color: var(--text);
  border: 1.5px solid var(--grey-dark);
}
.btn-outline:hover { background: var(--grey-dark); color: var(--white); }
.btn-outline-light {
  background: transparent; color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.25);
}
.btn-outline-light:hover { background: var(--white); color: var(--grey-dark); border-color: var(--white); }
.btn-ghost {
  background: transparent; color: #FFFFFF;
  border: 1.5px solid transparent;
}
.btn-ghost:hover { color: var(--cyan); }
.btn-outline-cyan {
  background: transparent; color: var(--cyan);
  border: 1.5px solid var(--cyan);
}
.btn-outline-cyan:hover { background: var(--cyan); color: var(--black); }
/* Ensure all .btn variants in nav have same total size */
.nav-ctas .btn-primary,
.nav-ctas .btn-ghost,
.nav-ctas .btn-outline-cyan {
  border-width: 1.5px;
  border-style: solid;
}
.nav-ctas .btn-primary { border-color: var(--cyan); }
.nav-ctas .btn-ghost {
  border-color: transparent;
  color: #FFFFFF;
}
.nav-ctas .btn-ghost:hover { color: var(--cyan); }
.nav-ctas .btn-outline-cyan {
  border-color: var(--cyan);
  color: var(--cyan);
  background: transparent;
}
.nav-ctas .btn-outline-cyan:hover { background: var(--cyan); color: #0A0A0B; }
.btn-sm { padding: 9px 20px; font-size: 14px; }

/* ============ EYEBROW ============ */
.eyebrow {
  display: inline-block;
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--grey-dark);
  margin-bottom: 24px;
  padding-left: 24px; position: relative;
}
.eyebrow::before {
  content: ''; position: absolute;
  left: 0; top: 50%; transform: translateY(-50%);
  width: 16px; height: 2px; background: var(--cyan);
}
.eyebrow-on-dark { color: var(--cyan); }
.eyebrow-on-dark::before { background: var(--cyan); }

/* ============ SECTION HELPERS ============ */
.section-intro {
  max-width: 680px; margin: 0 auto 64px;
  text-align: center;
}
.section-intro h2 {
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 16px;
}
.section-intro p {
  font-size: 18px; color: var(--text-muted);
  line-height: 1.55;
}

/* ============================================ */
/* ============ 1. HERO (new) ================= */
/* ============================================ */
.hero {
  padding: 72px 32px 80px;
  position: relative;
}
.hero-top {
  max-width: 920px; margin: 0 auto 56px;
  text-align: center;
  position: relative;
}
.hero-top h1 {
  font-weight: 700;
  font-size: clamp(40px, 5.2vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--black);
  margin-bottom: 20px;
}
.hero-sub {
  font-size: 19px; line-height: 1.55;
  color: var(--text-muted);
  max-width: 620px; margin: 0 auto 28px;
}
.hero-ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ============ PLATFORM FIGURE ============ */
.pf {
  max-width: 1200px; margin: 0 auto;
  position: relative;
}
.pf-label-row {
  display: grid;
  grid-template-columns: 1fr 1.15fr 1fr;
  gap: 40px;
  margin-bottom: 12px;
  align-items: end;
}
.pf-col-label {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-subtle);
  text-align: center;
}
.pf-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr 1fr;
  gap: 40px;
  align-items: stretch;
  position: relative;
}

/* SVG connector overlay */
.pf-connectors {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

/* Input / output columns */
.pf-col {
  display: flex; flex-direction: column;
  gap: 10px;
  position: relative;
  z-index: 2;
}
.pf-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 13.5px;
  display: flex; align-items: center;
  gap: 12px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 2px rgba(0,0,0,0.03);
  position: relative;
}
.pf-item-icon {
  width: 28px; height: 28px; border-radius: 6px;
  background: var(--grey-light);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--grey-dark);
  transition: all 0.4s ease;
}
.pf-item-icon svg {
  width: 14px; height: 14px;
}
.pf-item-text {
  font-size: 13px;
  line-height: 1.35;
  color: var(--text);
  flex: 1;
}
.pf-item-text strong {
  font-weight: 500;
  display: block;
}
.pf-item-text span {
  font-size: 11px;
  color: var(--text-muted);
  display: block;
}
.pf-col-right .pf-item {
  flex-direction: row-reverse;
  text-align: right;
}
.pf-col-right .pf-item-text { text-align: right; }

/* Active state — relevant for current role */
.pf-item.active {
  border-color: var(--cyan);
  box-shadow: 0 2px 8px rgba(64,237,237,0.15);
}
.pf-item.active .pf-item-icon {
  background: var(--cyan);
  color: var(--black);
}

/* Inactive state — grey out */
.pf-item.inactive {
  opacity: 0.35;
  filter: saturate(0);
}

/* Center (role selector) */
.pf-center {
  background: var(--grey-dark);
  border-radius: 24px;
  padding: 32px 28px;
  color: var(--white);
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
  z-index: 2;
  display: flex; flex-direction: column;
}
.pf-center::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(64,237,237,0.2), transparent 60%);
  pointer-events: none;
}
.pf-center > * { position: relative; }
.pf-center-brand {
  text-align: center;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 22px;
}
.pf-center-name {
  font-size: 20px; font-weight: 700;
  color: var(--cyan);
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}
.pf-center-sub {
  font-size: 12px;
  color: var(--dark-text-muted);
  letter-spacing: 0.05em;
}

.pf-role-label {
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--dark-text-subtle);
  margin-bottom: 12px;
  text-align: center;
}
.pf-roles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 22px;
}
.pf-role-btn {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--white);
  padding: 11px 8px;
  border-radius: 10px;
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.pf-role-btn svg {
  width: 18px; height: 18px;
  color: var(--dark-text-muted);
  transition: color 0.2s ease;
}
.pf-role-btn:hover {
  background: rgba(64,237,237,0.08);
  border-color: rgba(64,237,237,0.3);
}
.pf-role-btn.active {
  background: var(--cyan);
  border-color: var(--cyan);
  color: var(--black);
}
.pf-role-btn.active svg { color: var(--black); }

.pf-center-footer {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.pf-context-label {
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--dark-text-subtle);
  margin-bottom: 8px;
}
.pf-context-text {
  font-size: 13px;
  color: var(--dark-text-muted);
  line-height: 1.5;
  min-height: 60px;
}
.pf-context-text strong {
  color: var(--white);
  font-weight: 500;
}

.pf-pipeline {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 12px 0;
  justify-content: center;
  margin-bottom: 6px;
}
.pf-pipeline-step {
  font-family: 'Roboto Mono', monospace;
  font-size: 10px;
  color: var(--cyan);
  opacity: 0.7;
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.pf-pipeline-step::after {
  content: '→';
  margin-left: 6px;
  opacity: 0.5;
}
.pf-pipeline-step:last-child::after { content: ''; }

/* ============ 2. PROBLEM (dark) ============ */
.problem {
  background: var(--grey-dark); color: var(--white);
  padding: 120px 32px;
  position: relative; overflow: hidden;
}
.problem::before {
  content: '';
  position: absolute;
  top: -240px; left: 50%; transform: translateX(-50%);
  width: 900px; height: 900px;
  background: radial-gradient(circle, rgba(64,237,237,0.10), transparent 60%);
  pointer-events: none;
}
.problem-inner { max-width: 1240px; margin: 0 auto; position: relative; }
.problem-hero {
  text-align: center;
  max-width: 760px; margin: 0 auto 72px;
}
.problem-statement {
  font-weight: 700;
  font-size: clamp(44px, 6.5vw, 80px);
  line-height: 1.05; letter-spacing: -0.03em;
  margin-bottom: 20px; color: var(--white);
}
.problem-statement .percent { color: var(--cyan); }
.problem-sub {
  font-size: 19px; line-height: 1.55;
  color: var(--dark-text-muted);
  max-width: 580px; margin: 0 auto;
}
.problem-source {
  display: inline-block;
  margin-top: 12px;
  font-size: 12px;
  font-style: italic;
  color: var(--dark-text-subtle);
  letter-spacing: 0.02em;
}

/* ============ PLATFORM TAGLINE (below hero figure) ============ */
.pf-tagline {
  text-align: center;
  margin-top: 48px;
  font-size: 18px;
  font-weight: 500;
  color: var(--grey-dark);
  letter-spacing: -0.01em;
}
.pf-tagline strong {
  color: var(--black);
  font-weight: 700;
}

/* ============ PROOF STRIP (between problem and Neo) ============ */
.proof-strip {
  background: var(--grey-light);
  padding: 64px 32px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.proof-strip-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.proof-item {
  text-align: center;
  padding: 0 8px;
  position: relative;
}
.proof-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -16px; top: 50%;
  transform: translateY(-50%);
  height: 56px; width: 1px;
  background: var(--border);
}
.proof-num {
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 700;
  color: var(--black);
  letter-spacing: -0.025em;
  line-height: 1;
  margin-bottom: 8px;
}
.proof-num .tiny {
  font-size: 13px;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0;
}
.proof-label {
  font-size: 13px; font-weight: 500;
  color: var(--text); line-height: 1.4;
}
.pain-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.pain-card {
  background: var(--dark-surface);
  border: 1px solid var(--dark-border);
  border-radius: 12px;
  padding: 32px 26px;
  transition: all 0.2s ease;
}
.pain-card:hover {
  border-color: rgba(64,237,237,0.45);
  transform: translateY(-3px);
}
.pain-num {
  font-weight: 700;
  font-size: 44px; line-height: 1;
  letter-spacing: -0.03em;
  color: var(--cyan); margin-bottom: 14px;
}
.pain-label {
  font-size: 12px; font-weight: 700;
  color: var(--white); margin-bottom: 10px;
  text-transform: uppercase; letter-spacing: 0.08em;
}
.pain-text {
  font-size: 14px; color: var(--dark-text-muted);
  line-height: 1.55;
}

/* ============ 3. NEO AI (was 5) ============ */
.neo-section {
  background: var(--grey-light);
  padding: 120px 32px;
  position: relative;
}
.neo-inner {
  max-width: 1240px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
}
.neo-copy h2 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700; letter-spacing: -0.025em;
  line-height: 1.1; margin-bottom: 20px;
}
.neo-copy h2 em {
  font-style: normal; color: var(--grey-dark);
  position: relative; display: inline-block;
}
.neo-copy h2 em::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: 4px;
  height: 10px; background: var(--cyan);
  z-index: -1; opacity: 0.5;
}
.neo-copy > p {
  font-size: 18px; color: var(--text-muted);
  line-height: 1.6; margin-bottom: 24px;
}
.neo-features {
  list-style: none;
  display: flex; flex-direction: column; gap: 12px;
  margin-bottom: 32px;
}
.neo-features li {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 15px; color: var(--text);
}
.neo-features li::before {
  content: '→'; color: var(--cyan);
  flex-shrink: 0; font-weight: 700;
}

.neo-chat {
  background: var(--grey-dark);
  border-radius: 24px;
  padding: 24px;
  display: flex; flex-direction: column; gap: 20px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.12);
}
.neo-chat-header {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.neo-brand { display: flex; align-items: center; gap: 10px; }
.neo-avatar {
  width: 32px; height: 32px; border-radius: 999px;
  background: var(--cyan); color: var(--black);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px;
}
.neo-name { font-size: 14px; font-weight: 700; color: var(--white); }
.neo-role { font-size: 11px; color: var(--dark-text-muted); }
.neo-chat-live {
  display: flex; align-items: center; gap: 7px;
  font-size: 10px; font-weight: 700;
  color: var(--dark-text-muted);
  letter-spacing: 0.08em; text-transform: uppercase;
}
.neo-live-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 3px rgba(64,237,237,0.3);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(64,237,237,0.3); }
  50% { box-shadow: 0 0 0 7px rgba(64,237,237,0.08); }
}
.neo-convo {
  display: flex; flex-direction: column; gap: 10px;
}
.neo-msg {
  max-width: 90%; padding: 12px 16px;
  border-radius: 14px; font-size: 13.5px;
  line-height: 1.5;
}
.neo-msg-user {
  align-self: flex-end;
  background: rgba(64,237,237,0.15);
  color: var(--white);
  border: 1px solid rgba(64,237,237,0.25);
  border-bottom-right-radius: 4px;
}
.neo-msg-ai {
  align-self: flex-start;
  background: var(--dark-surface-2);
  color: var(--dark-text-muted);
  border: 1px solid rgba(255,255,255,0.05);
  border-bottom-left-radius: 4px;
}
.neo-msg-ai strong { color: var(--white); font-weight: 500; }
.neo-msg-ai .cyan { color: var(--cyan); font-weight: 500; }
.neo-convo-divider {
  display: flex; align-items: center; gap: 10px;
  font-size: 10px; color: var(--dark-text-subtle);
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 4px 0;
}
.neo-convo-divider::before,
.neo-convo-divider::after {
  content: ''; flex: 1;
  height: 1px; background: rgba(255,255,255,0.06);
}
.neo-input {
  padding: 12px 16px;
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 999px;
  font-size: 13px; color: var(--dark-text-subtle);
  display: flex; justify-content: space-between; align-items: center;
}
.neo-input-send { color: var(--cyan); font-weight: 700; }

/* ============ 4. PLATFORM MODULES ============ */
.platform-modules {
  padding: 120px 32px;
  background: var(--grey-light);
}
.pm-inner { max-width: 1240px; margin: 0 auto; }

/* Foundation card (Smart Room featured) */
.pm-foundation {
  background: var(--grey-dark);
  color: var(--white);
  border-radius: 24px;
  padding: 0;
  overflow: hidden;
  position: relative;
  margin-bottom: 32px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
}
.pm-foundation::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(64,237,237,0.1), transparent 60%);
  pointer-events: none;
}
.pm-foundation-content {
  padding: 48px;
  position: relative;
}
.pm-foundation-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 6px;
  background: rgba(64,237,237,0.12);
  border: 1px solid rgba(64,237,237,0.3);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 500;
  color: var(--cyan);
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}
.pm-foundation-badge-inner {
  background: var(--cyan);
  color: var(--black);
  padding: 3px 10px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 10px;
}
.pm-foundation h3 {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  color: var(--white);
  line-height: 1.1;
}
.pm-foundation-sub {
  font-size: 17px;
  color: var(--dark-text-muted);
  line-height: 1.55;
  margin-bottom: 28px;
}
.pm-foundation-features {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
  margin-bottom: 32px;
}
.pm-foundation-features li {
  display: flex; gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--white);
}
.pm-foundation-features li::before {
  content: '✓';
  color: var(--cyan);
  font-weight: 700;
  flex-shrink: 0;
}
.pm-foundation-visual {
  background: rgba(0,0,0,0.2);
  padding: 48px;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.pm-foundation-stat {
  text-align: center;
  position: relative;
}
.pm-foundation-stat-eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dark-text-subtle);
  margin-bottom: 14px;
}
.pm-foundation-stat-big {
  font-size: 68px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--cyan);
  margin-bottom: 12px;
}
.pm-foundation-stat-big .unit {
  font-size: 24px;
  color: var(--dark-text-muted);
  font-weight: 400;
  margin-left: 2px;
}
.pm-foundation-stat-label {
  font-size: 13px;
  color: var(--dark-text-muted);
  line-height: 1.5;
  max-width: 220px;
  margin: 0 auto;
}
.pm-foundation-stat-divider {
  width: 40px;
  height: 1px;
  background: rgba(255,255,255,0.15);
  margin: 20px auto;
}
.pm-foundation-stat-small {
  font-size: 14px;
  color: var(--white);
  font-weight: 500;
}
.pm-foundation-stat-small-label {
  font-size: 11px;
  color: var(--dark-text-subtle);
  margin-top: 4px;
}

/* Divider between foundation and modules */
.pm-divider {
  display: flex; align-items: center; gap: 16px;
  margin: 32px 0 24px;
}
.pm-divider::before,
.pm-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}
.pm-divider-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-subtle);
  white-space: nowrap;
}

/* Module grid */
.pm-modules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}
.pm-module {
  background: var(--grey-light);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px 20px;
  transition: all 0.25s ease;
  display: flex; flex-direction: column;
}
.pm-module:hover {
  border-color: var(--cyan);
  transform: translateY(-3px);
  background: var(--white);
  box-shadow: 0 8px 24px rgba(0,0,0,0.05);
}
.pm-module-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--white);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  color: var(--grey-dark);
  transition: all 0.25s ease;
}
.pm-module:hover .pm-module-icon {
  background: var(--cyan);
  border-color: var(--cyan);
  color: var(--black);
}
.pm-module-icon svg { width: 18px; height: 18px; }
.pm-module-name {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.pm-module-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 14px;
  flex: 1;
}
.pm-module-link {
  font-size: 12px;
  font-weight: 500;
  color: var(--grey-dark);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s ease;
}
.pm-module-link:hover { gap: 8px; }

/* Neo AI ribbon */
.pm-neo-ribbon {
  background: linear-gradient(135deg, rgba(64,237,237,0.08) 0%, rgba(64,237,237,0.02) 100%);
  border: 1px solid rgba(64,237,237,0.25);
  border-radius: 14px;
  padding: 24px 32px;
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: space-between;
  flex-wrap: wrap;
}
.pm-neo-left {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
}
.pm-neo-icon {
  width: 44px; height: 44px;
  border-radius: 999px;
  background: var(--grey-dark);
  color: var(--cyan);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 18px;
  flex-shrink: 0;
}
.pm-neo-text {
  flex: 1;
}
.pm-neo-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey-dark);
  margin-bottom: 4px;
}
.pm-neo-title {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--black);
}
.pm-neo-title span {
  color: var(--text-muted);
  font-weight: 400;
}

/* ============ INTEGRATIONS ============ */
.integrations {
  padding: 96px 32px 80px;
  background: var(--grey-light);
}
.integrations-inner { max-width: 1240px; margin: 0 auto; }
.integrations .section-intro { margin-bottom: 48px; }
.integration-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
.integration-tile {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 76px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: all 0.2s ease;
  letter-spacing: -0.01em;
}
.integration-tile:hover {
  border-color: var(--cyan);
  color: var(--black);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}
.integration-tile img {
  max-width: 100%;
  max-height: 32px;
  object-fit: contain;
  display: block;
}
.integration-footer {
  text-align: center;
  margin-top: 32px;
}
.integration-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--grey-dark);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s ease;
}
.integration-link:hover { gap: 10px; color: var(--black); }

/* ============ 5. CUSTOMERS ============ */
.customers { padding: 120px 32px; background: var(--grey-light); }
.customer-logos {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 28px 40px;
  align-items: center;
  max-width: 1100px; margin: 0 auto 80px;
}
.customer-logo {
  font-weight: 500; font-size: 15px;
  color: var(--text-subtle);
  opacity: 0.7;
  transition: all 0.2s ease;
  letter-spacing: -0.01em;
  text-align: center;
}
.customer-logo:hover { opacity: 1; color: var(--grey-dark); }

.quote-card {
  max-width: 880px; margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 56px 56px 48px;
  position: relative;
}
.quote-mark {
  position: absolute;
  top: 24px; left: 32px;
  font-family: Georgia, serif;
  font-size: 88px; line-height: 1;
  color: var(--cyan);
  opacity: 0.7;
}
.quote-text {
  font-size: 22px; line-height: 1.45;
  font-weight: 500; letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 32px;
  padding-top: 24px;
}
.quote-author {
  display: flex; align-items: center; gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.quote-avatar {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--grey-dark);
  display: flex; align-items: center; justify-content: center;
  color: var(--cyan);
  font-weight: 700; font-size: 16px;
}
.quote-name { font-size: 15px; font-weight: 700; }
.quote-role { font-size: 13px; color: var(--text-muted); margin-top: 2px; }

.customer-footer {
  text-align: center;
  margin-top: 48px;
  font-size: 14px; color: var(--text-muted);
}

/* ============ 6. FINAL CTA ============ */
.final-cta {
  padding: 120px 32px;
  text-align: center;
  position: relative;
  background: var(--grey-light);
}
.final-cta-inner { max-width: 720px; margin: 0 auto; position: relative; }
.final-cta h2 {
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 700; letter-spacing: -0.025em;
  line-height: 1.05; margin-bottom: 20px;
}
.final-cta p {
  font-size: 18px; color: var(--text-muted);
  margin-bottom: 40px;
}
.final-ctas {
  display: flex; gap: 12px; justify-content: center;
  flex-wrap: wrap; margin-bottom: 64px;
}
.cta-steps {
  display: flex; justify-content: center;
  gap: 48px; flex-wrap: wrap;
  padding-top: 48px;
  border-top: 1px solid var(--border);
}
.cta-step { display: flex; gap: 14px; align-items: flex-start; max-width: 220px; text-align: left; }
.cta-step-num {
  width: 32px; height: 32px;
  border-radius: 999px;
  background: var(--cyan); color: var(--black);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px;
  flex-shrink: 0;
}
.cta-step-text { font-size: 14px; color: var(--text-muted); line-height: 1.5; padding-top: 5px; }
.cta-step-text strong { color: var(--text); font-weight: 500; display: block; margin-bottom: 2px; }

/* ============ FOOTER ============ */
footer {
  background: var(--grey-dark);
  color: var(--dark-text-muted);
  padding: 64px 32px 32px;
}
.footer-inner {
  max-width: 1240px; margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .logo { color: var(--white); }
.footer-tagline {
  font-size: 13px; margin-top: 12px;
  line-height: 1.6; max-width: 280px;
}
.footer-col h4 {
  font-size: 11px; font-weight: 700;
  color: var(--white);
  letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  font-size: 14px; color: var(--dark-text-muted);
}
.footer-col a:hover { color: var(--cyan); }
.footer-bottom {
  max-width: 1240px; margin: 0 auto;
  padding-top: 28px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px;
  flex-wrap: wrap; gap: 16px;
}

/* ============ UNIFIED MODULE GRID (replaces pm-foundation/pm-modules-grid) ============ */
.pm-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.pm-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px 22px;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  text-decoration: none;
}
.pm-card:hover {
  border-color: var(--cyan);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.05);
}
.pm-card .pm-module-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--grey-light);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  color: var(--grey-dark);
  transition: all 0.25s ease;
  flex-shrink: 0;
}
.pm-card:hover .pm-module-icon:not(.pm-module-icon-foundation) {
  background: var(--cyan);
  border-color: var(--cyan);
  color: var(--black);
}
.pm-card .pm-module-icon svg { width: 18px; height: 18px; }
.pm-card .pm-module-name {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: var(--black);
}
.pm-card .pm-module-desc {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 14px;
}
.pm-card-features {
  list-style: none;
  margin: 0 0 16px 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.pm-card-features li {
  font-size: 12px;
  color: var(--text);
  line-height: 1.4;
  padding-left: 16px;
  position: relative;
}
.pm-card-features li::before {
  content: '';
  position: absolute;
  left: 0; top: 7px;
  width: 5px; height: 5px;
  background: var(--cyan);
  border-radius: 50%;
}
.pm-card-features li strong {
  font-weight: 600;
  color: var(--black);
}
.pm-card .pm-module-link {
  font-size: 12px;
  font-weight: 500;
  color: var(--grey-dark);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s ease;
  margin-top: auto;
}
.pm-card:hover .pm-module-link { gap: 8px; }

/* Foundation card — Smart Room */
.pm-card-foundation {
  grid-column: span 2;
  grid-row: span 1;
  background: var(--grey-dark);
  border: 1px solid var(--grey-dark);
  color: var(--white);
  position: relative;
  overflow: hidden;
  padding: 32px;
}
.pm-card-foundation::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(64,237,237,0.15), transparent 60%);
  pointer-events: none;
}
.pm-card-foundation:hover {
  border-color: var(--cyan);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.15);
}
.pm-card-foundation-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  position: relative;
}
.pm-card-foundation .pm-module-icon-foundation {
  background: var(--cyan);
  border-color: var(--cyan);
  color: var(--black);
  margin-bottom: 0;
}
.pm-foundation-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  padding: 6px 12px;
  background: rgba(64,237,237,0.1);
  border: 1px solid rgba(64,237,237,0.25);
  border-radius: 999px;
}
.pm-card-foundation .pm-module-name-foundation {
  font-size: 26px;
  margin-bottom: 10px;
  color: var(--white);
  position: relative;
}
.pm-card-foundation .pm-module-desc-foundation {
  font-size: 14px;
  color: var(--dark-text-muted);
  line-height: 1.55;
  margin-bottom: 18px;
  position: relative;
}
.pm-card-foundation-features {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 20px;
  margin-bottom: 20px;
  position: relative;
}
.pm-card-foundation-features li {
  font-size: 12.5px;
  color: var(--white);
  padding-left: 18px;
  position: relative;
  line-height: 1.4;
}
.pm-card-foundation-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--cyan);
  font-weight: 700;
}
.pm-card-foundation .pm-module-link-strong {
  font-size: 13px;
  font-weight: 700;
  color: var(--cyan);
  position: relative;
  margin-top: auto;
}

/* ============ STAKEHOLDER VALUE SECTION ============ */
.value-section {
  padding: 120px 32px;
  background: var(--grey-light);
  position: relative;
}
.value-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  max-width: 880px;
  margin: 0 auto 48px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px;
  position: relative;
}
.value-tab {
  background: transparent;
  border: none;
  padding: 14px 16px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  font-family: inherit;
}
.value-tab svg {
  width: 16px; height: 16px;
  color: var(--text-subtle);
  transition: color 0.2s ease;
  flex-shrink: 0;
}
.value-tab:hover {
  background: var(--grey-light);
  color: var(--text);
}
.value-tab:hover svg { color: var(--grey-dark); }
.value-tab.active {
  background: var(--grey-dark);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}
.value-tab.active:hover { background: var(--grey-dark); }
.value-tab.active svg { color: var(--cyan); }

.value-content {
  max-width: 1240px;       /* match .pm-inner and customers container for unified card widths */
  margin: 0 auto;
  position: relative;
}
.value-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 72px 56px;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 56px;
  position: relative;
  overflow: hidden;
  animation: fadeInUp 0.4s ease;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.value-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 4px;
  background: var(--cyan);
}
.value-left h3 {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 16px;
  color: var(--black);
}
.value-left p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 28px;
}
.value-stat {
  background: var(--grey-light);
  border-radius: 14px;
  padding: 22px 24px;
  border-left: 4px solid var(--cyan);
}
.value-stat-num {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--black);
  line-height: 1;
  margin-bottom: 8px;
}
.value-stat-num .unit {
  font-size: 16px;
  color: var(--text-muted);
  font-weight: 400;
  margin-left: 4px;
}
.value-stat-label {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.45;
}
.value-right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  align-content: start;
}
.value-prop {
  background: var(--grey-light);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 22px 20px;
  transition: all 0.2s ease;
}
.value-prop:hover {
  background: var(--white);
  border-color: var(--cyan);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}
.value-prop-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--white);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
  color: var(--grey-dark);
  transition: all 0.2s ease;
}
.value-prop:hover .value-prop-icon {
  background: var(--cyan);
  border-color: var(--cyan);
  color: var(--black);
}
.value-prop-icon svg { width: 14px; height: 14px; }
.value-prop-title {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
  color: var(--black);
  line-height: 1.3;
}
.value-prop-desc {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .pf-grid, .pf-label-row { grid-template-columns: 1fr; gap: 16px; }
  .pf-col-right .pf-item { flex-direction: row; text-align: left; }
  .pf-col-right .pf-item-text { text-align: left; }
  .pf-connectors { display: none; }
  .footer-inner { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .pm-grid { grid-template-columns: repeat(2, 1fr); }
  .pm-card-foundation { grid-column: span 2; }
  .value-card { grid-template-columns: 1fr; gap: 32px; padding: 40px; }
  .value-tabs { max-width: 100%; }
  .value-tab span { font-size: 13px; }
  .integration-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 768px) {
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .cta-steps { gap: 24px; }
  .pf-roles { grid-template-columns: 1fr; }
  .proof-strip-inner { grid-template-columns: 1fr; gap: 32px; }
  .proof-item:not(:last-child)::after { display: none; }
  .customer-logos { grid-template-columns: repeat(3, 1fr); gap: 24px 20px; }
  .pm-grid { grid-template-columns: repeat(2, 1fr); }
  .pm-card-foundation { grid-column: span 2; padding: 28px; }
  .pm-card-foundation .pm-module-name-foundation { font-size: 22px; }
  .pm-card-foundation-features { grid-template-columns: 1fr; }
  .value-tabs { grid-template-columns: 1fr 1fr; gap: 4px; border-radius: 20px; }
  .value-tab { font-size: 13px; padding: 12px 14px; }
  .value-right { grid-template-columns: 1fr; }
  .value-card { padding: 32px; }
  .value-left h3 { font-size: 26px; }
  .integration-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) {
  .hero, .platform-modules, .value-section, .integrations, .customers, .final-cta { padding-left: 24px; padding-right: 24px; }
  .hero { padding-top: 48px; padding-bottom: 56px; }
  .platform-modules, .value-section, .customers, .final-cta { padding-top: 80px; padding-bottom: 80px; }
  .integrations { padding-top: 64px; padding-bottom: 64px; }
  .quote-card { padding: 40px 28px 36px; }
  .pm-grid { grid-template-columns: 1fr; }
  .pm-card-foundation { grid-column: span 1; }
  .value-card { padding: 28px 22px; }
  .integration-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ================================================================ */
/* ============ NATIVE DARK DESIGN SYSTEM (v23) =================== */
/* ================================================================ */
/*
   This is NOT a light-mode flip. Designed dark from the start:

   • Surfaces use subtle linear gradients (top slightly brighter than
     bottom) to suggest "lit from above" — flat fills look mechanical.
   • Every elevated surface has a 1px top-edge highlight (inset shadow)
     to read as physically lifted off the page.
   • Cyan accents have outer glow (box-shadow bloom) — the eye reads
     them as luminous.
   • Borders are translucent rgba(white) so they merge with the gradient
     fills instead of cutting hard lines.
   • Section backgrounds are mostly the page color; separation comes
     from content, atmospheric backdrops, and occasional cyan strips.
   • Headline text reserves pure #FFF for emphasis; body uses #F4F4F5,
     secondary text is #A1A1AA. Avoids harsh white walls.
*/

:root {
  /* Surfaces */
  --bg-page:        #2D2D2D;     /* Neowit platform: grunnfarge */
  --bg-card:        #3A3A3A;     /* Neowit platform: litt lysere — for cards */
  --bg-card-top:    #3A3A3A;     /* unified — no gradient stops */
  --bg-card-bot:    #3A3A3A;
  --bg-elevated:    #4F4F4F;     /* Neowit platform: enda lysere — special surfaces */
  --bg-elev-top:    #4F4F4F;
  --bg-elev-bot:    #4F4F4F;

  /* Text */
  --t-primary:      #F4F4F5;
  --t-secondary:    #A1A1AA;
  --t-tertiary:     #71717A;
  --t-quaternary:   #52525B;

  /* Borders (slightly stronger now since base palette is lighter & contrast lower) */
  --b-subtle:       rgba(255,255,255,0.06);
  --b-base:         rgba(255,255,255,0.10);
  --b-strong:       rgba(255,255,255,0.18);

  /* Cyan accent system */
  --cyan:           #40EDED;
  --cyan-bright:    #5FFFFF;
  --cyan-glow-soft: rgba(64,237,237,0.18);
  --cyan-glow-mid:  rgba(64,237,237,0.30);
  --cyan-glow-strong: rgba(64,237,237,0.45);
  --cyan-tint:      rgba(64,237,237,0.06);
  --cyan-border:    rgba(64,237,237,0.30);

  /* Top-edge rim highlights for elevated surfaces */
  --rim-card:       inset 0 1px 0 rgba(255,255,255,0.06);
  --rim-elevated:   inset 0 1px 0 rgba(255,255,255,0.09);
  --rim-cyan:       inset 0 1px 0 rgba(95,255,255,0.18);

  /* Re-map legacy variables (used by the rest of the stylesheet) */
  --grey-light: var(--bg-page);
  --white:      var(--bg-card);
  --grey-dark:  var(--bg-elevated);
  --black:      var(--t-primary);
  --text:       var(--t-primary);
  --text-muted: var(--t-secondary);
  --text-subtle: var(--t-tertiary);
  --border:     var(--b-base);
  --border-subtle: var(--b-subtle);
  --dark-surface: var(--bg-elevated);
  --dark-surface-2: var(--bg-elev-top);
  --dark-text-muted: var(--t-secondary);
}

html { background: var(--bg-page); }
body {
  background: var(--bg-page);
  color: var(--t-primary);
  position: relative;
  overflow-x: hidden;
}

/* ATMOSPHERIC BACKDROP — a faint cyan glow falls from above the hero */
body::before {
  content: '';
  position: absolute;
  top: -200px; left: 50%;
  transform: translateX(-50%);
  width: 1600px; height: 900px;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(64,237,237,0.10), transparent 55%),
    radial-gradient(ellipse at 50% 30%, rgba(64,237,237,0.04), transparent 50%);
  pointer-events: none;
  z-index: 0;
}
.nav, section, footer { position: relative; z-index: 1; }
::selection { background: rgba(64,237,237,0.35); color: #FFFFFF; }

/* Cyan elements always use literal #0A0A0B for contrast text */
.btn-primary, .btn-primary:hover { color: #0A0A0B; }
.pm-card-foundation .pm-module-icon-foundation { color: #0A0A0B; }
.pm-card:hover .pm-module-icon:not(.pm-module-icon-foundation) { color: #0A0A0B; }
.value-prop:hover .value-prop-icon { color: #0A0A0B; }
.pf-item.active .pf-item-icon { color: #0A0A0B; }
.cta-step-num { color: #0A0A0B !important; }

/* ============== NAV ============== */
.nav {
  background: rgba(14,15,18,0.72);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--b-subtle);
}
/* .logo color rule removed — logo is now an image */
.nav-item { color: var(--t-secondary); }
.nav-item:hover { color: var(--t-primary); }

.dropdown {
  background: linear-gradient(180deg, var(--bg-elev-top) 0%, var(--bg-elev-bot) 100%);
  border: 1px solid var(--b-base);
  box-shadow: var(--rim-elevated), 0 24px 60px rgba(0,0,0,0.5);
}
.dropdown-item:hover { background: rgba(255,255,255,0.04); }
.dropdown-section-label {
  color: var(--t-quaternary);
  border-top: 1px solid var(--b-subtle);
}
.dropdown-item .label { color: var(--t-primary); }
.dropdown-item .desc { color: var(--t-secondary); }

/* ============== TYPOGRAPHY ============== */
h1, h2, h3 { color: #FFFFFF; letter-spacing: -0.025em; }
.eyebrow {
  color: var(--cyan);
  font-weight: 500;
  letter-spacing: 0.12em;
}
.hero-sub, .section-intro p { color: var(--t-secondary); }

/* ============== BUTTONS ============== */
.btn-primary {
  background: var(--cyan);
  border: 1px solid var(--cyan);
  box-shadow:
    var(--rim-cyan),
    0 0 0 1px rgba(64,237,237,0.2),
    0 6px 20px rgba(64,237,237,0.22);
  transition: all 0.2s ease;
}
.btn-primary:hover {
  background: var(--cyan-bright);
  border-color: var(--cyan-bright);
  transform: translateY(-1px);
  box-shadow:
    var(--rim-cyan),
    0 0 0 1px rgba(64,237,237,0.4),
    0 10px 32px rgba(64,237,237,0.4),
    0 0 60px rgba(64,237,237,0.25);
}
.btn-outline {
  background: transparent;
  color: var(--t-primary);
  border: 1px solid var(--b-strong);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.25);
  color: #FFFFFF;
}
.btn-dark {
  background: linear-gradient(180deg, var(--bg-elev-top), var(--bg-elev-bot));
  color: var(--t-primary);
  border: 1px solid var(--b-base);
  box-shadow: var(--rim-elevated);
}

/* ============== HERO ============== */
.hero { background: transparent; }

/* ============== PLATFORM FIGURE ============== */
.pf-item {
  background: linear-gradient(180deg, var(--bg-card-top) 0%, var(--bg-card-bot) 100%);
  border: 1px solid var(--b-base);
  box-shadow: var(--rim-card);
  transition: all 0.25s ease;
}
.pf-item:hover {
  border-color: var(--cyan-border);
  box-shadow: var(--rim-cyan), 0 0 0 1px var(--cyan-border), 0 8px 24px rgba(64,237,237,0.12);
  transform: translateY(-2px);
}
.pf-item-icon {
  background: var(--bg-page);
  border: 1px solid var(--b-base);
  color: var(--t-secondary);
}
.pf-item:hover .pf-item-icon {
  background: var(--cyan);
  border-color: var(--cyan);
  color: #0A0A0B;
  box-shadow: 0 0 16px var(--cyan-glow-mid);
}
.pf-item-text strong { color: var(--t-primary); }
.pf-item-text span { color: var(--t-secondary); }

.pf-center {
  background:
    radial-gradient(ellipse at center, rgba(64,237,237,0.12) 0%, transparent 60%),
    linear-gradient(180deg, var(--bg-elev-top) 0%, var(--bg-elev-bot) 100%);
  border: 1px solid var(--cyan-border);
  box-shadow:
    var(--rim-cyan),
    0 0 0 1px var(--cyan-glow-soft),
    0 0 80px rgba(64,237,237,0.08),
    0 24px 60px rgba(0,0,0,0.5);
}
.pf-center *, .pf-engine-name { color: #FFFFFF; }
.pf-engine-sub { color: var(--t-secondary) !important; }

.pf-roles {
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  border: 1px solid var(--b-base);
  box-shadow: var(--rim-card);
}
.pf-role-btn { color: var(--t-secondary); }
.pf-role-btn:hover { background: rgba(255,255,255,0.05); color: var(--t-primary); }
.pf-role-btn.active {
  background: var(--cyan);
  color: #0A0A0B;
  box-shadow: var(--rim-cyan), 0 0 16px var(--cyan-glow-mid);
}

.pf-divider, .pf-connector-line { background: var(--b-strong); }
.pf-label, .pf-divider-label { color: var(--t-tertiary); }

/* ============== PROOF STRIP ============== */
.proof-strip {
  background:
    linear-gradient(180deg,
      rgba(64,237,237,0.025) 0%,
      transparent 50%,
      rgba(64,237,237,0.015) 100%
    );
  border-top: 1px solid var(--b-subtle);
  border-bottom: 1px solid var(--b-subtle);
}
.proof-num { color: #FFFFFF; }
.proof-num .tiny { color: var(--t-secondary); }
.proof-label { color: var(--t-secondary); }
.proof-item:not(:last-child)::after { background: var(--b-base); }

/* ============== PLATFORM MODULES ============== */
.platform-modules { background: transparent; }

.pm-card {
  background: linear-gradient(180deg, var(--bg-card-top) 0%, var(--bg-card-bot) 100%);
  border: 1px solid var(--b-base);
  box-shadow: var(--rim-card);
  transition: all 0.25s ease;
}
.pm-card:hover {
  background: linear-gradient(180deg, var(--bg-elev-top) 0%, var(--bg-elev-bot) 100%);
  border-color: var(--cyan-border);
  box-shadow:
    var(--rim-cyan),
    0 0 0 1px var(--cyan-border),
    0 12px 32px rgba(64,237,237,0.10),
    0 8px 24px rgba(0,0,0,0.4);
  transform: translateY(-3px);
}
.pm-card .pm-module-icon {
  background: var(--bg-page);
  border: 1px solid var(--b-base);
  color: var(--t-secondary);
}
.pm-card .pm-module-name { color: #FFFFFF; }
.pm-card .pm-module-desc { color: var(--t-secondary); }
.pm-card .pm-module-link { color: var(--t-secondary); }
.pm-card:hover .pm-module-link { color: var(--cyan); }
.pm-card-features li { color: var(--t-primary); }
.pm-card-features li strong { color: #FFFFFF; }
.pm-card-features li::before {
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan-glow-mid);
}

/* SMART ROOM FOUNDATION — properly dramatic, "lit" feeling */
.pm-card-foundation {
  background:
    radial-gradient(circle at top right, rgba(64,237,237,0.10), transparent 55%),
    linear-gradient(180deg, #1F2128 0%, #18191F 100%);
  border: 1px solid var(--cyan-border);
  box-shadow:
    var(--rim-cyan),
    0 0 0 1px var(--cyan-glow-soft),
    0 12px 40px rgba(64,237,237,0.08),
    0 24px 60px rgba(0,0,0,0.5);
}
.pm-card-foundation::before {
  display: none; /* original light mode glow was simpler — replaced by the box-shadow stack */
}
.pm-card-foundation:hover {
  border-color: var(--cyan);
  box-shadow:
    var(--rim-cyan),
    0 0 0 1px var(--cyan-glow-mid),
    0 16px 48px rgba(64,237,237,0.18),
    0 28px 70px rgba(0,0,0,0.55);
  transform: translateY(-4px);
}
.pm-card-foundation .pm-module-name-foundation { color: #FFFFFF; }
.pm-card-foundation .pm-module-desc-foundation { color: #D4D4D8; }
.pm-card-foundation-features li { color: #FFFFFF; }
.pm-card-foundation-features li::before { color: var(--cyan); text-shadow: 0 0 6px var(--cyan-glow-mid); }
.pm-foundation-tag {
  color: var(--cyan);
  background: rgba(64,237,237,0.08);
  border: 1px solid var(--cyan-border);
  box-shadow: 0 0 16px rgba(64,237,237,0.10);
}
.pm-card-foundation .pm-module-link-strong {
  color: var(--cyan);
  text-shadow: 0 0 12px var(--cyan-glow-mid);
}

/* ============== INTEGRATIONS ============== */
.integrations { background: transparent; }
.integration-tile {
  background: linear-gradient(180deg, var(--bg-card-top) 0%, var(--bg-card-bot) 100%);
  border: 1px solid var(--b-base);
  color: var(--t-secondary);
  box-shadow: var(--rim-card);
  transition: all 0.2s ease;
}
.integration-tile:hover {
  background: linear-gradient(180deg, var(--bg-elev-top) 0%, var(--bg-elev-bot) 100%);
  border-color: var(--cyan-border);
  color: #FFFFFF;
  box-shadow: var(--rim-cyan), 0 0 0 1px var(--cyan-glow-soft), 0 6px 20px rgba(64,237,237,0.10);
  transform: translateY(-2px);
}
.integration-link {
  color: var(--t-primary);
}
.integration-link:hover { color: var(--cyan); text-shadow: 0 0 12px var(--cyan-glow-mid); }

/* ============== STAKEHOLDER VALUE ============== */
.value-section { background: transparent; }

.value-tabs {
  background: linear-gradient(180deg, var(--bg-card-top), var(--bg-card-bot));
  border: 1px solid var(--b-base);
  box-shadow: var(--rim-card), 0 8px 28px rgba(0,0,0,0.35);
}
.value-tab { color: var(--t-secondary); }
.value-tab svg { color: var(--t-tertiary); }
.value-tab:hover { background: rgba(255,255,255,0.04); color: #FFFFFF; }
.value-tab:hover svg { color: var(--cyan); }
.value-tab.active {
  background: var(--cyan);
  color: #0A0A0B;
  box-shadow:
    var(--rim-cyan),
    0 0 0 1px var(--cyan-glow-soft),
    0 4px 18px rgba(64,237,237,0.35),
    0 0 28px rgba(64,237,237,0.20);
}
.value-tab.active:hover { background: var(--cyan-bright); color: #0A0A0B; }
.value-tab.active svg { color: #0A0A0B; }

.value-card {
  background:
    radial-gradient(circle at 0% 0%, rgba(64,237,237,0.06), transparent 40%),
    linear-gradient(180deg, var(--bg-card-top) 0%, var(--bg-card-bot) 100%);
  border: 1px solid var(--b-base);
  box-shadow: var(--rim-card), 0 16px 48px rgba(0,0,0,0.45);
}
.value-card::before {
  background: var(--cyan);
  box-shadow: 0 0 24px var(--cyan-glow-strong);
}
.value-left h3 { color: #FFFFFF; }
.value-left p { color: var(--t-secondary); }

.value-stat {
  background: rgba(0,0,0,0.25);
  border: 1px solid var(--b-subtle);
  border-left: 3px solid var(--cyan);
  box-shadow: 0 0 24px rgba(64,237,237,0.06);
}
.value-stat-num { color: #FFFFFF; }
.value-stat-num .unit { color: var(--t-secondary); }
.value-stat-label { color: var(--t-secondary); }

.value-prop {
  background: rgba(0,0,0,0.25);
  border: 1px solid var(--b-subtle);
  transition: all 0.2s ease;
}
.value-prop:hover {
  background: linear-gradient(180deg, var(--bg-elev-top), var(--bg-elev-bot));
  border-color: var(--cyan-border);
  box-shadow: var(--rim-cyan), 0 0 0 1px var(--cyan-glow-soft), 0 6px 20px rgba(64,237,237,0.10);
}
.value-prop-icon {
  background: var(--bg-page);
  border: 1px solid var(--b-base);
  color: var(--t-secondary);
}
.value-prop:hover .value-prop-icon {
  background: var(--cyan);
  border-color: var(--cyan);
  color: #0A0A0B;
  box-shadow: 0 0 16px var(--cyan-glow-mid);
}
.value-prop-title { color: #FFFFFF; }
.value-prop-desc { color: var(--t-secondary); }

/* ============== CUSTOMERS ============== */
.customers { background: transparent; }
.customer-logo { color: var(--t-tertiary); }
.customer-logo:hover { color: var(--t-primary); }

.quote-card {
  background:
    radial-gradient(circle at 100% 0%, rgba(64,237,237,0.06), transparent 40%),
    linear-gradient(180deg, var(--bg-card-top) 0%, var(--bg-card-bot) 100%);
  border: 1px solid var(--b-base);
  box-shadow: var(--rim-card), 0 16px 48px rgba(0,0,0,0.45);
  position: relative;
}
.quote-card::before {
  content: '"';
  position: absolute;
  top: 24px; left: 32px;
  font-family: Georgia, serif;
  font-size: 140px;
  line-height: 1;
  color: var(--cyan);
  opacity: 0.12;
  pointer-events: none;
  z-index: 0;
}
.quote-text { color: #FFFFFF; position: relative; z-index: 1; }
.quote-author strong { color: #FFFFFF; }
.quote-author span { color: var(--t-secondary); }
.customer-footer { color: var(--t-secondary); }

/* ============== FINAL CTA ============== */
.final-cta {
  background: transparent;
}
.final-cta h2 { color: #FFFFFF; }
.final-cta p { color: var(--t-secondary); }
.cta-step { color: var(--t-primary); }
.cta-step-num {
  background: var(--cyan);
  color: #0A0A0B;
  box-shadow: 0 0 16px var(--cyan-glow-mid);
}
.cta-step-text strong { color: #FFFFFF; }
.cta-step-text { color: var(--t-secondary); }

/* ============== FOOTER ============== */
.footer {
  background: var(--bg-page);
  border-top: 1px solid var(--b-subtle);
}
.footer h4 { color: #FFFFFF; }
.footer a { color: var(--t-secondary); }
.footer a:hover { color: var(--cyan); }
.footer-bottom {
  border-top: 1px solid var(--b-subtle);
  color: var(--t-tertiary);
}
.footer-brand p { color: var(--t-secondary); }

/* ============ FIX: hero tagline visible in dark mode ============ */
.pf-tagline { color: var(--t-secondary); }
.pf-tagline strong {
  color: #FFFFFF;
}

/* ============ FIX: kill pf-center radial gradient ============ */
.pf-center::before { display: none; }

/* ============ FIX: CTA step titles bold & prominent ============ */
.cta-step-text strong {
  color: #FFFFFF;
  font-weight: 700;
}

/* ============ FIX: nav Sign In button in teal ============ */
.nav-ctas .btn-outline {
  background: transparent;
  color: var(--cyan);
  border-color: var(--cyan);
}
.nav-ctas .btn-outline:hover {
  background: var(--cyan);
  color: #0A0A0B;
  border-color: var(--cyan);
}

/* ================================================================ */
/* ============ V24 CORRECTIONS — flat, no glows ================== */
/* ================================================================ */
/* Strip out gradients and cyan glow effects from v23. Keep solid
   surfaces and a small dark drop shadow on cards for elevation. */

/* Remove atmospheric backdrop */
body::before { display: none; }

/* Solid surfaces everywhere */
.pf-item,
.pm-card,
.integration-tile,
.value-tabs,
.value-card,
.quote-card,
.btn-dark,
.dropdown {
  background: var(--bg-card);
  box-shadow: none;
}

.pf-roles {
  background: var(--bg-card);
  box-shadow: none;
}

.pf-center {
  background: var(--bg-elevated);
  box-shadow: none;
}

/* Strip glows on hover — keep only cyan border */
.pf-item:hover,
.pm-card:hover,
.integration-tile:hover,
.value-prop:hover {
  border-color: var(--cyan-border);
  box-shadow: none;
  transform: none;
}

/* Drop pseudo-element overlays on cards */
.pm-card-foundation::before,
.value-card::before,
.quote-card::before {
  display: none;
}

/* Buttons — flat */
.btn-primary {
  border: 1px solid var(--cyan);
  box-shadow: none;
}
.btn-primary:hover {
  background: var(--cyan-bright);
  border-color: var(--cyan-bright);
  transform: none;
  box-shadow: none;
}

/* Active states — solid cyan, no bloom */
.value-tab.active,
.pf-role-btn.active {
  box-shadow: none;
}
.value-tab.active:hover { background: var(--cyan); }

/* Inset wells inside cards — solid darkest */
.value-stat,
.value-prop,
.pm-module-stat {
  background: var(--bg-page);
  box-shadow: none;
}

/* Cyan dot in feature lists — no glow */
.pm-card-features li::before { box-shadow: none; }

/* Foundation card flat treatment */
.pm-card-foundation {
  background: var(--bg-elevated);
  border: 1px solid var(--cyan-border);
  box-shadow: none;
}
.pm-card-foundation:hover {
  border-color: var(--cyan);
  box-shadow: none;
  transform: none;
}
.pm-foundation-tag {
  background: var(--cyan-tint);
  border: 1px solid var(--cyan-border);
  box-shadow: none;
}
.pm-card-foundation .pm-module-link-strong { text-shadow: none; }
.pm-card-foundation-features li::before { text-shadow: none; }
.cta-step-num { box-shadow: none; }
.integration-link:hover { text-shadow: none; }

/* Proof strip — flat */
.proof-strip {
  background: var(--bg-page);
}

/* Subtle drop shadow on top-level cards for depth */
.pm-module-card,
.value-card,
.quote-card {
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
}

/* ================================================================ */
/* ============ MODULE TABS + MODULE CARD (V24) =================== */
/* ================================================================ */
.pm-tabs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);     /* 5 per row → exactly 2 rows for 10 modules */
  gap: 6px;
  max-width: 1100px;
  margin: 0 auto 40px;
  background: var(--bg-card);
  border: 1px solid var(--b-base);
  border-radius: 32px;                       /* V78 — pill-feel but tall enough not to clip edge tabs */
  padding: 6px;
}
.pm-tab {
  background: transparent;
  border: none;
  padding: 12px 14px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--t-secondary);
  cursor: pointer;
  transition: all 0.18s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  font-family: inherit;
  min-width: 0;                               /* allow grid item to shrink within column */
  overflow: hidden;
  text-overflow: ellipsis;
}
.pm-tab span {
  overflow: hidden;
  text-overflow: ellipsis;
}
/* Tablet — 3 cols, 4 rows; Mobile — 2 cols, 5 rows */
@media (max-width: 1024px) {
  .pm-tabs { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .pm-tabs { grid-template-columns: repeat(2, 1fr); }
  .pm-tab { padding: 11px 10px; font-size: 12.5px; }
}
.pm-tab svg {
  width: 16px; height: 16px;
  color: var(--t-tertiary);
  transition: color 0.18s ease;
  flex-shrink: 0;
}
.pm-tab:hover {
  background: rgba(255,255,255,0.04);
  color: #FFFFFF;
}
.pm-tab:hover svg { color: var(--cyan); }
.pm-tab.active {
  background: var(--cyan);
  color: #0A0A0B;
}
.pm-tab.active svg { color: #0A0A0B; }
.pm-tab.active:hover {
  background: var(--cyan);
  color: #0A0A0B;
}

/* Subtle foundation indicator on Smart Room tab when not active */
.pm-tab-foundation:not(.active)::before {
  content: '';
  display: inline-block;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--cyan);
  margin-right: 2px;
  vertical-align: middle;
  flex-shrink: 0;
}

/* Module card — mirrors value-card layout */
.pm-module-card {
  background: var(--bg-card);
  border: 1px solid var(--b-base);
  border-radius: 24px;
  padding: 56px;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 56px;
  max-width: 1240px;       /* match integrations/value/customers for unified widths */
  margin: 0 auto;
  position: relative;
  animation: pmFadeIn 0.35s ease;
}
@keyframes pmFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.pm-module-card-foundation {
  border-color: var(--cyan-border);
}

.pm-card-tag {
  display: inline-block;
  padding: 6px 14px;
  background: var(--cyan-tint);
  border: 1px solid var(--cyan-border);
  border-radius: 999px;
  color: var(--cyan);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.pm-module-left h3 {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 16px;
  color: #FFFFFF;
}
.pm-module-left p {
  font-size: 16px;
  color: var(--t-secondary);
  line-height: 1.6;
  margin-bottom: 28px;
}
.pm-module-stat {
  background: var(--bg-page);
  border: 1px solid var(--b-subtle);
  border-left: 3px solid var(--cyan);
  border-radius: 12px;
  padding: 22px 24px;
}
.pm-module-stat-num {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #FFFFFF;
  line-height: 1;
  margin-bottom: 8px;
}
.pm-module-stat-num .unit {
  font-size: 16px;
  color: var(--t-secondary);
  font-weight: 400;
}
.pm-module-stat-label {
  font-size: 13px;
  color: var(--t-secondary);
  line-height: 1.45;
}

.pm-module-props {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  align-content: start;
}
.pm-prop {
  background: var(--bg-page);
  border: 1px solid var(--b-subtle);
  border-radius: 14px;
  padding: 20px 18px;
  transition: border-color 0.18s ease;
}
.pm-prop:hover {
  border-color: var(--cyan-border);
}
.pm-prop-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--bg-card);
  border: 1px solid var(--b-base);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
  color: var(--t-secondary);
  transition: all 0.18s ease;
}
.pm-prop:hover .pm-prop-icon {
  background: var(--cyan);
  border-color: var(--cyan);
  color: #0A0A0B;
}
.pm-prop-icon svg { width: 14px; height: 14px; }
.pm-prop-title {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
  color: #FFFFFF;
  line-height: 1.3;
}
.pm-prop-desc {
  font-size: 12.5px;
  color: var(--t-secondary);
  line-height: 1.5;
}

/* Responsive for module tabs and card */
@media (max-width: 1024px) {
  .pm-tabs { flex-wrap: wrap; }
  .pm-module-card {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 40px;
  }
}
@media (max-width: 768px) {
  .pm-tabs {
    border-radius: 16px;
    flex-wrap: wrap;
    gap: 4px;
  }
  .pm-tab {
    padding: 10px 14px;
    font-size: 12.5px;
  }
  .pm-tab-foundation:not(.active)::before { display: none; }
  .pm-module-card { padding: 32px 24px; }
  .pm-module-left h3 { font-size: 24px; }
  .pm-module-props { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .pm-module-card { padding: 24px 20px; }
  .pm-tab span { font-size: 12px; }
}

/* ================================================================ */
/* ============ V35 — CUSTOMER PHOTO ONLY ========================= */
/* ================================================================ */

.customers .quote-card {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 0;
  overflow: hidden;
  padding: 0;
  max-width: none;       /* override inherited 880px cap so cards span full container */
  margin: 0;             /* override inherited "margin: 0 auto" centering */
}
.customers .quote-content {
  padding: 56px 48px;
  position: relative;
  display: flex;
  flex-direction: column;
}
.customers .quote-image {
  position: relative;
  min-height: 360px;
  overflow: hidden;
}
.customers .quote-image img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 900px) {
  .customers .quote-card {
    grid-template-columns: 1fr;
  }
  .customers .quote-image {
    min-height: 240px;
    order: -1;
  }
  .customers .quote-content {
    padding: 40px 32px;
  }
}

/
/* ================================================================ */
/* ============ V39 — STAGGERED + FLOWING DASHED LINES ============= */
/* ================================================================ */

.hero-figure {
  max-width: 1280px;
  margin: 56px auto 32px;
  padding: 0;
}

/* 3-column grid (positioned for SVG overlay) */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr 1fr;
  gap: 36px;
  align-items: start;
  position: relative;
  min-height: 360px;
}

/* SVG flow layer — fills the entire grid behind everything else */
.hero-flows {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}
.flow-line {
  fill: none;
  stroke: var(--cyan);
  stroke-width: 1.4;
  stroke-dasharray: 4 6;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.flow-line.flow-in  { stroke: var(--cyan);  opacity: 0.65; }
.flow-line.flow-out { stroke: var(--cyan);  opacity: 0; }   /* hidden by default — JS toggles */
.flow-line.flow-out.active { opacity: 0.65; }

/* Animate the dashes flowing along the path */
@keyframes flow-anim {
  to { stroke-dashoffset: -20; }
}
.flow-line { animation: flow-anim 1.8s linear infinite; }
/* Slight per-item variation so they don't pulse in lockstep */
.flow-line[data-id="iot"]      { animation-duration: 2.1s; animation-delay: 0.15s; }
.flow-line[data-id="calendar"] { animation-duration: 1.7s; animation-delay: 0.30s; }
.flow-line[data-id="hvac"]     { animation-duration: 2.0s; animation-delay: 0.10s; }
.flow-line[data-id="lighting"] { animation-duration: 1.9s; animation-delay: 0.40s; }
.flow-line[data-id="network"]  { animation-duration: 2.2s; animation-delay: 0.20s; }
.flow-line[data-id="booking"]    { animation-duration: 2.0s; animation-delay: 0.20s; }
.flow-line[data-id="neo"]        { animation-duration: 1.7s; animation-delay: 0.30s; }
.flow-line[data-id="analytics"]  { animation-duration: 2.1s; animation-delay: 0.10s; }
.flow-line[data-id="prediction"] { animation-duration: 1.8s; animation-delay: 0.40s; }
.flow-line[data-id="energy"]     { animation-duration: 2.2s; animation-delay: 0.25s; }

/* Section labels — cyan pill badges that read clearly as headers */
.hero-grid-label {
  display: inline-block;
  align-self: flex-start;          /* default: outer-left for left col */
  padding: 6px 14px;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--cyan);
  background: rgba(64, 237, 237, 0.08);
  border: 1px solid rgba(64, 237, 237, 0.25);
  border-radius: 999px;
  margin-bottom: 22px;
}
/* Right column: align label to outer-right */
.pf-col-right .hero-grid-label { align-self: flex-end; }

/* Input/output columns */
.hero-figure .pf-col {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  z-index: 2;   /* ensure items sit above the SVG flow layer */
}

/* Items — stripped of boxes; just dot + uppercase label + meta */
.hero-figure .pf-item {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 12px 4px;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: opacity 0.4s ease, transform 0.3s ease;
  cursor: default;
}
.hero-figure .pf-item:hover {
  background: transparent;
  border-color: transparent;
  transform: none;
  box-shadow: none;
}

/* V45 — NO STAGGER. Dots aligned in vertical columns on inner edges. */
.hero-figure #hero-inputs .pf-item,
.hero-figure #hero-outputs .pf-item { margin-left: 0; margin-right: 0; }

/* Dot indicator (replaces icon box) */
.hero-figure .pf-item-icon {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  border: 0;
  padding: 0;
  flex-shrink: 0;
  transition: all 0.4s ease;
  position: relative;
}
.hero-figure .pf-item-icon svg { display: none; }

/* Text */
.hero-figure .pf-item-text {
  font-size: 13px;
  line-height: 1.35;
  flex: 1;
  min-width: 0;
}
.hero-figure .pf-item-text strong {
  font-weight: 500;
  display: block;
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--t-primary);
}
.hero-figure .pf-item-text span {
  font-size: 11.5px;
  color: var(--t-tertiary);
  display: block;
  margin-top: 3px;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
}

/* Right column — mirror direction */
.hero-figure .pf-col-right .pf-item {
  flex-direction: row-reverse;
}
.hero-figure .pf-col-right .pf-item-text { text-align: right; }

/* Active state */
.hero-figure .pf-item.active .pf-item-icon {
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(64,237,237,0.10), 0 0 12px rgba(64,237,237,0.4);
}
.hero-figure .pf-item.active .pf-item-icon::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1px solid rgba(64,237,237,0.3);
  animation: pulse-ring 2.4s ease-out infinite;
}
@keyframes pulse-ring {
  0%   { opacity: 0.7; transform: scale(0.7); }
  70%  { opacity: 0;   transform: scale(1.6); }
  100% { opacity: 0;   transform: scale(1.6); }
}

/* Inactive */
.hero-figure .pf-item.inactive {
  opacity: 0.32;
}
.hero-figure .pf-item.inactive .pf-item-icon {
  background: rgba(255,255,255,0.10);
}
.hero-figure .pf-item.inactive .pf-item-icon::after { display: none; }

/* === Chat panel with INTEGRATED role pills as header === */
.hero-figure .hero-chat {
  background: var(--bg-card);
  border: 1px solid var(--b-base);
  border-radius: 24px;
  padding: 0;            /* no outer padding — header and body have their own */
  display: flex;
  flex-direction: column;
  box-shadow: 0 12px 40px rgba(0,0,0,0.25), 0 0 0 1px rgba(64,237,237,0.16);
  position: relative;
  z-index: 2;            /* above SVG flow lines */
  overflow: hidden;      /* keep header rounded */
}

/* Role pill bar inside chat header */
.hero-figure .hero-chat-header {
  background: rgba(255,255,255,0.02);
  border-bottom: 1px solid var(--b-base);
  padding: 12px;
}
.hero-figure .hero-roles {
  display: flex;
  gap: 4px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-figure .pf-role-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  background: transparent;
  border: 0;
  border-radius: 999px;
  color: var(--t-secondary);
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.18s ease;
  white-space: nowrap;
}
.hero-figure .pf-role-btn svg {
  width: 14px; height: 14px;
  color: var(--t-tertiary);
  transition: color 0.18s ease;
  flex-shrink: 0;
}
.hero-figure .pf-role-btn:hover {
  background: rgba(255,255,255,0.04);
  color: var(--t-primary);
}
.hero-figure .pf-role-btn:hover svg { color: var(--cyan); }
.hero-figure .pf-role-btn.active {
  background: var(--cyan);
  color: #0A0A0B;
}
.hero-figure .pf-role-btn.active svg { color: #0A0A0B; }

/* Chat body */
.hero-figure .hero-chat-body {
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-figure .chat-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  transition: opacity 0.16s ease, transform 0.16s ease;
}
.hero-figure .chat-row.chat-fading {
  opacity: 0;
  transform: translateY(4px);
}
.hero-figure .chat-row-user { justify-content: flex-end; }

.hero-figure .chat-avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--cyan);
  color: #0A0A0B;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.hero-figure .chat-avatar svg { width: 16px; height: 16px; display: block; }

.hero-figure .chat-bubble {
  padding: 12px 16px;
  border-radius: 14px;
  font-size: 14.5px;
  line-height: 1.5;
  max-width: 88%;
}
.hero-figure .chat-bubble-user {
  background: var(--bg-elevated);
  color: var(--t-primary);
  border: 1px solid var(--b-base);
  border-bottom-right-radius: 4px;
}
.hero-figure .chat-bubble-neo {
  background: rgba(64, 237, 237, 0.06);
  color: var(--t-primary);
  border: 1px solid rgba(64, 237, 237, 0.18);
  border-bottom-left-radius: 4px;
  flex: 1;
  max-width: none;
}
.hero-figure .chat-meta {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 6px;
}
.hero-figure .chat-name {
  font-weight: 600;
  font-size: 12.5px;
  color: var(--cyan);
}
.hero-figure .chat-tag {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--t-tertiary);
  padding: 2px 7px;
  background: rgba(255,255,255,0.04);
  border-radius: 999px;
}
.hero-figure .chat-text { color: var(--t-primary); }

.hero-figure .chat-extras {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.hero-figure .chat-stat {
  display: flex; flex-direction: column;
  padding: 9px 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--b-base);
  border-radius: 10px;
  min-width: 92px;
}
.hero-figure .chat-stat-num {
  font-size: 20px; font-weight: 700;
  color: var(--cyan);
  line-height: 1.1;
}
.hero-figure .chat-stat-unit {
  font-size: 12px; font-weight: 500;
  color: var(--t-secondary);
  margin-left: 2px;
}
.hero-figure .chat-stat-label {
  font-size: 10px;
  color: var(--t-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 3px;
}
.hero-figure .chat-action {
  padding: 8px 14px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
  background: transparent;
  border: 1px solid var(--b-strong);
  color: var(--t-primary);
}
.hero-figure .chat-action:hover {
  background: rgba(255,255,255,0.06);
  border-color: var(--cyan);
  color: var(--cyan);
}
.hero-figure .chat-action-primary {
  background: var(--cyan);
  color: #0A0A0B;
  border-color: var(--cyan);
}
.hero-figure .chat-action-primary:hover { filter: brightness(1.08); }

/* === Responsive === */
@media (max-width: 1024px) {
  .hero-flows { display: none; }   /* drop SVG flow on tablet — gets messy */
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "chat chat"
      "inputs outputs";
    gap: 28px;
  }
  .hero-figure .hero-chat { grid-area: chat; }
  .hero-figure #hero-inputs { grid-area: inputs; }
  .hero-figure #hero-outputs { grid-area: outputs; }
  /* Reset stagger */
  .hero-figure #hero-inputs .pf-item,
  .hero-figure #hero-outputs .pf-item { margin-left: 0; margin-right: 0; }
}

@media (max-width: 700px) {
  .hero-figure { margin-top: 32px; }
  .hero-figure .pf-role-btn span { display: none; }
  .hero-figure .pf-role-btn { padding: 8px 12px; }
  .hero-figure .pf-role-btn svg { width: 16px; height: 16px; }
  .hero-grid {
    grid-template-columns: 1fr;
    grid-template-areas: "chat" "inputs" "outputs";
    gap: 24px;
  }
  .hero-figure .hero-chat-body { padding: 18px 16px; }
  .hero-figure .chat-bubble { padding: 11px 14px; font-size: 14px; }
  .hero-figure .pf-col-right .pf-item { flex-direction: row; }
  .hero-figure .pf-col-right .pf-item-text { text-align: left; }
}



/* ============ V45 — HERO ITEM LAYOUT (dots on inner edges) ============ */
/* LEFT column items: text on outer (left), dot on inner (right near chat).
   Items use space-between so text & dot are at opposite edges of column,
   leaving visible empty space between them where dashed flow lines run. */
.hero-figure #hero-inputs .pf-item {
  flex-direction: row;
  justify-content: space-between;
  text-align: left;
}
.hero-figure #hero-inputs .pf-item-text {
  flex: 0 1 auto;             /* shrink to content, don't fill flex space */
  text-align: left;
  min-width: 0;
}

/* RIGHT column mirrored */
.hero-figure #hero-outputs .pf-item {
  flex-direction: row-reverse;
  justify-content: space-between;
  text-align: right;
}
.hero-figure #hero-outputs .pf-item-text {
  flex: 0 1 auto;
  text-align: right;
  min-width: 0;
}

/* === ARC STAGGER on text labels (dots stay in straight column) ===
   Push text inward for middle items, leave top/bottom items at outer edge.
   This creates the curved/arc look from v39 — but only on text, not dots. */
.hero-figure #hero-inputs .pf-item:nth-child(2)  .pf-item-text { margin-left: 0;    }  /* video — outer */
.hero-figure #hero-inputs .pf-item:nth-child(3)  .pf-item-text { margin-left: 24px; }  /* iot */
.hero-figure #hero-inputs .pf-item:nth-child(4)  .pf-item-text { margin-left: 42px; }  /* calendar */
.hero-figure #hero-inputs .pf-item:nth-child(5)  .pf-item-text { margin-left: 52px; }  /* security — most indented */
.hero-figure #hero-inputs .pf-item:nth-child(6)  .pf-item-text { margin-left: 42px; }  /* hvac */
.hero-figure #hero-inputs .pf-item:nth-child(7)  .pf-item-text { margin-left: 24px; }  /* lighting */
.hero-figure #hero-inputs .pf-item:nth-child(8)  .pf-item-text { margin-left: 0;    }  /* network — outer */

.hero-figure #hero-outputs .pf-item:nth-child(2) .pf-item-text { margin-right: 0;    } /* visualization — outer */
.hero-figure #hero-outputs .pf-item:nth-child(3) .pf-item-text { margin-right: 24px; } /* booking */
.hero-figure #hero-outputs .pf-item:nth-child(4) .pf-item-text { margin-right: 42px; } /* automation */
.hero-figure #hero-outputs .pf-item:nth-child(5) .pf-item-text { margin-right: 52px; } /* neo — most indented */
.hero-figure #hero-outputs .pf-item:nth-child(6) .pf-item-text { margin-right: 42px; } /* analytics */
.hero-figure #hero-outputs .pf-item:nth-child(7) .pf-item-text { margin-right: 24px; } /* prediction */
.hero-figure #hero-outputs .pf-item:nth-child(8) .pf-item-text { margin-right: 0;    } /* energy — outer */

/* Tighter vertical spacing now that we have 7 items per column */
.hero-figure .pf-item {
  padding: 9px 4px;
}

/* Chat box vertical center inside its grid cell */
.hero-figure .hero-chat {
  align-self: center;
}

/* ============ V50 — HEADER (fixed) + footer match page bg ============ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: #2D2D2D !important;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);
}
.nav-inner { background: transparent !important; }

/* Push body content down so fixed nav doesn't cover hero */
body { padding-top: 72px; }

@media (max-width: 700px) {
  body { padding-top: 60px; }
  .nav-inner {
    padding: 12px 16px !important;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  .nav .logo svg { height: 24px; width: auto; }
  .nav-ctas { gap: 8px; }
  .nav-ctas .btn { padding: 8px 14px; font-size: 13px; }
}

/* V50 — Footer match page bg + add separator line */
footer {
  background: #2D2D2D !important;
  border-top: 1px solid rgba(255,255,255,0.08);
}


/* V45 — Proof strip lighter bg so it stands out as its own band */
.proof-strip {
  background: #3A3A3A !important;
}


/* ============ V47 — CENTRAL BUS DOTS (single dot per side) ============ */

/* Hide individual per-item dots — bus dots replace them */
.hero-figure .pf-item-icon { display: none; }

/* Items no longer need space-between since dot is gone */
.hero-figure .pf-item {
  justify-content: flex-start;
}
/* Right col uses flex-direction: row-reverse — so flex-start = RIGHT edge.
   (flex-end would be LEFT, pulling text inward toward chat — that was the bug.) */
.hero-figure #hero-outputs .pf-item {
  justify-content: flex-start;
}

/* Bus dots — central cyan terminals on each side of chat box.
   Position set dynamically by JS to track chat box edges. */
.hero-bus {
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--cyan);
  z-index: 5;
  pointer-events: none;
  box-shadow:
    0 0 0 6px rgba(64,237,237,0.18),
    0 0 20px rgba(64,237,237,0.55),
    0 0 4px rgba(64,237,237,0.9);
  /* placeholder positions — JS sets real coords */
  left: 0; top: 0;
  transform: translate(-50%, -50%);
  opacity: 0;            /* fade in once positioned */
  transition: opacity 0.3s ease;
}
.hero-bus.is-positioned { opacity: 1; }

/* Pulse ring around each bus dot */
.hero-bus::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1.5px solid rgba(64,237,237,0.45);
  animation: bus-pulse 2.6s ease-out infinite;
}
@keyframes bus-pulse {
  0%   { opacity: 0.7; transform: scale(0.7); }
  70%  { opacity: 0;   transform: scale(1.7); }
  100% { opacity: 0;   transform: scale(1.7); }
}


/* ============ V50 — Section backgrounds for visual rhythm ============ */
/* Integrations + Customers share the lighter "card" tone so they read
   as elevated bands compared with the page bg around them. */
.integrations { background: #3A3A3A !important; }
.customers    { background: #3A3A3A !important; }

/* Integration tiles: darker than section bg + white text for contrast */
.integrations .integration-tile {
  background: #2D2D2D !important;
  border: 1px solid rgba(255,255,255,0.06) !important;
}
.integrations .integration-text {
  color: #FFFFFF !important;
  font-weight: 500;
}
.integrations .integration-tile:hover {
  border-color: rgba(64,237,237,0.4) !important;
}
.integrations .integration-tile:hover .integration-text {
  color: var(--cyan) !important;
}


/* ============ V54 — MODULE CARD: 2-COL TOP + 4-PROP BOTTOM ============ */

.pm-module-card {
  display: block;          /* override any inherited grid layout */
}
.pm-module-top {
  display: grid;
  grid-template-columns: 1fr 1.1fr;     /* image slightly wider for visual weight */
  gap: 48px;
  align-items: center;
  margin-bottom: 36px;
}
.pm-module-image {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--b-base);
  box-shadow: 0 12px 32px rgba(0,0,0,0.25), 0 0 0 1px rgba(64,237,237,0.12);
  background: var(--bg-card);
  position: relative;
}
.pm-module-image img {
  width: 100%;
  height: auto;
  display: block;
}
/* Subtle cyan tint glow over the image edge for "premium" feel */
.pm-module-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 14px;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(64,237,237,0.08);
}

/* 4 props in a row (or 2x2 on tighter screens) */
.pm-module-props {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* Tablet: image stacks below text */
@media (max-width: 900px) {
  .pm-module-top {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .pm-module-image { order: 2; }   /* image below text on tablet */
  .pm-module-props {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .pm-module-props {
    grid-template-columns: 1fr;
  }
}


/* ============ V55 — VALUE CARD: 2-COL TOP + 4-PROP BOTTOM ============ */

.value-card {
  display: block;          /* override grid layout */
}
.value-top {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 36px;
}
.value-image {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--b-base);
  box-shadow: 0 12px 32px rgba(0,0,0,0.25), 0 0 0 1px rgba(64,237,237,0.12);
  background: var(--bg-card);
  position: relative;
  aspect-ratio: 1 / 1;            /* V82 — square images, natural composition */
}
.value-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.value-image-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(135deg, rgba(64,237,237,0.04), rgba(64,237,237,0.10));
  color: rgba(64,237,237,0.5);
}
.value-image-placeholder svg {
  width: 48px;
  height: 48px;
}
.value-image-hint {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(64,237,237,0.55);
  font-weight: 500;
}

/* 4 props in a row (or 2x2 on tighter screens) */
.value-right {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 900px) {
  .value-top {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .value-image { order: 2; aspect-ratio: 16/10; max-height: 380px; }
  .value-right {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .value-right {
    grid-template-columns: 1fr;
  }
}

/* Integration logo styling */
.integrations .integration-tile {
  min-height: 72px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.integrations .integration-tile img {
  max-height: 28px;
  max-width: 100%;
  width: auto;
  display: block;
  opacity: 0.78;
  transition: opacity 0.18s ease;
}
.integrations .integration-tile:hover img { opacity: 1; }
.integrations .integration-text {
  font-family: 'Roboto', sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #5A5A5A;
  text-align: center;
  white-space: nowrap;
  transition: color 0.18s ease;
}
.integrations .integration-tile:hover .integration-text {
  color: #0A0A0B;
}


/* ============ V60 — TWO QUOTE CARDS ============ */
/* Spacing between stacked quote cards */
.customers .quote-card + .quote-card {
  margin-top: 28px;
}

/* Reversed layout: image LEFT, text RIGHT (mirror of default) */
.customers .quote-card--reverse {
  grid-template-columns: 1fr 1.4fr;
}
.customers .quote-card--reverse .quote-image {
  order: 0;
}
.customers .quote-card--reverse .quote-content {
  order: 1;
}

/* Mobile: keep image on top for both layouts */
@media (max-width: 900px) {
  .customers .quote-card--reverse {
    grid-template-columns: 1fr;
  }
  .customers .quote-card--reverse .quote-image {
    order: -1;
  }
  .customers .quote-card + .quote-card {
    margin-top: 20px;
  }
}


/* ============ V61 — UNIFY SECTION WIDTHS ============ */
/* .platform-modules uses .pm-inner (1240px max, no internal padding) → content 1240px wide.
   .value-section + .customers use .container (1240px max + 32px internal padding) → content 1176px wide.
   Override the .container padding inside these two sections so all three sections
   present cards at exactly 1240px content width, perfectly aligned. */
.customers > .container,
.value-section > .container {
  padding-left: 0;
  padding-right: 0;
}

/* On mobile, padding is restored from the section-level padding which v59 already
   reduces to 20px. Cards should still respect tighter padding on small viewports. */
@media (max-width: 480px) {
  .customers > .container,
  .value-section > .container {
    padding-left: 0;
    padding-right: 0;
  }
}

/* ============================================================ */
/* ============ V59 — MOBILE FIXES =========================== */
/* ============================================================ */

/* 1) Reset v46 arc-stagger margins on .pf-item-text at tablet/mobile.
      The original v44 reset only handled per-item margins, not the v46
      text-element margins — which caused texts to look offset on mobile. */
@media (max-width: 1024px) {
  .hero-figure #hero-inputs .pf-item .pf-item-text,
  .hero-figure #hero-outputs .pf-item .pf-item-text {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  /* Belt-and-suspenders: hide bus dots on tablet/mobile (JS does this too) */
  .hero-bus { display: none !important; }
  /* Items align cleanly when there's no longer flanking chat */
  .hero-figure .pf-item {
    justify-content: flex-start !important;
  }
}

/* 2) Value-image aspect-ratio on mobile/tablet — match source images (1:1)
      instead of cropping to 16:10 which cut off heads/feet. */
@media (max-width: 900px) {
  .value-image {
    aspect-ratio: 1 / 1 !important;
    max-width: 480px;
    margin: 0 auto;
  }
  .value-image img {
    object-position: center top;   /* preserve faces if any cropping happens */
  }
}

/* 3) Tighter hero text on small phones */
@media (max-width: 480px) {
  .hero {
    padding: 32px 20px 56px !important;
  }
  .hero-top {
    margin-bottom: 36px;
  }
  .hero-top h1 {
    font-size: 32px !important;
    line-height: 1.12 !important;
  }
  .hero-sub {
    font-size: 16px !important;
    line-height: 1.5;
  }
  .pf-tagline {
    font-size: 14px !important;
  }
}

/* 4) Hero figure on phone — clean stacked layout */
@media (max-width: 700px) {
  .hero-figure {
    margin-top: 24px;
    margin-bottom: 24px;
  }
  /* Cyan badges centered on stacked layout */
  .hero-figure .hero-grid-label,
  .hero-figure .pf-col-right .hero-grid-label {
    align-self: flex-start !important;
  }
  /* Items: left-aligned text always (no row-reverse confusion) */
  .hero-figure .pf-col .pf-item,
  .hero-figure .pf-col-right .pf-item {
    flex-direction: row !important;
    justify-content: flex-start !important;
    text-align: left !important;
  }
  .hero-figure .pf-col .pf-item-text,
  .hero-figure .pf-col-right .pf-item-text {
    text-align: left !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  /* Roles row inside chat: shrink padding, hide labels (icons only) */
  .hero-figure .hero-chat-header { padding: 8px; }
  .hero-figure .hero-roles { gap: 2px; }
  /* Chat bubbles full width */
  .hero-figure .chat-bubble { max-width: 100%; }
  /* Stat callouts wrap nicely */
  .hero-figure .chat-stat { min-width: 80px; padding: 8px 12px; }
}

/* 5) Section padding — tighten on phone */
@media (max-width: 480px) {
  .platform-modules,
  .value-section,
  .integrations,
  .customers,
  .final-cta {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
  .pm-tabs,
  .value-tabs {
    padding: 4px !important;
  }
  .pm-tab,
  .value-tab {
    padding: 9px 8px !important;
    font-size: 12px !important;
  }
  .pm-tab svg,
  .value-tab svg {
    width: 14px;
    height: 14px;
  }
}

/* 6) Module + Value cards: ensure 4-prop grid wraps clean on phone */
@media (max-width: 560px) {
  .pm-prop,
  .value-prop {
    padding: 14px;
  }
  .pm-module-stat,
  .value-stat {
    padding: 14px 16px !important;
  }
}


/* ============ V65 — REMOVE EYEBROW DASH ============ */
.eyebrow {
  padding-left: 0 !important;
}
.eyebrow::before {
  display: none !important;
  content: none !important;
}

/* ============ V65 — NAV ANCHORS ============ */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}
.nav-links {
  display: flex;
  gap: 28px;
  font-size: 14px;
  align-items: center;
}
.nav-links .nav-item {
  text-decoration: none;
  font-weight: 500;
  padding: 6px 0;
  transition: color 0.15s ease;
  color: var(--t-secondary);
}
.nav-links .nav-item:hover {
  color: var(--t-primary);
}
@media (max-width: 900px) {
  .nav-links { display: none; }
}

/* ============ V73 — CYAN OUTLINE BUTTON ============ */
.btn-outline-cyan {
  background: transparent;
  color: #FFFFFF;
  border: 1px solid var(--cyan);
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}
.btn-outline-cyan:hover {
  background: var(--cyan);
  color: var(--grey-dark);
}

/* ============ V74 — FOOTER READABILITY ============ */
/* "Company" + "Resources" headers were 11px white — high contrast but too small to read comfortably.
   Links were #B8B8B8 which felt washed out against #2D2D2D bg.
   Bumping both to clearer, more legible values. */
footer .footer-col h4 {
  font-size: 13px !important;       /* was 11px */
  color: #FFFFFF !important;
  letter-spacing: 0.08em;            /* slightly tighter for readability */
}
footer .footer-col a {
  color: #E0E0E0 !important;         /* was #B8B8B8 — brighter */
  font-size: 15px !important;        /* was 14px */
}
footer .footer-col a:hover {
  color: var(--cyan) !important;
}

/* ============ V82 — SQUARE IMAGES (REVERT) ============
   V82 changes from V81:
   - .value-image aspect-ratio: 4/5 → 1/1 (back to square)
   - Re-cropped source images to 800x800 square (top-anchored, center horizontal)
   - Cards retain 72px 56px padding for modest extra vertical breathing room
============================================== */

/* ============ V80 — HERO RADIUS + TALLER VALUE-CARDS ============
   V80 changes from V79:
   - .hero-chat: 16px → 24px (joins major card family)
   - .pf-center: 20px → 24px (joins major card family)
   - .neo-chat: 20px → 24px (joins major card family)
   - .value-card padding: 56px → 72px 56px (more vertical breathing room)
   - .value-image aspect-ratio: 4/5 portrait (cards now visibly taller)
============================================== */

/* ============ V77 — RADIUS HARMONIZATION ============
   Previously had 9 different radii (8/10/12/14/16/20/24/28/999px) creating visual mismatches
   between pill buttons (999px) and their container boxes.
   
   System now consolidates to:
   - 999px (pill): all buttons, tabs, AND tab containers (so pill curves line up)
   - 24px:  major cards (value-card, pm-module-card, quote-card, pm-foundation)
   - 14-16px: sub-cards and content blocks
   - 8-12px: small chips and icon backgrounds
   
   Specific changes from v76 → v77:
   - .pm-tabs: 28px → 999px (matches its pill tabs, same as .value-tabs already does)
   - .quote-card: 20px → 24px (joins major card family)
   - .pm-foundation: 20px → 24px (joins major card family)
============================================== */

/* ================================================================ */
/* ============ v4.0.1 + v4.0.2 — responsive fixes ================ */
/* ================================================================ */
/* These overrides are ADDITIVE. v82's desktop CSS above is untouched.
   Only behavior at <=1024px and <=700px is modified.                */

/* ============ INTEGRATIONS — prevent right-side overflow ============ */
.integration-grid > * { min-width: 0; }
.integration-tile {
  min-width: 0;
  overflow: hidden;
  box-sizing: border-box;
  word-break: break-word;
}
.integration-tile img { max-width: 100%; height: auto; }

/* ============ HAMBURGER BUTTON ============ */
.nav-hamburger {
  display: none;
  background: transparent;
  border: 0;
  padding: 0;
  width: 40px;
  height: 40px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-left: auto;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--t-primary, #fff);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
  transform-origin: center;
}
.nav.is-open .nav-hamburger span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav.is-open .nav-hamburger span:nth-child(2) {
  opacity: 0;
}
.nav.is-open .nav-hamburger span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============ TABLET + MOBILE NAV BEHAVIOR (<=1024px) ============ */
@media (max-width: 1024px) {
  .nav-inner { position: relative; }
  .nav-hamburger { display: flex; }

  .nav-links,
  .nav-ctas {
    display: none;
  }

  .nav.is-open .nav-links,
  .nav.is-open .nav-ctas {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    position: absolute;
    left: 0;
    right: 0;
    padding: 8px 24px;
    background: #2D2D2D;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .nav.is-open .nav-links { top: 100%; padding-top: 16px; padding-bottom: 4px; }
  .nav.is-open .nav-ctas {
    top: calc(100% + 220px);
    padding-top: 4px;
    padding-bottom: 16px;
    gap: 8px;
  }
  .nav.is-open .nav-links .nav-item {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    font-size: 16px;
  }
  .nav.is-open .nav-ctas .btn {
    width: 100%;
    text-align: center;
    padding: 12px 20px;
    font-size: 14px;
  }
}

/* ============ HERO RESPONSIVE — Meetric-style stacking ============ */
@media (max-width: 1024px) {
  /* Override v82's "chat chat / inputs outputs" with Meetric ordering */
  .hero-grid {
    grid-template-columns: 1fr !important;
    grid-template-areas:
      "inputs"
      "chat"
      "outputs" !important;
    gap: 36px !important;
    min-height: 0 !important;
  }

  /* Inputs and outputs become horizontal flex rows */
  .hero-figure #hero-inputs,
  .hero-figure #hero-outputs {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap;
    justify-content: center;
    gap: 36px 18px;
    width: 100%;
    margin: 0;
  }

  /* Each item: vertical layout (icon top, label below), no card chrome */
  .hero-figure #hero-inputs .pf-item,
  .hero-figure #hero-outputs .pf-item,
  .hero-figure .pf-col-right .pf-item {
    flex-direction: column !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    align-items: center !important;
    text-align: center !important;
    width: 86px;
    position: relative;
    gap: 8px !important;
    overflow: visible !important;
  }
  .hero-figure .pf-col-right .pf-item-text { text-align: center !important; }

  /* Icon container becomes a real circle showing the SVG inside */
  .hero-figure .pf-item-icon {
    width: 48px !important;
    height: 48px !important;
    border-radius: 50% !important;
    background: rgba(255,255,255,0.06) !important;
    border: 1px solid rgba(255,255,255,0.12) !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    visibility: visible !important;
    color: rgba(255,255,255,0.75) !important;
    flex-shrink: 0 !important;
    position: relative;
  }
  .hero-figure .pf-item-icon svg {
    display: block !important;
    width: 22px !important;
    height: 22px !important;
  }
  .hero-figure .pf-item-icon::after { display: none !important; }

  /* Active state */
  .hero-figure .pf-item.active .pf-item-icon {
    background: var(--cyan, #40EDED) !important;
    color: #0A0A0B !important;
    border-color: var(--cyan, #40EDED) !important;
    box-shadow: 0 0 0 4px rgba(64,237,237,0.15), 0 0 16px rgba(64,237,237,0.4) !important;
  }
  .hero-figure .pf-item.active .pf-item-icon svg { color: #0A0A0B !important; }

  .hero-figure .pf-item.inactive {
    opacity: 0.4 !important;
  }

  /* Text label compact, single-line */
  .hero-figure .pf-item-text {
    font-size: 10px !important;
    flex: 0 0 auto !important;
    min-width: 0 !important;
    width: 100%;
  }
  .hero-figure .pf-item-text strong {
    font-size: 9.5px !important;
    letter-spacing: 0.08em !important;
    line-height: 1.25 !important;
    color: var(--t-primary, #fff) !important;
  }
  .hero-figure .pf-item-text span {
    display: none !important;
  }

  /* === Vertical dashed connector lines === */
  /* Input items: line extends DOWN from below the item toward chat */
  .hero-figure #hero-inputs .pf-item::after {
    content: '';
    position: absolute;
    top: calc(100% + 4px);
    left: 50%;
    width: 1.5px;
    height: 16px;
    background-image: repeating-linear-gradient(
      to bottom,
      var(--cyan, #40EDED) 0 3px,
      transparent 3px 6px
    );
    transform: translateX(-50%);
    opacity: 0.7;
  }
  /* Output items: line extends UP from above the item toward chat */
  .hero-figure #hero-outputs .pf-item::before {
    content: '';
    position: absolute;
    bottom: calc(100% + 4px);
    left: 50%;
    width: 1.5px;
    height: 16px;
    background-image: repeating-linear-gradient(
      to top,
      var(--cyan, #40EDED) 0 3px,
      transparent 3px 6px
    );
    transform: translateX(-50%);
    opacity: 0.7;
  }

  /* Chat box centered with reasonable width */
  .hero-figure .hero-chat {
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
  }
}

/* ============ MOBILE TIGHTER (<=700px) ============ */
@media (max-width: 700px) {
  .hero-figure #hero-inputs,
  .hero-figure #hero-outputs {
    gap: 28px 12px;
  }
  .hero-figure #hero-inputs .pf-item,
  .hero-figure #hero-outputs .pf-item,
  .hero-figure .pf-col-right .pf-item {
    width: 70px;
  }
  .hero-figure .pf-item-icon {
    width: 42px !important;
    height: 42px !important;
  }
  .hero-figure .pf-item-icon svg {
    width: 19px !important;
    height: 19px !important;
  }
  .hero-figure .pf-item-text strong {
    font-size: 9px !important;
  }
  /* Even shorter connector lines on mobile to avoid wrap overlap */
  .hero-figure #hero-inputs .pf-item::after,
  .hero-figure #hero-outputs .pf-item::before {
    height: 12px;
  }
}

/* ================================================================ */
/* ============ v4.0.3 — hero responsive: bus-dot approach ======== */
/* ================================================================ */
/* Replaces v4.0.2's Meetric-style circular icons (too prominent) with
   a cleaner pattern matching desktop: small text-chip labels + one cyan
   bus dot near the chat box that flow lines converge to.            */

@media (max-width: 1024px) {
  /* === Remove Meetric circular icons from v4.0.2 === */
  .hero-figure .pf-item-icon {
    display: none !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
  }
  .hero-figure .pf-item-icon svg { display: none !important; }

  /* === Items become small horizontal text chips === */
  .hero-figure #hero-inputs .pf-item,
  .hero-figure #hero-outputs .pf-item,
  .hero-figure .pf-col-right .pf-item {
    flex-direction: row !important;
    align-items: center !important;
    background: rgba(255,255,255,0.04) !important;
    border: 1px solid rgba(255,255,255,0.10) !important;
    border-radius: 999px !important;
    padding: 6px 14px !important;
    width: auto !important;
    gap: 0 !important;
    box-shadow: none !important;
    text-align: center !important;
  }
  .hero-figure .pf-item.active {
    border-color: rgba(64,237,237,0.45) !important;
    background: rgba(64,237,237,0.07) !important;
  }
  .hero-figure .pf-item.inactive { opacity: 0.4 !important; }

  /* === Remove pseudo-element dashed lines from v4.0.2 — SVG handles this now === */
  .hero-figure #hero-inputs .pf-item::after,
  .hero-figure #hero-outputs .pf-item::before {
    display: none !important;
    content: none !important;
  }

  /* === Reveal flow-line SVG and bus dots that v82 hid at <=1024px === */
  .hero-flows {
    display: block !important;
    pointer-events: none;
  }
  .hero-bus {
    display: block !important;
  }

  /* === Text labels: small, centered === */
  .hero-figure .pf-item-text {
    font-size: 10px !important;
    text-align: center !important;
    width: auto !important;
    flex: none !important;
    min-width: 0 !important;
  }
  .hero-figure .pf-item-text strong {
    font-size: 10px !important;
    letter-spacing: 0.06em !important;
    color: var(--t-primary, #fff) !important;
  }
  .hero-figure .pf-item-text span {
    display: none !important;
  }

  /* === Tighten the inputs/outputs row gap so chips don't overlap with flow lines === */
  .hero-figure #hero-inputs,
  .hero-figure #hero-outputs {
    gap: 8px !important;
  }
}

@media (max-width: 700px) {
  .hero-figure #hero-inputs .pf-item,
  .hero-figure #hero-outputs .pf-item,
  .hero-figure .pf-col-right .pf-item {
    padding: 5px 10px !important;
  }
  .hero-figure .pf-item-text strong {
    font-size: 9px !important;
  }
  .hero-figure #hero-inputs,
  .hero-figure #hero-outputs {
    gap: 6px !important;
  }
}

/* ================================================================ */
/* ============ v4.0.4 — labels as bus dots + chip harmony ======== */
/* ================================================================ */
/* Two refinements over v4.0.3:
   1. The cyan bus circles are visually replaced by the
      DATA SOURCES IN / INTELLIGENCE OUT label pills (the JS now
      anchors flow lines to these labels).
   2. Inputs and outputs use a CSS Grid with equal columns so chip
      widths are uniform within each row.                          */

@media (max-width: 1024px) {
  /* Hide bus dots — the label pills are now the convergence anchors */
  .hero-bus { visibility: hidden !important; }

  /* Equal-width chip grid */
  .hero-figure #hero-inputs,
  .hero-figure #hero-outputs {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
    gap: 8px !important;
    width: 100%;
    justify-items: stretch;
    align-items: center;
  }

  /* Each chip fills its grid cell (uniform width per row) */
  .hero-figure #hero-inputs .pf-item,
  .hero-figure #hero-outputs .pf-item {
    width: 100% !important;
    box-sizing: border-box;
    justify-content: center !important;
    min-height: 30px;
  }

  /* DATA SOURCES IN: pushed to BOTTOM of inputs (right above chat),
     spans full grid width, centered horizontally */
  .hero-figure #hero-inputs .hero-grid-label {
    order: 99 !important;
    grid-column: 1 / -1 !important;
    justify-self: center !important;
    align-self: center !important;
    margin: 8px 0 0 0 !important;
  }

  /* INTELLIGENCE OUT: stays at TOP of outputs (right below chat),
     spans full grid width, centered horizontally */
  .hero-figure #hero-outputs .hero-grid-label {
    order: -1 !important;
    grid-column: 1 / -1 !important;
    justify-self: center !important;
    align-self: center !important;
    margin: 0 0 8px 0 !important;
  }

  /* Override v82's @<=900 align-self: flex-start on label */
  .hero-figure .hero-grid-label,
  .hero-figure .pf-col-right .hero-grid-label {
    align-self: center !important;
  }
}

@media (max-width: 700px) {
  .hero-figure #hero-inputs,
  .hero-figure #hero-outputs {
    grid-template-columns: repeat(auto-fit, minmax(104px, 1fr));
    gap: 6px !important;
  }
}

/* ================================================================ */
/* ============ v4.0.5 — chips render above flow lines ============ */
/* ================================================================ */
/* Flow lines (SVG, z-index:0) currently render above chips because
   chips are non-positioned. Promoting chips to positioned elements
   with higher z-index puts them on top of the SVG. Combined with an
   opaque background, line segments BEHIND chips are hidden; segments
   in the gaps between chips remain visible.                        */

@media (max-width: 1024px) {
  .hero-figure #hero-inputs .pf-item,
  .hero-figure #hero-outputs .pf-item,
  .hero-figure .pf-col-right .pf-item {
    position: relative !important;
    z-index: 2 !important;
    background: #1F2126 !important;
  }
  .hero-figure .pf-item.active {
    background: #142A2C !important;
    border-color: rgba(64,237,237,0.45) !important;
  }
  /* Labels also need to be above SVG (they're the line-termination point) */
  .hero-figure .hero-grid-label {
    position: relative !important;
    z-index: 2 !important;
  }
}

/* ================================================================ */
/* ============ v4.0.6 — show stakeholder text labels on mobile === */
/* ================================================================ */
/* v82 hides the role-pill text labels at <=700px (only icons remain),
   making it unclear what each tab represents. Override to show small
   text below icons in a vertical layout.                            */

@media (max-width: 700px) {
  .hero-figure .pf-role-btn {
    flex-direction: column !important;
    gap: 3px !important;
    padding: 8px 4px !important;
    height: auto !important;
    line-height: 1.1 !important;
  }
  .hero-figure .pf-role-btn span {
    display: block !important;
    font-size: 9.5px !important;
    font-weight: 500;
    text-align: center;
    letter-spacing: 0.02em;
    white-space: nowrap;
  }
  .hero-figure .pf-role-btn svg {
    width: 18px !important;
    height: 18px !important;
  }
  /* Roles container: equal-width buttons */
  .hero-figure .hero-roles {
    gap: 2px !important;
  }
}

/* ================================================================ */
/* ============ v4.0.7 — prevent chip overflow on mobile ========== */
/* ================================================================ */
/* On narrow viewports, long labels (UTILIZATION ANALYTICS, PREDICTIVE
   INSIGHTS, ENERGY OPTIMIZATION) push chips wider than their grid
   columns, causing visual overlap. Fix: tighter font + min-width: 0
   so chips can shrink to fit column; ellipsis as fallback.         */

@media (max-width: 700px) {
  .hero-figure #hero-inputs .pf-item,
  .hero-figure #hero-outputs .pf-item {
    min-width: 0 !important;
    overflow: hidden !important;
    padding: 5px 10px !important;
  }
  .hero-figure .pf-item-text {
    min-width: 0 !important;
    max-width: 100% !important;
    flex: 1 1 auto !important;
  }
  .hero-figure .pf-item-text strong {
    font-size: 8.5px !important;
    letter-spacing: 0.04em !important;
    display: block !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }
}

/* ================================================================ */
/* ============ V4.3 — ABOUT/CONTACT PAGE MODULES ================= */
/* ================================================================ */

/* page-hero — generic hero for non-homepage pages */
.page-hero {
  position: relative;
  padding: 120px 32px 88px;
  text-align: center;
  background: var(--bg-page);
  overflow: hidden;
}
.page-hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0.18;
  z-index: 0;
}
.page-hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(45,45,45,0.4) 0%, var(--bg-page) 100%);
}
.page-hero-inner {
  position: relative; z-index: 1;
  max-width: 760px; margin: 0 auto;
}
.page-hero .eyebrow {
  display: inline-block;
  font-size: 12px; font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--cyan);
  margin-bottom: 18px;
}
.page-hero h1 {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 700; letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 0 0 22px;
  color: #FFFFFF;
}
.page-hero-sub {
  font-size: 19px; line-height: 1.55;
  color: var(--t-secondary);
  margin: 0 auto 28px;
  max-width: 640px;
}
.page-hero-ctas {
  display: flex; gap: 12px; justify-content: center;
  flex-wrap: wrap;
  margin-top: 28px;
}
@media (max-width: 768px) {
  .page-hero { padding: 88px 24px 64px; }
}

/* content-section — generic 2-column or full-width content blocks */
.content-section {
  padding: 88px 32px;
}
.content-section--page { background: var(--bg-page); }
.content-section--card { background: var(--bg-card); }
.content-section-inner {
  max-width: 1240px; margin: 0 auto;
  display: grid;
  gap: 56px;
  align-items: center;
}
.content-section--img-right .content-section-inner { grid-template-columns: 1fr 1fr; }
.content-section--img-left .content-section-inner {
  grid-template-columns: 1fr 1fr;
  direction: rtl;
}
.content-section--img-left .content-section-inner > * { direction: ltr; }
.content-section--full .content-section-inner {
  grid-template-columns: 1fr;
  max-width: 760px;
}
.content-section-text .eyebrow {
  display: inline-block;
  font-size: 12px; font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--cyan);
  margin-bottom: 14px;
}
.content-section-text h2 {
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 700; letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 20px;
  color: #FFFFFF;
}
.content-section-body {
  font-size: 17px; line-height: 1.65;
  color: var(--t-secondary);
}
.content-section-body p { margin: 0 0 16px; }
.content-section-body p:last-child { margin-bottom: 0; }
.content-section-body strong { color: var(--t-primary); font-weight: 600; }
.content-section-image img {
  width: 100%; height: auto;
  border-radius: 16px;
  border: 1px solid var(--b-base);
  display: block;
}
.content-section-stat {
  margin-top: 28px;
  padding: 22px 24px;
  background: var(--bg-card);
  border: 1px solid var(--b-subtle);
  border-left: 3px solid var(--cyan);
  border-radius: 12px;
  display: inline-block;
}
.content-section--card .content-section-stat { background: var(--bg-page); }
.content-section-stat-num {
  font-size: 32px; font-weight: 700;
  letter-spacing: -0.025em;
  color: #FFFFFF;
  line-height: 1;
  margin-bottom: 6px;
}
.content-section-stat-num .unit {
  font-size: 16px; color: var(--t-secondary);
  font-weight: 400;
}
.content-section-stat-label {
  font-size: 13px; color: var(--t-secondary);
  line-height: 1.45;
}
@media (max-width: 900px) {
  .content-section { padding: 64px 24px; }
  .content-section--img-right .content-section-inner,
  .content-section--img-left .content-section-inner {
    grid-template-columns: 1fr;
  }
}

/* resource-grid — cards layout */
.resource-grid {
  padding: 88px 32px;
  background: var(--bg-page);
}
.resource-grid-inner {
  max-width: 1240px; margin: 0 auto;
}
.resource-grid .section-intro {
  text-align: center;
  margin-bottom: 48px;
  max-width: 640px; margin-left: auto; margin-right: auto;
}
.resource-grid .eyebrow {
  display: inline-block;
  font-size: 12px; font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--cyan);
  margin-bottom: 14px;
}
.resource-grid h2 {
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 700; letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 16px;
  color: #FFFFFF;
}
.resource-grid h2 + p {
  font-size: 17px; color: var(--t-secondary);
  line-height: 1.6;
  margin: 0;
}
.resource-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}
.resource-card {
  background: var(--bg-card);
  border: 1px solid var(--b-base);
  border-radius: 16px;
  padding: 28px 24px;
  text-decoration: none;
  transition: all 0.2s ease;
  display: flex; flex-direction: column;
  color: inherit;
}
.resource-card:hover {
  border-color: var(--cyan-border);
  transform: translateY(-2px);
}
.resource-card-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--bg-page);
  border: 1px solid var(--b-base);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  color: var(--cyan);
}
.resource-card:hover .resource-card-icon {
  background: var(--cyan);
  color: #0A0A0B;
  border-color: var(--cyan);
}
.resource-card-icon svg { width: 18px; height: 18px; }
.resource-card-title {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
  color: #FFFFFF;
}
.resource-card-desc {
  font-size: 14px;
  color: var(--t-secondary);
  line-height: 1.55;
  margin: 0 0 16px;
  flex-grow: 1;
}
.resource-card-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--cyan);
  margin-top: auto;
}
@media (max-width: 768px) {
  .resource-grid { padding: 64px 24px; }
}

/* contact-form — form on left, info on right */
.contact-form-section {
  padding: 88px 32px;
  background: var(--bg-page);
}
.contact-form-inner {
  max-width: 1240px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  align-items: start;
}
.contact-form-main .section-intro--left {
  text-align: left;
  margin-bottom: 32px;
}
.contact-form-main .eyebrow {
  display: inline-block;
  font-size: 12px; font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--cyan);
  margin-bottom: 14px;
}
.contact-form-main h2 {
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 700; letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 14px;
  color: #FFFFFF;
}
.contact-form-main h2 + p {
  font-size: 17px; color: var(--t-secondary);
  line-height: 1.6;
  margin: 0;
}
.contact-form-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--b-base);
  border-radius: 18px;
  padding: 36px;
}
.contact-form-wrapper form { width: 100%; }
.contact-form-wrapper input[type=text],
.contact-form-wrapper input[type=email],
.contact-form-wrapper input[type=tel],
.contact-form-wrapper select,
.contact-form-wrapper textarea {
  width: 100%;
  background: var(--bg-page);
  border: 1px solid var(--b-base);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--t-primary);
  font-family: inherit;
  font-size: 15px;
  margin-bottom: 14px;
}
.contact-form-wrapper input:focus,
.contact-form-wrapper textarea:focus,
.contact-form-wrapper select:focus {
  outline: none;
  border-color: var(--cyan);
}
.contact-form-wrapper label {
  display: block;
  font-size: 13px;
  color: var(--t-secondary);
  margin-bottom: 6px;
}
.contact-form-wrapper .hs-button,
.contact-form-wrapper input[type=submit] {
  background: var(--cyan);
  color: #0A0A0B;
  border: none;
  padding: 13px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  width: auto;
  margin-top: 8px;
}
.contact-form-wrapper .hs-button:hover { background: var(--cyan-bright); }
.contact-form-info {
  background: var(--bg-card);
  border: 1px solid var(--b-base);
  border-radius: 18px;
  padding: 36px 32px;
  position: sticky; top: 96px;
}
.contact-info-heading {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 24px;
  color: #FFFFFF;
}
.contact-info-block {
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--b-subtle);
}
.contact-info-block:last-of-type {
  border-bottom: none;
}
.contact-info-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--t-secondary);
  margin-bottom: 6px;
}
.contact-info-value {
  font-size: 15px;
  color: var(--t-primary);
  line-height: 1.55;
}
.contact-info-value strong { color: #FFFFFF; font-weight: 600; display: block; margin-bottom: 4px; }
.contact-info-value p { margin: 0; color: var(--t-secondary); }
.contact-info-value a {
  color: var(--cyan);
  text-decoration: none;
}
.contact-info-value a:hover { text-decoration: underline; }
.contact-info-demo {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--b-subtle);
}
.contact-info-demo-text {
  font-size: 13px;
  color: var(--t-secondary);
  margin-bottom: 12px;
}
@media (max-width: 900px) {
  .contact-form-inner { grid-template-columns: 1fr; }
  .contact-form-info { position: static; }
}
@media (max-width: 768px) {
  .contact-form-section { padding: 64px 24px; }
  .contact-form-wrapper { padding: 24px; }
  .contact-form-info { padding: 28px 24px; }
}

.contact-form-placeholder {
  padding: 32px;
  text-align: center;
  color: var(--t-secondary);
  border: 1px dashed var(--b-base);
  border-radius: 12px;
  background: var(--bg-page);
}
.contact-form-placeholder p { margin: 0 0 8px; }
.contact-form-placeholder strong { color: var(--t-primary); }