/* ==========================================================================
   QUIETMETRIC // Operavault Product Page Stylesheet
   Theme: Alabaster Sand (#F5F1EB), Deep Navy (#1E333C, #16242B),
          Signature Vibrant Orange (#EB5E28), Telemetry Green (#22C55E)
   ========================================================================== */

:root {
  --qm-sand-bg: #F5F1EB;
  --qm-sand-card: #FAF8F5;
  --qm-navy-card: #1E333C;
  --qm-navy-deep: #16242B;
  --qm-orange: #EB5E28;
  --qm-orange-hover: #D64C18;
  --qm-orange-glow: rgba(235, 94, 40, 0.28);
  --qm-green: #22C55E;
  --qm-red: #EF4444;
  --qm-text-main: #1B2124;
  --qm-text-muted: #5F6B72;
  --qm-font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --qm-font-mono: 'JetBrains Mono', 'Fira Code', monospace;
}

/* Animations */
@keyframes qm-fade-up {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.qm-fade-up { animation: qm-fade-up 0.34s cubic-bezier(0.22, 1, 0.36, 1) both; }

@keyframes qm-slide-down {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}
.qm-slide-down { animation: qm-slide-down 0.22s ease-out both; }

@keyframes qm-spin { to { transform: rotate(360deg); } }
.qm-spin { animation: qm-spin 0.8s linear infinite; }

@keyframes qm-ripple {
  0% { box-shadow: 0 0 0 0 rgba(235, 94, 40, 0.45); }
  70% { box-shadow: 0 0 0 12px rgba(235, 94, 40, 0); }
  100% { box-shadow: 0 0 0 0 rgba(235, 94, 40, 0); }
}
.qm-ripple { animation: qm-ripple 1.8s ease-out infinite; }

@keyframes qm-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}
.qm-blink { animation: qm-blink 1.6s ease-in-out infinite; }

/* Base Page */
body.qm-product-page {
  background-color: var(--qm-sand-bg);
  color: var(--qm-text-main);
  font-family: var(--qm-font-sans);
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.qm-product-page,
.qm-product-page * {
  box-sizing: border-box;
}

html:has(body.qm-product-page),
body.qm-product-page {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

/* Scroll Progress Bar */
.scroll-progress-bar {
  position: fixed;
  left: 0;
  top: 0;
  height: 3px;
  background-color: var(--qm-orange);
  z-index: 1000;
  width: 0%;
  transition: width 0.15s ease-out;
}

/* ==========================================================================
   HEADER / NAVBAR (Matched 1:1 with Landing Page Navbar Alignment)
   ========================================================================== */
.site-header,
.product-header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(27, 33, 36, 0.07);
  transition: background 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-header.scrolled,
.product-header.scrolled {
  background: rgba(255, 255, 255, 0.96);
  border-bottom-color: rgba(27, 33, 36, 0.08);
  box-shadow: 0 4px 20px -2px rgba(27, 33, 36, 0.06), 0 2px 6px -1px rgba(27, 33, 36, 0.03);
}

.navbar,
.product-nav-container {
  width: 100%;
  max-width: 1360px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 32px;
  padding-right: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 60px;
  gap: 24px;
}

.brand-logo,
.brand-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--qm-text-main);
  flex-shrink: 0;
}

.brand-logo-img {
  height: 42px;
  width: auto;
  display: block;
  transition: transform 0.25s ease, opacity 0.2s ease, filter 0.25s ease;
}

.brand-logo:hover .brand-logo-img,
.brand-link:hover .brand-logo-img {
  transform: translateY(-1px);
  opacity: 0.95;
  filter: drop-shadow(0 4px 12px rgba(235, 94, 40, 0.25));
}

.brand-badge-q {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background-color: var(--qm-orange);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  box-shadow: 0 2px 6px rgba(235, 94, 40, 0.3);
}

.brand-text {
  font-size: 20px;
  font-weight: 800;
  color: #1E333C;
  letter-spacing: -0.02em;
}

.brand-text span {
  color: var(--qm-orange);
}

/* Modern Floating Nav Pill Capsule */
.nav-pill-wrapper,
.nav-pills-bar {
  display: flex;
  align-items: center;
  background: #F5F1EB;
  padding: 4px 6px;
  border-radius: 9999px;
  border: 1px solid rgba(27, 33, 36, 0.08);
  transition: all 0.25s ease;
  box-shadow: none;
}

.site-header.scrolled .nav-pill-wrapper,
.product-header.scrolled .nav-pill-wrapper,
.product-header.scrolled .nav-pills-bar {
  background: #F5F1EB;
  border-color: rgba(27, 33, 36, 0.08);
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 2px;
  margin: 0;
  padding: 0;
}

.nav-link,
.nav-pill-link {
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 550;
  color: #4A5568;
  padding: 7px 14px;
  border-radius: 9999px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--qm-font-sans);
}

.nav-link:hover,
.nav-pill-link:hover {
  color: var(--qm-text-main);
  background: rgba(255, 255, 255, 0.65);
}

.nav-link.active,
.nav-pill-link.active {
  color: var(--qm-text-main);
  background: #FFFFFF;
  box-shadow: 0 2px 8px rgba(27, 33, 36, 0.06);
  font-weight: 700;
}

.nav-link-live {
  font-weight: 600;
}

.nav-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--qm-green);
  box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.25);
  display: inline-block;
  animation: qm-blink 1.6s ease-in-out infinite;
}

.nav-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: rgba(34, 197, 94, 0.1);
  color: var(--qm-green);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 9999px;
  margin-left: 2px;
}

.nav-live-badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--qm-green);
}

/* Nav Actions & Buttons */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.btn-pill-orange,
.header-action-btn,
.btn-nav-cta {
  padding: 11px 22px;
  background: var(--qm-orange);
  color: #FFFFFF;
  border: none;
  border-radius: 9999px;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(235, 94, 40, 0.32);
  font-family: var(--qm-font-sans);
}

.btn-pill-orange:hover,
.header-action-btn:hover,
.btn-nav-cta:hover {
  background: var(--qm-orange-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(235, 94, 40, 0.45);
}

.header-action-btn svg,
.btn-nav-cta svg {
  transition: transform 0.2s ease;
}

.header-action-btn:hover svg,
.btn-nav-cta:hover svg {
  transform: translateX(3px);
}

/* Modern Hamburger Button */
.mobile-menu-btn {
  display: none;
  background: transparent;
  border: 1px solid rgba(27, 33, 36, 0.12);
  border-radius: 10px;
  width: 40px;
  height: 40px;
  padding: 0;
  cursor: pointer;
  position: relative;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.mobile-menu-btn:hover {
  background: rgba(27, 33, 36, 0.04);
  border-color: rgba(27, 33, 36, 0.2);
}

.hamburger-box {
  width: 18px;
  height: 14px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hamburger-line {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--qm-text-main);
  border-radius: 2px;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
}

.mobile-menu-btn.active .hamburger-line.top {
  transform: translateY(6px) rotate(45deg);
}

.mobile-menu-btn.active .hamburger-line.mid {
  opacity: 0;
}

.mobile-menu-btn.active .hamburger-line.bot {
  transform: translateY(-6px) rotate(-45deg);
}

/* Mobile Nav Drawer */
.mobile-nav-drawer {
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  width: 100%;
  max-height: calc(100vh - 60px);
  background: rgba(250, 248, 245, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 999;
  padding: 20px 24px 36px;
  overflow-y: auto;
  border-bottom: 1px solid rgba(27, 33, 36, 0.1);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s ease;
}

.mobile-nav-drawer.open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-nav-inner {
  max-width: 480px;
  margin: 0 auto;
}

.mobile-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--qm-font-mono);
  font-size: 0.78rem;
  color: var(--qm-text-muted);
  background: rgba(27, 33, 36, 0.04);
  padding: 6px 14px;
  border-radius: 9999px;
  margin-bottom: 20px;
  border: 1px solid rgba(27, 33, 36, 0.06);
}

.metric-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--qm-green);
  box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.25);
  display: inline-block;
  animation: qm-blink 1.6s ease-in-out infinite;
}

.mobile-nav-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-nav-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 16px;
  color: var(--qm-text-main);
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 600;
  border-radius: 12px;
  transition: all 0.2s ease;
}

.mobile-nav-list a:hover {
  background: #F5F1EB;
  color: var(--qm-orange);
}

.mobile-nav-cta-wrap {
  margin-top: 10px;
}

.mobile-nav-cta-wrap .mobile-cta-btn {
  width: 100%;
  justify-content: center;
  padding: 14px 20px;
  font-size: 0.95rem;
}

/* Main Container */
.product-main {
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 32px 32px 80px;
}

/* Hero Section */
.hero-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 32px;
  align-items: stretch;
}

/* Left Hero Copy Card */
.hero-copy-card {
  background-color: #1E333C;
  color: #ffffff;
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
}

.hero-pill-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(235, 94, 40, 0.2);
  color: var(--qm-orange);
  font-size: 11px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 9999px;
  margin-bottom: 24px;
  align-self: flex-start;
}

.hero-title {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 20px 0;
  color: #ffffff;
}

.hero-desc {
  font-size: 13.5px;
  line-height: 1.65;
  color: #cbd5e1;
  margin-bottom: 18px;
}

.hero-tagline-bold {
  font-size: 13.5px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 24px;
}

.target-chips-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 30px;
}

.target-chip {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  font-size: 10.5px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 9999px;
  transition: all 0.15s ease;
}

.target-chip:hover {
  background: rgba(235, 94, 40, 0.15);
  border-color: rgba(235, 94, 40, 0.4);
  color: var(--qm-orange);
}

.hero-actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: auto;
}

.btn-hero-primary {
  background-color: var(--qm-orange);
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 9999px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(235, 94, 40, 0.35);
  transition: all 0.2s ease;
}

.btn-hero-primary:hover {
  background-color: var(--qm-orange-hover);
  transform: translateY(-1px);
}

.btn-hero-outline {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 9999px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-hero-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

.hero-footer-stats {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  margin-top: 36px;
  font-size: 11px;
  color: #94a3b8;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.stat-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--qm-green);
}

/* Right Hero Interactive Telemetry Dashboard */
.hero-telemetry-card {
  background-color: #16242B;
  color: #ffffff;
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
}

.telemetry-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 14px;
  margin-bottom: 18px;
}

.telemetry-card-header-left {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.cluster-tag {
  background-color: #1E2E37;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 10px;
  color: #94a3b8;
  font-family: var(--qm-font-mono);
}

.status-indicator-text {
  font-size: 11.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Service Tabs */
.service-tabs-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.service-tab-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid transparent;
  color: #94a3b8;
  font-size: 11.5px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: var(--qm-font-mono);
}

.service-tab-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.service-tab-btn.active {
  background-color: #1E333C;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Metric Cards Grid */
.metrics-2x2-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 22px;
}

.metric-panel {
  background-color: #FAF8F5;
  color: #1B2124;
  border-radius: 16px;
  padding: 18px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.metric-panel:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.metric-panel-header {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 600;
  color: #5F6B72;
  margin-bottom: 8px;
}

.metric-panel-value {
  font-size: 26px;
  font-weight: 800;
  font-family: var(--qm-font-mono);
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.metric-bar-track {
  height: 7px;
  background-color: #e2e8f0;
  border-radius: 9999px;
  overflow: hidden;
}

.metric-bar-fill {
  height: 100%;
  border-radius: 9999px;
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease;
}

/* Predictive Triage Radar Box */
.triage-radar-box {
  background-color: #1E333C;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 18px;
}

.triage-radar-header {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 600;
  color: #94a3b8;
  margin-bottom: 12px;
}

.triage-status-alert {
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 12px;
  line-height: 1.5;
  margin-bottom: 16px;
  transition: all 0.25s ease;
}

.triage-status-alert.nominal {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #ffffff;
}

.triage-status-alert.nominal .title {
  color: var(--qm-green);
  font-weight: 700;
  margin-bottom: 4px;
}

.triage-status-alert.anomaly {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #ffffff;
}

.triage-status-alert.anomaly .title {
  color: var(--qm-red);
  font-weight: 700;
  margin-bottom: 4px;
}

.triage-status-alert.remediating {
  background: rgba(235, 94, 40, 0.12);
  border: 1px solid rgba(235, 94, 40, 0.4);
  color: #ffffff;
}

.triage-status-alert.remediating .title {
  color: var(--qm-orange);
  font-weight: 700;
  margin-bottom: 4px;
}

.triage-status-alert.resolved {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #ffffff;
}

.triage-status-alert.resolved .title {
  color: var(--qm-green);
  font-weight: 700;
  margin-bottom: 4px;
}

.triage-buttons-row {
  display: flex;
  gap: 10px;
}

.btn-triage-action {
  flex: 1;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all 0.15s ease;
  text-align: center;
}

.btn-triage-inject {
  background: rgba(235, 94, 40, 0.2);
  border: 1px solid rgba(235, 94, 40, 0.4);
  color: var(--qm-orange);
}

.btn-triage-inject:hover:not(:disabled) {
  background: rgba(235, 94, 40, 0.3);
}

.btn-triage-inject:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.btn-triage-remediate {
  background: var(--qm-green);
  color: #16242B;
}

.btn-triage-remediate:hover:not(:disabled) {
  background: #1eb354;
}

.btn-triage-remediate:disabled {
  background: rgba(255, 255, 255, 0.08);
  color: #64748b;
  cursor: not-allowed;
}

.btn-triage-reset {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.btn-triage-reset:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Sections Common Heading */
.product-section {
  margin-top: 90px;
  padding-top: 60px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: rgba(235, 94, 40, 0.1);
  color: var(--qm-orange);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 9999px;
  margin-bottom: 14px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.section-title {
  font-size: 32px;
  font-weight: 800;
  color: #1B2124;
  letter-spacing: -0.02em;
  margin: 0 0 14px 0;
  max-width: 800px;
}

.section-desc {
  font-size: 14px;
  line-height: 1.65;
  color: #5F6B72;
  max-width: 800px;
  margin: 0 0 36px 0;
}

/* Section 1: Overview 3-Card & Highlights */
.overview-top-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.overview-lead-card {
  background-color: #FAF8F5;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 20px;
  padding: 32px;
}

.overview-compute-card {
  background-color: #1E333C;
  color: #ffffff;
  border-radius: 20px;
  padding: 32px;
}

.overview-highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.highlight-interactive-card {
  background-color: #FAF8F5;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 16px;
  padding: 22px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
  width: 100%;
}

.highlight-interactive-card:hover {
  transform: translateY(-2px);
  background-color: #ffffff;
  border-color: rgba(235, 94, 40, 0.3);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.highlight-interactive-card.open {
  background-color: #ffffff;
  border-color: rgba(235, 94, 40, 0.4);
  box-shadow: 0 8px 24px rgba(235, 94, 40, 0.1);
}

/* Section 2: Stack Grid */
.stack-groups-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}

.stack-group-card {
  background-color: #FAF8F5;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 16px;
  padding: 24px;
  transition: all 0.2s ease;
}

.stack-group-card:hover {
  transform: translateY(-2px);
  background-color: #ffffff;
  border-color: rgba(235, 94, 40, 0.3);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

/* Section 3: Integrations Accordion List */
.integrations-filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.filter-tags-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-tag-pill {
  padding: 5px 14px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 600;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: #FAF8F5;
  color: #5F6B72;
  cursor: pointer;
  transition: all 0.15s ease;
}

.filter-tag-pill:hover, .filter-tag-pill.active {
  background-color: var(--qm-orange);
  color: #ffffff;
  border-color: var(--qm-orange);
}

.integration-accordion-item {
  background-color: #FAF8F5;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 16px;
  margin-bottom: 14px;
  overflow: hidden;
  transition: all 0.2s ease;
}

.integration-accordion-item:hover {
  border-color: rgba(235, 94, 40, 0.3);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.integration-accordion-item.open {
  border-color: rgba(235, 94, 40, 0.35);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.accordion-header-btn {
  width: 100%;
  padding: 22px 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
}

.accordion-header-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.accordion-num-badge {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #1E333C;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background-color 0.2s ease;
}

.integration-accordion-item.open .accordion-num-badge {
  background-color: var(--qm-orange);
}

.accordion-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.accordion-main-title {
  font-size: 16px;
  font-weight: 800;
  color: #1E333C;
}

.accordion-tag {
  background-color: rgba(235, 94, 40, 0.1);
  color: var(--qm-orange);
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 9999px;
}

.accordion-subtitle {
  font-size: 12px;
  color: #5F6B72;
  margin-top: 2px;
}

.accordion-chevron-icon {
  width: 18px;
  height: 18px;
  color: #5F6B72;
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.integration-accordion-item.open .accordion-chevron-icon {
  transform: rotate(180deg);
  color: var(--qm-orange);
}

.accordion-content-panel {
  display: none;
  padding: 24px;
  background-color: #ffffff;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.integration-accordion-item.open .accordion-content-panel {
  display: block;
}

/* Section 4: Hardware Selector Cards */
.hardware-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}

.hardware-card-btn {
  background-color: #1E333C;
  color: #ffffff;
  border: 2px solid transparent;
  border-radius: 18px;
  padding: 24px;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
}

.hardware-card-btn:hover {
  transform: translateY(-2px);
  background-color: #192c34;
}

.hardware-card-btn.selected {
  border-color: var(--qm-orange);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(235, 94, 40, 0.25);
}

.hw-specs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 20px;
}

.hw-spec-item {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 12px;
  padding: 14px;
}

/* Section 5: Roadmap Progress & Checkboxes */
.roadmap-progress-panel {
  background-color: #FAF8F5;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 18px;
  padding: 24px;
  margin-bottom: 24px;
}

.roadmap-items-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.roadmap-item-btn {
  background-color: #FAF8F5;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  text-align: left;
  transition: all 0.15s ease;
}

.roadmap-item-btn:hover {
  transform: translateY(-1px);
  background-color: #ffffff;
  border-color: rgba(235, 94, 40, 0.3);
}

.roadmap-item-btn.completed {
  background-color: rgba(34, 197, 94, 0.05);
  border-color: rgba(34, 197, 94, 0.3);
}

.roadmap-item-btn.completed .roadmap-item-text {
  text-decoration: line-through;
  color: #5F6B72;
}

.roadmap-badge {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: var(--qm-orange);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.roadmap-item-btn.completed .roadmap-badge {
  background-color: var(--qm-green);
}

/* Section 6: Access & Copyable Tokens */
.access-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

/* Closing CTA */
.closing-cta-card {
  background-color: #1E333C;
  color: #ffffff;
  border-radius: 24px;
  padding: 36px 40px;
  margin-top: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

/* Back to Top Floating Button */
.back-to-top-btn {
  position: fixed;
  bottom: 24px;
  right: 92px; /* positioned comfortably alongside the Chatwoot launcher */
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--qm-orange);
  color: #ffffff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(235, 94, 40, 0.4);
  z-index: 99990;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: all 0.25s ease;
}

.back-to-top-btn.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top-btn:hover {
  background-color: var(--qm-orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(235, 94, 40, 0.55);
}

/* Responsive adjustments */
@media (max-width: 1040px) {
  /* Navbar Mobile Mode */
  .nav-pill-wrapper,
  .nav-pills-bar {
    display: none !important;
  }

  .mobile-menu-btn {
    display: inline-flex !important;
  }

  .product-nav-container {
    padding-left: 24px;
    padding-right: 24px;
    gap: 16px;
  }

  .hero-grid { grid-template-columns: 1fr; }
  .overview-top-grid { grid-template-columns: 1fr; }
  .overview-highlights-grid { grid-template-columns: repeat(2, 1fr); }
  .stack-groups-grid { grid-template-columns: repeat(2, 1fr); }
  .hardware-cards-grid { grid-template-columns: 1fr; }
  .hw-specs-grid { grid-template-columns: repeat(2, 1fr); }
  .roadmap-items-grid { grid-template-columns: 1fr; }
  .access-cards-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .product-nav-container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .metrics-2x2-grid { grid-template-columns: 1fr; }
  .overview-highlights-grid { grid-template-columns: 1fr; }
  .stack-groups-grid { grid-template-columns: 1fr; }
  .hero-copy-card { padding: 24px; }
  .hero-telemetry-card { padding: 20px; }
}

@media (max-width: 640px) {
  .product-nav-container {
    padding-left: 16px;
    padding-right: 16px;
    min-height: 56px;
    gap: 10px;
  }

  .mobile-nav-drawer {
    top: 56px;
    max-height: calc(100vh - 56px);
    padding: 16px 18px 32px;
  }

  .brand-logo-img {
    height: 36px;
  }

  .header-action-btn,
  .btn-nav-cta {
    padding: 8px 14px;
    font-size: 0.8rem;
    gap: 6px;
  }
}

@media (max-width: 440px) {
  .product-nav-container {
    padding-left: 12px;
    padding-right: 12px;
    gap: 8px;
  }

  .brand-logo-img {
    height: 32px;
  }

  .header-action-btn,
  .btn-nav-cta {
    padding: 7px 11px;
    font-size: 0.74rem;
  }

  .header-action-btn svg,
  .btn-nav-cta svg {
    display: none;
  }

  .product-main {
    padding: 20px 14px 60px;
  }
}

@media (max-width: 520px) {
  .product-nav-container {
    min-width: 0;
  }

  .brand-logo {
    min-width: 0;
  }

  .brand-logo-img {
    max-width: 100%;
  }

  .header-action-btn,
  .btn-nav-cta {
    display: none;
  }

  .mobile-menu-btn {
    margin-left: auto;
  }
}

/* ==========================================================================
   LANDING PAGE FOOTER ADAPTATION FOR PRODUCT PAGE
   ========================================================================== */
.site-footer-main {
  background: #111e25;
  color: #FFFFFF;
  padding: 64px 0 32px;
  border-top: 1px solid #1D2E36;
  font-family: var(--qm-font-sans);
}

.site-footer-main .container {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 32px;
  width: 100%;
}

.footer-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr) minmax(0, 0.8fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 48px);
  margin-bottom: 48px;
}

.footer-main-grid > * {
  min-width: 0;
}

.footer-brand-logo-wrap {
  margin-bottom: 8px;
}

.footer-brand-logo {
  height: 38px;
  width: auto;
  display: block;
}

.footer-desc {
  color: #8C9FA8;
  font-size: 0.9rem;
  margin: 16px 0 20px;
  max-width: 320px;
  line-height: 1.6;
}

.footer-sla-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--qm-font-mono);
  font-size: 0.74rem;
  color: #10B981;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.22);
  padding: 5px 12px;
  border-radius: 20px;
  margin: 6px 0 16px;
  max-width: 100%;
}

.footer-sla-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.6);
  flex-shrink: 0;
}

/* Official Social Channels matching landing page screenshot */
.footer-social-wrap {
  margin: 22px 0 16px;
}

.footer-social-title {
  display: block;
  font-family: var(--qm-font-mono, monospace);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6C8592;
  margin-bottom: 12px;
}

.footer-social-links {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 8px;
}

.footer-social-btn,
.footer-social-btn:link,
.footer-social-btn:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: #9AB2BC !important;
  fill: #9AB2BC !important;
  text-decoration: none;
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  flex-shrink: 0;
}

.footer-social-btn svg {
  width: 17px;
  height: 17px;
  fill: currentColor !important;
  color: inherit !important;
  transition: transform 0.22s ease, fill 0.22s ease, color 0.22s ease;
}

.footer-social-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.35);
  color: #FFFFFF !important;
  fill: #FFFFFF !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.footer-social-btn:hover svg {
  transform: scale(1.08);
}

/* Individual Brand Signature Glows */
.footer-social-btn[data-platform="linkedin"]:hover {
  background: rgba(10, 102, 194, 0.22);
  border-color: rgba(10, 102, 194, 0.7);
  box-shadow: 0 6px 16px rgba(10, 102, 194, 0.35);
  color: #38BDF8 !important;
}

.footer-social-btn[data-platform="x"]:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.65);
  box-shadow: 0 6px 16px rgba(255, 255, 255, 0.25);
  color: #FFFFFF !important;
}

.footer-social-btn[data-platform="youtube"]:hover {
  background: rgba(239, 68, 68, 0.22);
  border-color: rgba(239, 68, 68, 0.7);
  box-shadow: 0 6px 16px rgba(239, 68, 68, 0.35);
  color: #F87171 !important;
}

.footer-social-btn[data-platform="facebook"]:hover {
  background: rgba(24, 119, 242, 0.22);
  border-color: rgba(24, 119, 242, 0.7);
  box-shadow: 0 6px 16px rgba(24, 119, 242, 0.35);
  color: #60A5FA !important;
}

.footer-social-btn[data-platform="pinterest"]:hover {
  background: rgba(230, 0, 35, 0.22);
  border-color: rgba(230, 0, 35, 0.7);
  box-shadow: 0 6px 16px rgba(230, 0, 35, 0.35);
  color: #F87171 !important;
}

.footer-social-btn[data-platform="crunchbase"]:hover {
  background: rgba(2, 136, 209, 0.22);
  border-color: rgba(2, 136, 209, 0.7);
  box-shadow: 0 6px 16px rgba(2, 136, 209, 0.35);
  color: #38BDF8 !important;
}

.footer-social-btn[data-platform="f6s"]:hover {
  background: rgba(241, 108, 79, 0.22);
  border-color: rgba(241, 108, 79, 0.7);
  box-shadow: 0 6px 16px rgba(241, 108, 79, 0.35);
  color: #FB923C !important;
}

/* Horizontal Divider matching screenshot */
.footer-corp-divider {
  width: 100%;
  max-width: 320px;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 20px 0 16px;
}

/* Corporate Info Block */
.footer-corporate-info {
  margin-top: 0;
  font-size: 0.8rem;
  color: #8C9FA8;
  line-height: 1.55;
  padding-top: 0;
  max-width: 340px;
}

.footer-corp-header {
  font-family: var(--qm-font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #94A3B8;
  margin-bottom: 8px;
  font-weight: 700;
}

.footer-corp-item {
  margin-bottom: 8px;
}

.footer-corp-item strong {
  color: #CFDFE6;
  font-size: 0.82rem;
}

.footer-corp-item a {
  color: var(--qm-orange);
  text-decoration: none;
  font-weight: 600;
}

.footer-corp-item a:hover {
  text-decoration: underline;
}

.footer-corp-founded {
  font-family: var(--qm-font-mono);
  font-size: 0.72rem;
  color: #6C818B;
  margin-top: 6px;
  letter-spacing: 0.03em;
}

.footer-col-title {
  font-size: 1rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0;
  margin: 0;
}

.footer-link {
  color: #9AB2BC;
  text-decoration: none;
  font-size: 0.885rem;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--qm-orange);
}

.footer-newsletter-wrap {
  display: flex;
  margin-top: 12px;
  min-width: 0;
}

.footer-input {
  min-width: 0;
  flex-grow: 1;
  padding: 11px 14px;
  background: #23343C;
  border: 1px solid #334852;
  border-right: none;
  border-radius: 8px 0 0 8px;
  color: #FFFFFF;
  font-size: 0.85rem;
  outline: none;
}

.footer-submit-btn {
  padding: 11px 18px;
  background: var(--qm-orange);
  border: 1px solid var(--qm-orange);
  border-radius: 0 8px 8px 0;
  color: #FFFFFF;
  cursor: pointer;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease;
}

.footer-submit-btn:hover {
  background: var(--qm-orange-hover);
}

.footer-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px 28px;
  padding-top: 24px;
  border-top: 1px solid #1D2E36;
  font-size: 0.825rem;
  color: #6C818B;
  flex-wrap: wrap;
}

.footer-bottom-bar a {
  color: #6C818B;
  text-decoration: none;
  transition: color 0.18s ease;
}

.footer-bottom-bar a:hover {
  color: var(--qm-orange);
  text-decoration: underline;
}

@media (max-width: 900px) {
  .footer-main-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .site-footer-main .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .footer-main-grid {
    grid-template-columns: 1fr;
  }

  .footer-newsletter-wrap {
    width: 100%;
  }

  .footer-bottom-bar {
    flex-direction: column;
    align-items: flex-start;
  }
}
