/* ==========================================================================
   CohesIQ (cohesiq) Design System & Brand Theme
   "The Relational Intelligence & Social Cohesion Engine"
   ========================================================================== */

:root {
  /* Brand Core */
  --cohesiq-blue: #2563eb;
  --cohesiq-blue-hover: #1d4ed8;
  --cohesiq-blue-light: #eff6ff;
  --cohesiq-amber: #d97706;
  --cohesiq-amber-light: #fef3c7;
  --cohesiq-emerald: #059669;
  --cohesiq-emerald-light: #ecfdf5;
  --cohesiq-rose: #e11d48;
  --cohesiq-rose-light: #fff1f2;

  /* Dynamic Tenant Variables */
  --primary: var(--brand-primary, var(--cohesiq-blue));
  --primary-hover: var(--brand-accent, var(--cohesiq-blue-hover));
  --primary-light: var(--cohesiq-blue-light);
  --success: var(--cohesiq-emerald);
  --success-light: var(--cohesiq-emerald-light);
  --warning: var(--cohesiq-amber);
  --warning-light: var(--cohesiq-amber-light);
  --danger: var(--cohesiq-rose);
  --danger-light: var(--cohesiq-rose-light);

  /* Warm Daylight & Slate Neutrals (Claude + OpenAI Aesthetic) */
  --stone-950: #0c0a09;
  --stone-900: #1c1917;
  --stone-800: #292524;
  --stone-700: #44403c;
  --stone-600: #57534e;
  --stone-500: #78716c;
  --stone-400: #a8a29e;
  --stone-300: #d6d3d1;
  --stone-200: #e7e5e4;
  --stone-100: #f5f5f4;
  --stone-50: #fafaf9;
  --white: #ffffff;

  /* Elevation Shadows */
  --shadow-xs: 0 1px 2px 0 rgba(28, 25, 23, 0.04);
  --shadow-sm: 0 1px 3px 0 rgba(28, 25, 23, 0.06), 0 1px 2px -1px rgba(28, 25, 23, 0.06);
  --shadow-md: 0 4px 12px -2px rgba(28, 25, 23, 0.08), 0 2px 4px -2px rgba(28, 25, 23, 0.04);
  --shadow-lg: 0 12px 24px -4px rgba(28, 25, 23, 0.1), 0 4px 6px -2px rgba(28, 25, 23, 0.05);
  --shadow-xl: 0 20px 30px -6px rgba(28, 25, 23, 0.12);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Plus Jakarta Sans", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--stone-50);
  color: var(--stone-900);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

/* Layout Utilities */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 28px 20px;
}

.mobile-container {
  max-width: 520px;
  margin: 0 auto;
  padding: 20px 16px;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  padding-top: max(20px, env(safe-area-inset-top, 20px));
  padding-bottom: max(20px, env(safe-area-inset-bottom, 20px));
}

/* Cards & Surfaces */
.card {
  background: var(--white);
  border-radius: 16px;
  border: 1px solid var(--stone-200);
  box-shadow: var(--shadow-sm);
  padding: 24px;
  margin-bottom: 20px;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-interactive:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--stone-300);
}

/* Header & Nav */
.navbar {
  background: var(--white);
  border-bottom: 1px solid var(--stone-200);
  padding: 14px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 40;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--stone-950);
  letter-spacing: -0.02em;
}

.brand-symbol {
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, #1e40af, #3b82f6);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.95rem;
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.3);
}

.brand-badge {
  background: var(--stone-100);
  color: var(--stone-700);
  border: 1px solid var(--stone-200);
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 0.725rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.925rem;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all 0.15s ease;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.25);
}
.btn-primary:hover {
  background: var(--primary-hover);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
}

.btn-success {
  background: var(--success);
  color: var(--white);
  box-shadow: 0 2px 6px rgba(5, 150, 105, 0.25);
}
.btn-success:hover {
  background: #047857;
}

.btn-secondary {
  background: var(--white);
  color: var(--stone-700);
  border: 1px solid var(--stone-300);
  box-shadow: var(--shadow-xs);
}
.btn-secondary:hover {
  background: var(--stone-100);
  border-color: var(--stone-400);
  color: var(--stone-900);
}

.btn-ghost {
  background: transparent;
  color: var(--stone-600);
}
.btn-ghost:hover {
  background: var(--stone-100);
  color: var(--stone-900);
}

.btn-danger {
  background: var(--cohesiq-rose-light);
  color: var(--danger);
  border: 1px solid #fecdd3;
}
.btn-danger:hover {
  background: #ffe4e6;
}

.btn-lg {
  padding: 14px 24px;
  font-size: 1.05rem;
  border-radius: 12px;
}

.btn-full {
  width: 100%;
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
}

.badge-blue { background: #eff6ff; color: #1e40af; border: 1px solid #bfdbfe; }
.badge-green { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.badge-amber { background: #fef3c7; color: #92400e; border: 1px solid #fde68a; }
.badge-purple { background: #faf5ff; color: #6b21a8; border: 1px solid #e9d5ff; }
.badge-gray { background: #f5f5f4; color: #57534e; border: 1px solid #e7e5e4; }

/* Forms */
.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--stone-700);
  margin-bottom: 6px;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--stone-300);
  border-radius: 10px;
  font-size: 0.95rem;
  color: var(--stone-900);
  background: var(--white);
  transition: border-color 0.15s, box-shadow 0.15s;
  font-family: inherit;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

/* Grid System */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

/* Table Cards on Live Controller */
.table-card {
  background: var(--white);
  border-radius: 14px;
  border: 1px solid var(--stone-200);
  padding: 18px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-xs);
}

.table-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--stone-100);
  margin-bottom: 12px;
}

.table-member-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 10px;
  border-radius: 8px;
  background: var(--stone-50);
  margin-bottom: 6px;
  border: 1px solid var(--stone-100);
}

.member-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}

/* Live Round Banner */
.live-banner {
  background: linear-gradient(135deg, #1e3a8a, #2563eb);
  color: white;
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.pulse-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #22c55e;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  animation: pulse 1.6s infinite;
  margin-right: 6px;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

/* Modals */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(28, 25, 23, 0.5);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  z-index: 999;
}

.modal-content {
  background: white;
  border-radius: 20px;
  max-width: 580px;
  width: 100%;
  padding: 28px;
  box-shadow: var(--shadow-xl);
  max-height: 90vh;
  overflow-y: auto;
  border: 1px solid var(--stone-200);
}

/* Rating Buttons */
.rating-btn {
  padding: 10px 16px;
  border-radius: 10px;
  border: 1px solid var(--stone-200);
  background: white;
  cursor: pointer;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.15s;
}

.rating-btn.active-up {
  background: #ecfdf5;
  border-color: #6ee7b7;
  color: #047857;
}

.rating-btn.active-down {
  background: #fff1f2;
  border-color: #fecdd3;
  color: #be123c;
}

/* Introduction Quiz Wizard Styles */
.quiz-card {
  border: 2px solid var(--stone-200);
  border-radius: 14px;
  padding: 18px;
  cursor: pointer;
  transition: all 0.2s ease;
  background: var(--white);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.quiz-card:hover {
  border-color: var(--primary);
  background: var(--stone-50);
  transform: translateY(-2px);
}

.quiz-card.selected {
  border-color: var(--primary);
  background: var(--primary-light);
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
}

.quiz-progress-bar {
  height: 6px;
  background: var(--stone-200);
  border-radius: 9999px;
  overflow: hidden;
  margin-bottom: 24px;
}

.quiz-progress-fill {
  height: 100%;
  background: var(--primary);
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Network Intelligence & Synergie Heatmap Styles */
.synergy-heatmap-grid {
  display: grid;
  gap: 8px;
}

.heatmap-cell {
  padding: 12px;
  border-radius: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

/* "Powered by CohesIQ" Badge */
.powered-by-cohesiq {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--stone-500);
  font-size: 0.775rem;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s;
}

.powered-by-cohesiq:hover {
  color: var(--stone-900);
}

.powered-by-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
}

/* Utility Animations */
.fade-in {
  animation: fadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   COHESIQ — RUST, IQ & COHESION DESIGN SYSTEM (DAYLIGHT & WARM STONE)
   Stripe / Linear / Claude / OpenAI Tier Craftsmanship
   ========================================================================== */

/* Ambient & Architectural Background */
body {
  background-color: #fafaf8;
  background-image: 
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(37, 99, 235, 0.06), transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 30%, rgba(217, 119, 6, 0.03), transparent 50%),
    radial-gradient(circle at 1px 1px, rgba(28, 25, 23, 0.035) 1px, transparent 0);
  background-size: 100% 100%, 100% 100%, 32px 32px;
  color: var(--stone-900);
  font-family: -apple-system, BlinkMacSystemFont, "Plus Jakarta Sans", "Inter", "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Glassmorphism Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 250, 248, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(28, 25, 23, 0.07);
  transition: background 0.2s, border-color 0.2s;
}

.site-nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--stone-600);
  text-decoration: none;
  transition: color 0.15s ease;
  position: relative;
}

.nav-link:hover {
  color: var(--stone-950);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-toggle {
  display: none;
  background: none;
  border: 1px solid var(--stone-200);
  border-radius: 8px;
  font-size: 1.25rem;
  color: var(--stone-800);
  cursor: pointer;
  padding: 6px 10px;
}

.mobile-nav-drawer {
  display: none;
  position: fixed;
  top: 65px;
  left: 0;
  right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--stone-200);
  padding: 24px;
  box-shadow: var(--shadow-lg);
  flex-direction: column;
  gap: 16px;
  z-index: 99;
}

.mobile-nav-drawer.open {
  display: flex;
}

/* Hero Section */
.hero-wrap {
  padding: 88px 24px 64px 24px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid rgba(37, 99, 235, 0.18);
  padding: 6px 18px;
  border-radius: 9999px;
  font-size: 0.775rem;
  font-weight: 700;
  color: var(--cohesiq-blue);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 24px;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.06);
}

.hero-pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cohesiq-blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.25);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.7; }
}

.hero-main-title {
  font-size: clamp(2.4rem, 5vw, 3.85rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.035em;
  color: #141211;
  max-width: 940px;
  margin: 0 auto 22px auto;
}

.hero-sub-text {
  font-size: clamp(1.1rem, 2vw, 1.28rem);
  color: var(--stone-600);
  line-height: 1.6;
  max-width: 760px;
  margin: 0 auto 36px auto;
  font-weight: 400;
}

.hero-actions-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.hero-micro-proof {
  font-size: 0.825rem;
  color: var(--stone-500);
  margin-bottom: 40px;
}

.trust-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: 56px;
  font-size: 0.875rem;
  color: var(--stone-700);
  font-weight: 500;
}

.trust-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ==========================================================================
   INTERACTIVE RELATIONAL INTELLIGENCE & COHESION GRAPH CANVAS (IQ & RUST)
   ========================================================================== */
.graph-stage-card {
  background: var(--white);
  border: 1px solid rgba(220, 215, 206, 0.8);
  border-radius: 24px;
  box-shadow: 0 20px 40px -12px rgba(28, 25, 23, 0.08), 0 1px 3px rgba(28, 25, 23, 0.04);
  overflow: hidden;
  max-width: 1040px;
  margin: 0 auto;
  text-align: left;
  position: relative;
}

.graph-stage-header {
  background: #fdfdfc;
  border-bottom: 1px solid var(--stone-200);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.graph-mode-toggle {
  display: inline-flex;
  background: var(--stone-100);
  padding: 4px;
  border-radius: 12px;
  border: 1px solid var(--stone-200);
  gap: 4px;
}

.graph-toggle-btn {
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.825rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  background: transparent;
  color: var(--stone-600);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.graph-toggle-btn.active {
  background: var(--white);
  color: var(--stone-950);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.graph-stage-body {
  padding: 28px;
  background: radial-gradient(circle at center, rgba(37, 99, 235, 0.02) 0%, transparent 70%);
}

.network-canvas-container {
  width: 100%;
  height: 380px;
  position: relative;
  border-radius: 16px;
  background: #fafaf8;
  border: 1px solid var(--stone-200);
  overflow: hidden;
}

/* Node Elements on Canvas */
.network-node {
  position: absolute;
  border-radius: 12px;
  background: var(--white);
  border: 1px solid var(--stone-300);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 10;
  user-select: none;
}

.network-node:hover {
  transform: scale(1.06);
  border-color: var(--cohesiq-blue);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.15);
  z-index: 20;
}

.network-node .node-avatar {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.8rem;
  color: white;
  flex-shrink: 0;
}

.node-name {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--stone-950);
  line-height: 1.2;
}

.node-meta {
  font-size: 0.725rem;
  color: var(--stone-500);
  line-height: 1.2;
}

/* Cluster Pod Container */
.cluster-pod-frame {
  position: absolute;
  border-radius: 18px;
  border: 1.5px dashed rgba(37, 99, 235, 0.25);
  background: rgba(37, 99, 235, 0.02);
  transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 12px;
}

.cluster-pod-badge {
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--cohesiq-blue);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Synergy Metric Bar below Canvas */
.graph-metric-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: var(--stone-50);
  border-radius: 12px;
  border: 1px solid var(--stone-200);
  margin-top: 20px;
  flex-wrap: wrap;
  gap: 12px;
}

/* Metrics Section */
.metrics-section-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 80px 24px;
}

@media (max-width: 900px) {
  .metrics-section-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 540px) {
  .metrics-section-grid {
    grid-template-columns: 1fr;
  }
}

.metric-box-card {
  background: var(--white);
  border: 1px solid rgba(220, 215, 206, 0.7);
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow: var(--shadow-xs);
  transition: transform 0.2s, box-shadow 0.2s;
}

.metric-box-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--stone-300);
}

.metric-digit {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--stone-950);
  letter-spacing: -0.035em;
  font-family: var(--font-mono, monospace);
  line-height: 1;
  margin-bottom: 8px;
}

.metric-digit span {
  color: var(--cohesiq-blue);
}

/* Section Containers & Headers */
.content-section {
  padding: 96px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-eyebrow {
  font-size: 0.775rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--cohesiq-blue);
  margin-bottom: 12px;
  display: inline-block;
}

.section-headline {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #141211;
  line-height: 1.18;
  margin-bottom: 16px;
}

.section-description {
  font-size: 1.15rem;
  color: var(--stone-600);
  max-width: 680px;
  line-height: 1.6;
}

/* Dual Engine Section */
.dual-engine-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 48px;
}

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

.engine-card {
  background: var(--white);
  border: 1px solid rgba(220, 215, 206, 0.8);
  border-radius: 20px;
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.engine-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 12px;
  border-radius: 9999px;
  margin-bottom: 16px;
  width: fit-content;
}

.engine-tag-live {
  background: var(--cohesiq-blue-light);
  color: var(--cohesiq-blue);
  border: 1px solid #bfdbfe;
}

.engine-tag-data {
  background: #faf5ff;
  color: #7c3aed;
  border: 1px solid #e9d5ff;
}

.engine-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--stone-950);
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.engine-lead {
  font-size: 0.95rem;
  color: var(--stone-600);
  margin-bottom: 28px;
  line-height: 1.55;
}

.engine-items-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.engine-item-row {
  display: flex;
  gap: 14px;
  padding: 14px;
  background: #fafaf8;
  border-radius: 12px;
  border: 1px solid rgba(220, 215, 206, 0.5);
}

.engine-item-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--white);
  border: 1px solid var(--stone-200);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
}

/* Calculator Section */
.calc-card-container {
  background: var(--white);
  border: 1px solid rgba(220, 215, 206, 0.8);
  border-radius: 24px;
  padding: 44px;
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 48px;
}

@media (max-width: 860px) {
  .calc-card-container {
    grid-template-columns: 1fr;
    padding: 24px;
    gap: 32px;
  }
}

.calc-range-wrapper {
  margin-bottom: 24px;
}

.calc-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.calc-title-text {
  font-size: 0.925rem;
  font-weight: 700;
  color: var(--stone-800);
}

.calc-display-bubble {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--cohesiq-blue);
  background: var(--cohesiq-blue-light);
  padding: 3px 12px;
  border-radius: 6px;
}

.calc-slider-input {
  width: 100%;
  height: 6px;
  border-radius: 9999px;
  background: var(--stone-200);
  outline: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.calc-slider-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--cohesiq-blue);
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.4);
  cursor: pointer;
  transition: transform 0.1s;
}

.calc-slider-input::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

/* Result Dashboard Box */
.calc-dashboard-box {
  background: #151413;
  border-radius: 18px;
  padding: 32px;
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.calc-dashboard-box::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.25), transparent 70%);
  pointer-events: none;
}

.calc-kpi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 28px;
}

.calc-kpi-tile {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;
  padding: 16px;
}

.calc-kpi-val {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--white);
  font-family: var(--font-mono, monospace);
  line-height: 1;
  margin-bottom: 6px;
}

.calc-kpi-lbl {
  font-size: 0.775rem;
  color: var(--stone-400);
  line-height: 1.35;
}

/* Use Cases Section */
.usecase-tab-bar {
  display: flex;
  gap: 8px;
  margin: 40px 0 28px 0;
  border-bottom: 1px solid var(--stone-200);
  padding-bottom: 8px;
  overflow-x: auto;
}

.usecase-tab-item {
  padding: 10px 20px;
  background: transparent;
  border: none;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--stone-600);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.usecase-tab-item:hover {
  color: var(--stone-950);
  background: var(--stone-100);
}

.usecase-tab-item.active {
  background: var(--white);
  color: var(--stone-950);
  font-weight: 700;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--stone-200);
}

.usecase-view-panel {
  display: none;
}

.usecase-view-panel.active {
  display: block;
  animation: fadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.usecase-split-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
}

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

.usecase-left-box {
  background: var(--white);
  border: 1px solid rgba(220, 215, 206, 0.8);
  border-radius: 18px;
  padding: 32px;
  box-shadow: var(--shadow-xs);
}

.usecase-quote-box {
  background: #f7f6f3;
  border: 1px solid rgba(220, 215, 206, 0.9);
  border-radius: 18px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Data Fabriek Showcase */
.showcase-grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.showcase-tile {
  background: var(--white);
  border: 1px solid rgba(220, 215, 206, 0.8);
  border-radius: 18px;
  padding: 28px;
  box-shadow: var(--shadow-xs);
  transition: transform 0.2s, box-shadow 0.2s;
}

.showcase-tile:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Step Workflow */
.steps-cards-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}

@media (max-width: 860px) {
  .steps-cards-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .steps-cards-row {
    grid-template-columns: 1fr;
  }
}

.step-box-card {
  background: var(--white);
  border: 1px solid rgba(220, 215, 206, 0.7);
  border-radius: 16px;
  padding: 24px;
  position: relative;
}

.step-num-pill {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--cohesiq-blue-light);
  color: var(--cohesiq-blue);
  font-weight: 800;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

/* Pricing Grid */
.pricing-deck-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

@media (max-width: 960px) {
  .pricing-deck-grid {
    grid-template-columns: 1fr;
  }
}

.pricing-card-surface {
  background: var(--white);
  border: 1px solid rgba(220, 215, 206, 0.8);
  border-radius: 20px;
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.pricing-card-highlight {
  border: 2px solid var(--cohesiq-blue);
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.12);
}

.pricing-badge-star {
  position: absolute;
  top: -12px;
  right: 24px;
  background: var(--cohesiq-blue);
  color: var(--white);
  font-size: 0.725rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* FAQ Minimalist Accordeons */
.faq-clean-stack {
  max-width: 840px;
  margin: 48px auto 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-row-item {
  background: var(--white);
  border: 1px solid rgba(220, 215, 206, 0.7);
  border-radius: 14px;
  overflow: hidden;
}

.faq-trigger-btn {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 22px 24px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--stone-950);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-chevron {
  font-size: 1.25rem;
  color: var(--stone-400);
  transition: transform 0.2s ease, color 0.2s ease;
}

.faq-row-item.open .faq-chevron {
  transform: rotate(45deg);
  color: var(--cohesiq-blue);
}

.faq-content-body {
  display: none;
  padding: 0 24px 22px 24px;
  font-size: 0.95rem;
  color: var(--stone-600);
  line-height: 1.6;
}

.faq-row-item.open .faq-content-body {
  display: block;
}

/* High Converting Final CTA */
.final-cta-shell {
  background: #141211;
  border-radius: 28px;
  padding: 64px 36px;
  text-align: center;
  color: var(--white);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.18);
  position: relative;
  overflow: hidden;
  margin: 0 auto;
  max-width: 1200px;
}

.final-cta-shell::before {
  content: "";
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.2), transparent 70%);
  pointer-events: none;
}

/* Footer Clean */
.footer-surface {
  background: var(--white);
  border-top: 1px solid var(--stone-200);
  padding: 72px 24px 36px 24px;
  color: var(--stone-600);
  margin-top: 96px;
}


