/* =========================================================
   HYBRID ERP PRO - IDEAS DE 3 (CHAMPION EDITION)
   A HIGH-END INDUSTRIAL PLATFORM WITH STREET FIGHTER SOUL
   ========================================================= */

:root {
  --bg-deep: #080b11;
  --bg-surface: #0f1624;
  --bg-card: #151f33;
  --bg-card-hover: #1b2740;
  --border-subtle: #24324d;
  --border-focus: #3b82f6;

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-sub: #64748b;

  /* Street Fighter subtle thematic accents */
  --sf-gold: #f59e0b;
  --sf-gold-light: #fbbf24;
  --sf-crimson: #ef4444;
  --sf-blue: #3b82f6;
  --sf-cyan: #06b6d4;
  --sf-green: #10b981;
  --sf-purple: #8b5cf6;

  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-display: 'Space Grotesk', sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

body.hybrid-theme {
  background-color: var(--bg-deep);
  color: var(--text-main);
  font-family: var(--font-sans);
  min-height: 100vh;
  line-height: 1.5;
  overflow-x: hidden;
}

/* =========================================================
   TOP NAVBAR
   ========================================================= */
.hybrid-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 36px;
  background: rgba(15, 22, 36, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  position: sticky;
  top: 0;
  z-index: 100;
}

.brand-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #ffffff;
}

.brand-tag {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.06);
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

.badge-sf-edition {
  font-size: 11px;
  font-weight: 800;
  color: var(--sf-gold);
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.4);
  padding: 3px 10px;
  border-radius: 4px;
  letter-spacing: 0.8px;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-switch-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #1e293b;
  color: #e2e8f0;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  padding: 6px 14px;
  border-radius: 6px;
  border: 1px solid #334155;
  transition: all 0.2s;
}

.nav-switch-btn:hover {
  background: #ffcc00;
  color: #000;
  border-color: #ffcc00;
}

.btn-icon {
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 15px;
  padding: 6px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-icon:hover {
  border-color: var(--sf-cyan);
  color: var(--text-main);
}

.connection-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  color: var(--sf-green);
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 4px 10px;
  border-radius: 20px;
}

.status-dot-green {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sf-green);
  box-shadow: 0 0 8px var(--sf-green);
  animation: pulse-dot 1.5s infinite;
}

/* =========================================================
   MAIN VIEW PANELS
   ========================================================= */
.main-layout {
  max-width: 1360px;
  margin: 0 auto;
  padding: 30px 24px 60px;
}

.view-panel {
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.view-panel.active {
  display: block;
  opacity: 1;
}

/* =========================================================
   VIEW 1: HYBRID AUTH & TELEMETRY GRID
   ========================================================= */
.login-grid-container {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 32px;
  align-items: start;
}

@media (max-width: 1040px) {
  .login-grid-container {
    grid-template-columns: 1fr;
  }
}

/* SECTION TITLE */
.section-title-wrap {
  margin-bottom: 24px;
}

.sub-lead {
  font-size: 11px;
  font-weight: 800;
  color: var(--sf-cyan);
  letter-spacing: 1.5px;
  margin-bottom: 6px;
}

.main-heading {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.5px;
  line-height: 1.15;
  margin-bottom: 10px;
}

.desc {
  font-size: 14px;
  color: var(--text-muted);
  max-width: 620px;
}

/* OPERATORS / PARTNER CARDS (THE 4 FOUNDERS) */
.operators-block {
  margin-bottom: 24px;
}

.block-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.label-heading {
  font-size: 11px;
  font-weight: 800;
  color: var(--text-muted);
  letter-spacing: 1px;
}

.hint {
  font-size: 11px;
  color: var(--text-sub);
}

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

@media (max-width: 580px) {
  .partner-cards-grid {
    grid-template-columns: 1fr;
  }
}

.p-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.p-card:hover {
  background: var(--bg-card-hover);
  border-color: #3b82f6;
  transform: translateY(-2px);
}

.p-card.active {
  background: linear-gradient(135deg, #182236 0%, #151e30 100%);
  border-color: var(--sf-gold);
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.15);
}

.p-avatar-wrap {
  position: relative;
  flex-shrink: 0;
}

.p-avatar-badge {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
  color: #fff;
  position: relative;
}

.avatar-leader {
  background: linear-gradient(135deg, #b91c1c 0%, #ef4444 100%);
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.35);
}

.avatar-production {
  background: linear-gradient(135deg, #0e7490 0%, #06b6d4 100%);
  box-shadow: 0 2px 8px rgba(6, 182, 212, 0.35);
}

.avatar-sales {
  background: linear-gradient(135deg, #d97706 0%, #f59e0b 100%);
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.35);
}

.avatar-finance {
  background: linear-gradient(135deg, #1d4ed8 0%, #3b82f6 100%);
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.35);
}

.role-icon-corner {
  position: absolute;
  bottom: -4px;
  right: -4px;
  font-size: 13px;
  background: var(--bg-surface);
  border-radius: 50%;
  padding: 1px;
}

.p-info {
  flex: 1;
}

.p-name-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 2px;
}

.p-name {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
}

.tag-fighter {
  font-size: 9px;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

.p-role {
  font-size: 12px;
  color: #38bdf8;
  font-weight: 500;
  margin-bottom: 2px;
}

.p-kpi {
  font-size: 11px;
  color: var(--text-sub);
}

.p-kpi strong {
  color: #e2e8f0;
}

.p-check {
  font-size: 13px;
  font-weight: 800;
  color: var(--sf-gold);
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.2s;
}

.p-card.active .p-check {
  opacity: 1;
  transform: scale(1);
}

/* =========================================================
   CREDENTIALS CARD & BATTLE EFFICIENCY GAUGE
   ========================================================= */
.credentials-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.form-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.field-group label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.input-container input {
  width: 100%;
  background: #090d15;
  border: 1px solid var(--border-subtle);
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  padding: 12px 14px;
  border-radius: 8px;
  outline: none;
  transition: all 0.2s;
}

.input-container input:focus {
  border-color: var(--sf-cyan);
  box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.15);
  background: #0d131f;
}

/* BATTLE GAUGE (STREET FIGHTER ELEGANT NOD) */
.battle-gauge-box {
  background: #090d15;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 22px;
}

.gauge-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.gauge-legend {
  font-size: 11px;
  font-weight: 800;
  color: #f1f5f9;
  letter-spacing: 0.8px;
  display: block;
}

.gauge-sub {
  font-size: 11px;
  color: var(--text-sub);
}

.vs-pill {
  font-size: 10px;
  font-weight: 800;
  color: var(--sf-gold);
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.4);
  padding: 2px 8px;
  border-radius: 4px;
  letter-spacing: 1px;
}

.dual-healthbar-track {
  display: flex;
  align-items: center;
  gap: 12px;
}

.gauge-segment {
  flex: 1;
}

.segment-info {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 6px;
}

.uptime-side .segment-info { color: var(--sf-green); }
.waste-side .segment-info { color: var(--sf-crimson); }

.bar-shell {
  background: #1e293b;
  height: 10px;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

.bar-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 0.6s ease;
}

.fill-uptime {
  background: linear-gradient(90deg, #10b981 0%, #34d399 100%);
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
}

.fill-waste {
  background: linear-gradient(90deg, #ef4444 0%, #f87171 100%);
}

.gauge-center-vs {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 14px;
  color: #94a3b8;
}

/* ACTIONS */
.action-buttons-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn-primary-action {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff;
  border: 1px solid #60a5fa;
  padding: 14px 20px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

.btn-primary-action:hover {
  background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.45);
}

.btn-primary-action:active {
  transform: translateY(1px);
}

.btn-text-main {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.btn-text-sub {
  font-size: 10px;
  color: #bfdbfe;
  font-weight: 600;
  margin-top: 2px;
  letter-spacing: 0.5px;
}

.btn-secondary-action {
  background: transparent;
  color: var(--sf-cyan);
  border: 1px dashed var(--border-subtle);
  font-size: 12px;
  font-weight: 600;
  padding: 10px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-secondary-action:hover {
  background: rgba(6, 182, 212, 0.08);
  border-color: var(--sf-cyan);
}

/* =========================================================
   RIGHT COLUMN: TELEMETRY & INDUSTRIAL HARDWARE
   ========================================================= */
.telemetry-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 24px;
}

.telemetry-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  flex-wrap: wrap;
  gap: 8px;
}

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

.tele-title-wrap h3 {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #f1f5f9;
}

.pulse-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sf-green);
  box-shadow: 0 0 10px var(--sf-green);
  animation: pulse-dot 1.5s infinite;
}

.tag-feed {
  font-size: 10px;
  font-weight: 700;
  color: var(--sf-cyan);
  background: rgba(6, 182, 212, 0.1);
  padding: 2px 8px;
  border-radius: 4px;
}

.tele-subtitle {
  font-size: 12px;
  color: var(--text-sub);
  margin-bottom: 18px;
}

.devices-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 22px;
}

.device-card {
  background: #0c121e;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 14px 16px;
  transition: border-color 0.2s;
}

.device-card:hover {
  border-color: #38bdf8;
}

.device-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 10px;
}

.device-type {
  font-size: 10px;
  font-weight: 700;
  color: var(--text-sub);
  letter-spacing: 0.5px;
  display: block;
  margin-bottom: 2px;
}

.device-model {
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
}

.badge-run {
  font-size: 10px;
  font-weight: 700;
  color: var(--sf-green);
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 2px 8px;
  border-radius: 4px;
}

.badge-idle {
  font-size: 10px;
  font-weight: 700;
  color: var(--text-muted);
  background: rgba(148, 163, 184, 0.1);
  padding: 2px 8px;
  border-radius: 4px;
}

.device-progress .track {
  background: #1e293b;
  height: 6px;
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 8px;
}

.device-progress .fill {
  background: var(--sf-green);
  height: 100%;
}

.device-progress .fill-cyan {
  background: var(--sf-cyan);
}

.device-foot {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--text-muted);
}

/* BUSINESS VALUE SUMMARY */
.business-value-box {
  background: linear-gradient(180deg, #101726 0%, #0d131f 100%);
  border: 1px solid #1e293b;
  border-left: 3px solid var(--sf-gold);
  border-radius: 8px;
  padding: 16px;
}

.val-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #ffffff;
  margin-bottom: 10px;
}

.val-list {
  padding-left: 18px;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.6;
}

.val-list li {
  margin-bottom: 6px;
}

.val-list strong {
  color: #f1f5f9;
}

/* =========================================================
   TRANSITION MODAL
   ========================================================= */
.hybrid-transition-modal {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(8, 11, 17, 0.88);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.hybrid-transition-modal.show {
  opacity: 1;
  pointer-events: all;
}

.trans-dialog {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 36px 44px;
  text-align: center;
  max-width: 480px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  animation: modal-enter 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.trans-badge {
  font-size: 11px;
  font-weight: 800;
  color: var(--sf-gold);
  letter-spacing: 1.5px;
  margin-bottom: 12px;
}

.trans-title {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: #ffffff;
}

.trans-big-action {
  font-family: var(--font-display);
  font-size: 46px;
  font-weight: 800;
  color: var(--sf-cyan);
  line-height: 1;
  margin: 4px 0 16px;
  letter-spacing: -0.5px;
}

.trans-loader {
  background: #1e293b;
  height: 6px;
  border-radius: 3px;
  overflow: hidden;
  margin: 16px 0;
}

.trans-loader .loader-bar {
  background: linear-gradient(90deg, #3b82f6, #06b6d4);
  height: 100%;
  animation: load-anim 1.2s infinite ease-in-out;
}

.trans-desc {
  font-size: 13px;
  color: var(--text-muted);
}

/* =========================================================
   VIEW 2: FULL ENTERPRISE ERP DASHBOARD
   ========================================================= */
.dashboard-panel {
  width: 100%;
}

.dash-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 26px;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 18px;
  flex-wrap: wrap;
  gap: 14px;
}

.dh-context {
  font-size: 11px;
  font-weight: 800;
  color: var(--sf-cyan);
  letter-spacing: 1.2px;
}

.dh-title {
  font-size: 26px;
  font-weight: 800;
  color: #ffffff;
}

.user-highlight {
  color: var(--sf-gold-light);
}

.btn-pill-back {
  background: #1e293b;
  color: #f1f5f9;
  border: 1px solid #334155;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-pill-back:hover {
  background: #334155;
  color: #ffffff;
}

/* METRICS GRID */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 28px;
}

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

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

.m-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.2);
}

.m-label {
  font-size: 11px;
  font-weight: 800;
  color: var(--text-muted);
  letter-spacing: 0.8px;
  margin-bottom: 8px;
}

.m-val {
  font-size: 32px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 6px;
}

.m-unit {
  font-size: 15px;
  color: var(--text-sub);
  font-weight: 600;
}

.m-val.highlight-amber {
  color: var(--sf-gold-light);
}

.m-trend {
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 4px;
}

.m-trend.positive { color: var(--sf-green); }
.m-trend.neutral { color: var(--sf-cyan); }

.m-sub {
  font-size: 11px;
  color: var(--text-sub);
}

/* DASHBOARD COLUMNS */
.dashboard-columns {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 24px;
}

@media (max-width: 980px) {
  .dashboard-columns {
    grid-template-columns: 1fr;
  }
}

.dash-block {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 24px;
}

.block-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 14px;
  margin-bottom: 18px;
}

.block-title-row h3 {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #f1f5f9;
}

.badge-counter {
  font-size: 10px;
  font-weight: 800;
  color: var(--sf-green);
  background: rgba(16, 185, 129, 0.1);
  padding: 2px 8px;
  border-radius: 4px;
}

.badge-sf-tag {
  font-size: 10px;
  font-weight: 800;
  color: var(--sf-gold);
  background: rgba(245, 158, 11, 0.1);
  padding: 2px 8px;
  border-radius: 4px;
}

/* ERP DATA TABLE */
.table-responsive {
  overflow-x: auto;
}

.erp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.erp-table th {
  text-align: left;
  padding: 10px 12px;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-sub);
  border-bottom: 1px solid var(--border-subtle);
}

.erp-table td {
  padding: 12px;
  border-bottom: 1px solid #162033;
  color: #e2e8f0;
}

.erp-table tr:hover td {
  background: #111a2b;
}

.status-pill {
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  display: inline-block;
}

.status-run {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
}

.status-queue {
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
}

.status-finish {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
}

.status-ready {
  background: rgba(139, 92, 246, 0.15);
  color: #a78bfa;
}

/* SOCIO SUMMARY CARDS */
.socio-summary-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #0f1828;
  border: 1px solid var(--border-subtle);
  padding: 12px 14px;
  border-radius: 8px;
  margin-bottom: 12px;
}

.s-icon {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.icon-s1 { background: rgba(239, 68, 68, 0.15); border: 1px solid rgba(239, 68, 68, 0.3); }
.icon-s2 { background: rgba(6, 182, 212, 0.15); border: 1px solid rgba(6, 182, 212, 0.3); }
.icon-s3 { background: rgba(245, 158, 11, 0.15); border: 1px solid rgba(245, 158, 11, 0.3); }
.icon-s4 { background: rgba(59, 130, 246, 0.15); border: 1px solid rgba(59, 130, 246, 0.3); }

.s-content {
  flex: 1;
}

.s-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.s-header strong {
  font-size: 13px;
  color: #ffffff;
}

.kpi-mini {
  font-size: 10px;
  font-weight: 800;
  color: var(--sf-green);
  background: rgba(16, 185, 129, 0.12);
  padding: 1px 6px;
  border-radius: 3px;
}

.s-content p {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.4;
}

.argument-card {
  background: #0d1422;
  border: 1px dashed #334155;
  border-left: 3px solid var(--sf-cyan);
  padding: 14px 16px;
  border-radius: 8px;
  margin-top: 16px;
}

.argument-card h4 {
  font-size: 12px;
  color: var(--sf-cyan);
  margin-bottom: 4px;
}

.argument-card p {
  font-size: 12px;
  color: #cbd5e1;
}

/* =========================================================
   KEYFRAMES
   ========================================================= */
@keyframes pulse-dot {
  0% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.15); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.7; }
}

@keyframes modal-enter {
  0% { transform: scale(0.9) translateY(20px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}

@keyframes load-anim {
  0% { transform: translateX(-100%); }
  50% { transform: translateX(0%); }
  100% { transform: translateX(100%); }
}

/* =========================================================
   EXECUTIVE PROPOSAL STYLES (THE 6 CLIENT MEETING POINTS)
   ========================================================= */

.dh-badge-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}

.badge-tag-cloud {
  font-size: 10px;
  font-weight: 800;
  color: var(--sf-cyan);
  background: rgba(6, 182, 212, 0.12);
  border: 1px solid rgba(6, 182, 212, 0.4);
  padding: 2px 8px;
  border-radius: 4px;
}

.brand-accent {
  color: var(--sf-gold);
}

.dh-sublead {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* PROPOSAL NAVIGATION TABS */
.proposal-nav-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 0 16px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border-subtle);
  scrollbar-width: thin;
}

.prop-tab-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.prop-tab-btn .tab-num {
  background: rgba(255, 255, 255, 0.08);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
}

.prop-tab-btn:hover {
  background: var(--bg-card-hover);
  color: #ffffff;
  border-color: #3b82f6;
  transform: translateY(-1px);
}

.prop-tab-btn.active {
  background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
  color: #ffffff;
  border-color: #60a5fa;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

.prop-tab-btn.active .tab-num {
  background: #ffffff;
  color: #1e3a8a;
}

.prop-tab-btn.tab-highlight {
  border-color: rgba(245, 158, 11, 0.4);
  background: rgba(245, 158, 11, 0.08);
  color: var(--sf-gold);
}

.prop-tab-btn.tab-highlight.active {
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
  color: #ffffff;
  border-color: var(--sf-gold);
}

/* TAB PANES */
.prop-tab-pane {
  display: none;
  animation: tab-fade-in 0.35s ease;
}

.prop-tab-pane.active {
  display: block;
}

@keyframes tab-fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.section-intro-text {
  margin-bottom: 24px;
}

.section-intro-text h3 {
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 6px;
}

.section-intro-text p {
  font-size: 14px;
  color: var(--text-muted);
}

/* TAB 1: HERO BOX */
.prop-hero-box {
  background: linear-gradient(135deg, #101c33 0%, #0d1526 100%);
  border: 1px solid #1e3a8a;
  border-left: 4px solid var(--sf-cyan);
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 28px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.hero-quote-badge {
  font-size: 11px;
  font-weight: 800;
  color: var(--sf-cyan);
  letter-spacing: 1.5px;
  margin-bottom: 12px;
}

.hero-headline {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.3;
  margin-bottom: 14px;
}

.hero-body {
  font-size: 16px;
  color: #cbd5e1;
  line-height: 1.6;
}

.vision-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}

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

.v-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.v-card.highlight-border {
  border-color: rgba(6, 182, 212, 0.4);
  background: linear-gradient(180deg, #101a2b 0%, #0f1624 100%);
}

.v-icon {
  font-size: 32px;
  margin-bottom: 14px;
}

.v-card h4 {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
}

.v-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  flex: 1;
  margin-bottom: 16px;
}

.v-footer-tag {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-sub);
  background: rgba(255, 255, 255, 0.04);
  padding: 4px 10px;
  border-radius: 4px;
  align-self: flex-start;
}

.v-footer-tag.tag-cyan {
  color: var(--sf-cyan);
  background: rgba(6, 182, 212, 0.1);
}

/* TAB 2: MODULES STACK */
.modules-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 30px;
}

.mod-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 22px 26px;
  transition: all 0.2s;
}

.mod-card:hover {
  border-color: #38bdf8;
  background: #111a2b;
}

.mod-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.mod-badge {
  font-size: 10px;
  font-weight: 800;
  color: var(--sf-gold);
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  padding: 2px 8px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

.mod-header h4 {
  font-size: 17px;
  font-weight: 800;
  color: #ffffff;
  flex: 1;
}

.mod-tag {
  font-size: 10px;
  font-weight: 700;
  color: var(--sf-cyan);
  background: rgba(6, 182, 212, 0.1);
  padding: 3px 8px;
  border-radius: 4px;
}

.mod-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mod-checklist li {
  font-size: 13px;
  color: #cbd5e1;
  position: relative;
  padding-left: 20px;
  line-height: 1.5;
}

.mod-checklist li::before {
  content: "•";
  color: var(--sf-cyan);
  font-size: 16px;
  position: absolute;
  left: 4px;
  top: -1px;
}

.mod-checklist strong {
  color: #ffffff;
}

.warn-text {
  color: #fbbf24 !important;
}

.mini-flow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed var(--border-subtle);
  flex-wrap: wrap;
}

.step-chip {
  font-size: 11px;
  font-weight: 700;
  background: #1e293b;
  color: #e2e8f0;
  padding: 4px 10px;
  border-radius: 4px;
}

.step-chip.highlight {
  background: rgba(6, 182, 212, 0.2);
  color: var(--sf-cyan);
  border: 1px solid var(--sf-cyan);
}

.arrow-chip {
  color: var(--text-sub);
  font-weight: 800;
}

/* TAB 3: AI TABLE & INTERACTIVE DEMO */
.lead-quote {
  font-size: 17px !important;
  color: #f1f5f9 !important;
  font-weight: 600;
  font-style: italic;
}

.tag-ai-hero {
  font-size: 11px;
  font-weight: 800;
  color: var(--sf-cyan);
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.golden-rule-banner {
  background: linear-gradient(90deg, #1e3a5f 0%, #152238 100%);
  border-left: 4px solid var(--sf-gold);
  padding: 16px 20px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.rule-icon {
  font-size: 26px;
}

.rule-text {
  font-size: 14px;
  color: #e2e8f0;
}

.rule-text .highlight-text {
  color: var(--sf-gold);
  font-weight: 800;
  text-decoration: underline;
}

.table-container-ia {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 30px;
}

.ia-matrix-table {
  width: 100%;
  border-collapse: collapse;
}

.ia-matrix-table th {
  background: #141c2e;
  padding: 14px 18px;
  text-align: left;
  font-size: 11px;
  font-weight: 800;
  color: var(--text-muted);
  letter-spacing: 1px;
  border-bottom: 1px solid var(--border-subtle);
}

.ia-matrix-table td {
  padding: 16px 18px;
  border-bottom: 1px solid #162033;
  font-size: 13px;
  vertical-align: top;
}

.task-col {
  color: #ffffff;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.icon-task {
  font-size: 18px;
}

.ai-col {
  color: #cbd5e1;
  line-height: 1.5;
}

.ai-col em {
  color: var(--sf-gold-light);
  font-style: normal;
  font-weight: 600;
}

/* INTERACTIVE AI DEMO CONSOLE */
.interactive-ai-demo {
  background: #0d1422;
  border: 1px solid #1f2d47;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 30px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.demo-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}

.demo-header h4 {
  font-size: 13px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.5px;
}

.demo-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
}

.demo-tag {
  font-size: 10px;
  font-weight: 800;
  color: var(--sf-cyan);
  background: rgba(6, 182, 212, 0.12);
  padding: 2px 8px;
  border-radius: 4px;
}

.demo-hint {
  font-size: 12px;
  color: var(--text-sub);
  margin-bottom: 14px;
}

.sample-queries {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.btn-sample-q {
  background: #162033;
  color: #94a3b8;
  border: 1px solid var(--border-subtle);
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-sample-q:hover {
  background: #1e293b;
  color: #ffffff;
  border-color: #38bdf8;
}

.btn-sample-q.active {
  background: rgba(6, 182, 212, 0.15);
  color: var(--sf-cyan);
  border-color: var(--sf-cyan);
}

.ai-response-box {
  background: #070a12;
  border: 1px solid #1a253a;
  border-radius: 8px;
  padding: 18px;
}

.ai-avatar-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.ai-bot-icon {
  font-size: 18px;
}

.ai-label {
  font-size: 11px;
  font-weight: 800;
  color: var(--sf-cyan);
  letter-spacing: 0.5px;
}

.ai-content-body {
  font-size: 13px;
  color: #cbd5e1;
  line-height: 1.6;
}

.ai-content-body ul {
  padding-left: 20px;
  margin-top: 8px;
}

.ai-content-body li {
  margin-bottom: 6px;
}

/* TAB 4: BENEFITS 6 GRID */
.benefits-grid-six {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}

@media (max-width: 980px) {
  .benefits-grid-six {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 580px) {
  .benefits-grid-six {
    grid-template-columns: 1fr;
  }
}

.b-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 22px;
  position: relative;
  transition: all 0.2s;
}

.b-card:hover {
  border-color: var(--sf-gold);
  transform: translateY(-2px);
}

.b-arrow {
  color: var(--sf-gold);
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 6px;
}

.b-title {
  font-size: 12px;
  font-weight: 800;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 4px;
}

.b-outcome {
  font-size: 16px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 10px;
}

.b-desc {
  font-size: 13px;
  color: #94a3b8;
  line-height: 1.5;
}

/* TAB 5: ROADMAP TIMELINE */
.roadmap-timeline {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 30px;
}

.roadmap-step {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 20px 24px;
  transition: all 0.2s;
}

.roadmap-step.highlight-step {
  border-color: rgba(6, 182, 212, 0.4);
  background: linear-gradient(90deg, #101c30 0%, #0f1624 100%);
}

.step-badge-num {
  background: #1e293b;
  color: #94a3b8;
  font-size: 11px;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: 6px;
  letter-spacing: 1px;
  white-space: nowrap;
}

.badge-ai {
  background: linear-gradient(135deg, #0e7490 0%, #06b6d4 100%);
  color: #ffffff;
}

.step-card-content h4 {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
}

.step-card-content p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 10px;
}

.step-deliverable {
  font-size: 11px;
  font-weight: 700;
  color: var(--sf-green);
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  padding: 3px 8px;
  border-radius: 4px;
}

/* TAB 6: NEEDS GRID & CLOSING */
.needs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 30px;
}

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

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

.need-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
}

.need-icon {
  font-size: 28px;
  margin-bottom: 12px;
}

.need-card h4 {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}

.need-card p {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
  flex: 1;
  margin-bottom: 14px;
}

.need-tag {
  font-size: 10px;
  font-weight: 800;
  color: var(--sf-cyan);
  letter-spacing: 0.5px;
}

.closing-callout {
  background: linear-gradient(135deg, #1b2742 0%, #121929 100%);
  border: 1px solid #38bdf8;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  margin-bottom: 30px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.callout-lead {
  font-size: 11px;
  font-weight: 800;
  color: var(--sf-gold);
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.closing-callout h3 {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 12px;
}

.closing-callout p {
  font-size: 15px;
  color: #cbd5e1;
  max-width: 760px;
  margin: 0 auto 22px;
  line-height: 1.6;
}

.btn-demo-view {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff;
  border: 1px solid #60a5fa;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
  transition: all 0.2s;
}

.btn-demo-view:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.6);
}

/* NAVIGATION BUTTONS AT BOTTOM OF TABS */
.tab-actions-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-subtle);
  padding-top: 20px;
  margin-top: 20px;
  flex-wrap: wrap;
  gap: 12px;
}

.btn-next-tab {
  background: #1e293b;
  color: #ffffff;
  border: 1px solid #3b82f6;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  margin-left: auto;
  transition: all 0.2s;
}

.btn-next-tab:hover {
  background: #2563eb;
  border-color: #60a5fa;
}

.btn-prev-tab {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-prev-tab:hover {
  color: #ffffff;
  border-color: var(--text-muted);
}
