/* ============================================
   TrustLogix SE Command Center
   Dark glassmorphic · TrustLogix.ai palette
   ============================================ */

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: linear-gradient(135deg, #0a0f1e 0%, #0c1a2e 50%, #071428 100%);
  color: #fff;
  line-height: 1.6;
  min-height: 100vh;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(14,165,233,0.3); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(14,165,233,0.5); }

.container { max-width: 1400px; margin: 0 auto; padding: 0 2rem; }

/* ========== HEADER ========== */
.header { padding: 4rem 0 2rem; text-align: center; }

.title-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.trustlogix-logo-img {
  height: 48px;
  width: auto;
  filter: invert(1) drop-shadow(0 0 8px rgba(14,165,233,0.5)) drop-shadow(0 0 20px rgba(0,201,167,0.3));
  animation: logoFloat 3s ease-in-out infinite, logoGlow 4s ease-in-out infinite;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.trustlogix-logo-img:hover {
  transform: scale(1.12);
  filter: invert(1) drop-shadow(0 0 12px rgba(14,165,233,0.7)) drop-shadow(0 0 30px rgba(0,201,167,0.5)) brightness(1.2);
}

@keyframes logoFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

@keyframes logoGlow {
  0%, 100% { filter: invert(1) drop-shadow(0 0 8px rgba(14,165,233,0.5)) drop-shadow(0 0 20px rgba(0,201,167,0.3)); }
  50% { filter: invert(1) drop-shadow(0 0 14px rgba(14,165,233,0.7)) drop-shadow(0 0 35px rgba(0,201,167,0.5)); }
}

.header h1 {
  font-size: 3.2rem;
  font-weight: 700;
  background: linear-gradient(135deg, #0ea5e9, #00c9a7, #38bdf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.header .subtitle {
  font-size: 1.25rem;
  color: #94a3b8;
  font-weight: 400;
  max-width: 800px;
  margin: 0.5rem auto 2rem;
}

/* ========== NAV PILLS ========== */
.nav-pills {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(135deg, rgba(10,15,30,0.95), rgba(12,26,46,0.95));
  backdrop-filter: blur(16px);
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.nav-pill {
  padding: 0.6rem 1.4rem;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.03);
  color: #94a3b8;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
}

.nav-pill:hover {
  background: rgba(255,255,255,0.08);
  color: #e2e8f0;
  border-color: rgba(14,165,233,0.3);
}

.nav-pill.active {
  background: linear-gradient(135deg, #0ea5e9, #00c9a7);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(14,165,233,0.3);
}

/* ========== SECTIONS ========== */
.section {
  display: none;
  animation: fadeIn 0.4s ease;
}

.section.active { display: block; }

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

.section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, #0ea5e9, #00c9a7, #38bdf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: 1rem;
  color: #94a3b8;
  margin-bottom: 2rem;
}

/* ========== CATALOG GRID ========== */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.catalog-item {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 2rem;
  text-decoration: none;
  color: #fff;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.catalog-item::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #0ea5e9, #00c9a7, #38bdf8);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.catalog-item:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(14,165,233,0.3);
  transform: translateY(-4px);
}

.catalog-item:hover::before { opacity: 1; }

.item-header {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.item-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #0ea5e9, #00c9a7);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  font-size: 1.2rem;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.catalog-item:hover .item-icon {
  transform: scale(1.2) rotate(10deg);
}

.item-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #f8fafc;
}

.item-description {
  color: #cbd5e1;
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 0.8rem;
}

.item-arrow {
  color: #0ea5e9;
  font-weight: 600;
  font-size: 0.85rem;
  opacity: 0;
  transition: all 0.3s ease;
}

.catalog-item:hover .item-arrow {
  opacity: 1;
  transform: translateX(4px);
}

/* ========== GLASS CARD ========== */
.glass-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 2rem;
  backdrop-filter: blur(10px);
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.glass-card:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(14,165,233,0.2);
}

.glass-card h3 { font-size: 1.15rem; font-weight: 700; color: #f8fafc; margin-bottom: 0.5rem; }
.glass-card p { color: #cbd5e1; font-size: 0.92rem; }

/* ========== CARDS GRID ========== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 2rem;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #0ea5e9, #00c9a7, #38bdf8);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(14,165,233,0.3);
  transform: translateY(-4px);
}

.card:hover::before { opacity: 1; }

.card-header { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 0.8rem; gap: 12px; }
.card-title { font-size: 1.05rem; font-weight: 600; color: #f8fafc; }
.card-desc { color: #cbd5e1; font-size: 0.88rem; line-height: 1.7; margin-bottom: 1rem; }
.card-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 0.8rem; border-top: 1px solid rgba(255,255,255,0.06); }

.card-tag {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.tag-won { background: rgba(0,201,167,0.15); color: #34d8b8; }
.tag-active { background: rgba(14,165,233,0.15); color: #38bdf8; }
.tag-new { background: rgba(245,158,11,0.15); color: #fbbf24; }
.tag-internal { background: rgba(239,68,68,0.12); color: #f87171; }
.tag-external { background: rgba(0,201,167,0.12); color: #00c9a7; }

/* ========== TABS ========== */
.tab-bar {
  display: flex;
  gap: 4px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 4px;
  margin-bottom: 2rem;
  width: fit-content;
}

.tab-btn {
  padding: 0.6rem 1.4rem;
  border: none;
  background: transparent;
  color: #94a3b8;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
}

.tab-btn:hover { color: #e2e8f0; background: rgba(255,255,255,0.05); }

.tab-btn.active {
  background: linear-gradient(135deg, #0ea5e9, #00c9a7);
  color: #fff;
  box-shadow: 0 2px 8px rgba(14,165,233,0.3);
}

/* ========== COMPETITIVE TABS ========== */
.comp-tabs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.comp-tab {
  padding: 0.55rem 1.2rem;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  background: rgba(255,255,255,0.03);
  color: #94a3b8;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
}

.comp-tab:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(14,165,233,0.3);
  color: #e2e8f0;
  transform: translateY(-2px);
}

.comp-tab.active {
  background: linear-gradient(135deg, #0ea5e9, #00c9a7);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(14,165,233,0.3);
}

/* ========== SWIMLANE ========== */
.swim-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 2rem;
  backdrop-filter: blur(10px);
  margin-bottom: 1.5rem;
}

.swim-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }

.swim-logo {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.swim-header h3 { font-size: 1.2rem; font-weight: 700; color: #f8fafc; }
.swim-header p { font-size: 0.82rem; color: #94a3b8; }

.swim-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.7rem 1rem;
  border-radius: 8px;
  margin-bottom: 0.3rem;
  background: rgba(255,255,255,0.02);
  transition: all 0.3s ease;
}

.swim-row:hover {
  background: rgba(14,165,233,0.06);
  transform: translateX(4px);
}

.swim-capability { flex: 1; font-size: 0.88rem; font-weight: 500; color: #e2e8f0; }

.swim-score {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 20px;
  white-space: nowrap;
}

.swim-score.full { background: rgba(0,201,167,0.15); color: #34d8b8; }
.swim-score.partial { background: rgba(245,158,11,0.15); color: #fbbf24; }
.swim-score.limited { background: rgba(249,115,22,0.15); color: #fb923c; }
.swim-score.none { background: rgba(239,68,68,0.12); color: #f87171; }

.swim-bar-track { width: 120px; height: 6px; background: rgba(255,255,255,0.08); border-radius: 3px; overflow: hidden; }
.swim-bar-fill { height: 100%; border-radius: 3px; transition: width 0.5s ease; }
.swim-bar-fill.full { width: 100%; background: linear-gradient(90deg, #00c9a7, #34d8b8); }
.swim-bar-fill.partial { width: 66%; background: linear-gradient(90deg, #f59e0b, #fbbf24); }
.swim-bar-fill.limited { width: 33%; background: linear-gradient(90deg, #f97316, #fb923c); }
.swim-bar-fill.none { width: 5%; background: #ef4444; }

/* Dual-bar comparison row */
.swim-row-duo {
  padding: 0.9rem 1rem;
  border-radius: 8px;
  margin-bottom: 0.4rem;
  background: rgba(255,255,255,0.02);
  transition: all 0.3s ease;
}

.swim-row-duo:hover {
  background: rgba(14,165,233,0.04);
}

.swim-row-duo .swim-capability {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: #f8fafc;
  margin-bottom: 0.5rem;
}

.swim-duo-bars {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.swim-duo-line {
  display: flex;
  align-items: center;
  gap: 10px;
}

.swim-duo-label {
  font-size: 0.68rem;
  font-weight: 700;
  width: 80px;
  min-width: 80px;
  text-align: right;
}

.swim-duo-line .swim-bar-track {
  flex: 1;
  max-width: 300px;
}

/* ========== SUMMARY CARDS ========== */
.summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.summary-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 1.2rem;
  transition: all 0.3s ease;
}

.summary-card:hover { transform: translateY(-3px); background: rgba(255,255,255,0.07); border-color: rgba(14,165,233,0.2); }

.summary-card .sc-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.8rem; }
.summary-card .sc-name { font-size: 0.84rem; font-weight: 700; color: #e2e8f0; display: flex; align-items: center; gap: 8px; }
.summary-card .sc-dot { width: 10px; height: 10px; border-radius: 3px; }
.summary-card .sc-pct { font-size: 1.2rem; font-weight: 800; color: #94a3b8; }
.summary-card .sc-gap { font-size: 0.72rem; color: #f87171; font-weight: 600; margin-top: 0.5rem; }

.summary-bar { width: 100%; height: 6px; background: rgba(255,255,255,0.08); border-radius: 3px; overflow: hidden; }
.summary-bar-fill { height: 100%; border-radius: 3px; background: linear-gradient(90deg, #ef4444, #f59e0b, #00c9a7); }

.gaps-box {
  background: rgba(239,68,68,0.06);
  border: 1px solid rgba(239,68,68,0.15);
  border-radius: 10px;
  padding: 1.2rem 1.5rem;
  margin-top: 1.5rem;
}

.gaps-box h4 { font-size: 0.82rem; font-weight: 700; color: #f87171; margin-bottom: 0.8rem; }
.gaps-box li { font-size: 0.84rem; color: #fca5a5; margin-bottom: 0.4rem; padding-left: 1rem; position: relative; list-style: none; line-height: 1.5; }
.gaps-box li::before { content: '•'; position: absolute; left: 0; color: #f87171; font-weight: 700; }

.strengths-box {
  background: rgba(0,201,167,0.06);
  border: 1px solid rgba(0,201,167,0.15);
  border-radius: 10px;
  padding: 1.2rem 1.5rem;
  margin-top: 1.5rem;
}

.strengths-box h4 { font-size: 0.82rem; font-weight: 700; color: #00c9a7; margin-bottom: 0.8rem; }
.strengths-box li { font-size: 0.84rem; color: #6ee7b7; margin-bottom: 0.4rem; padding-left: 1.2rem; position: relative; list-style: none; line-height: 1.5; }
.strengths-box li::before { content: '✓'; position: absolute; left: 0; color: #00c9a7; font-weight: 700; }

/* ========== COMPARISON TABLE ========== */
.cmp-score-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.cmp-score-badge {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255,255,255,0.04);
  border: 2px solid;
  border-radius: 12px;
  padding: 1rem 1.5rem;
  min-width: 200px;
}

.cmp-score-tl { box-shadow: 0 0 20px rgba(14,165,233,0.15); }

.cmp-score-logo {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 0.82rem;
  flex-shrink: 0;
}

.cmp-score-name { font-size: 0.95rem; font-weight: 700; color: #f8fafc; }
.cmp-score-pct { font-size: 1.5rem; font-weight: 900; color: #94a3b8; }
.cmp-score-tl .cmp-score-pct { color: #0ea5e9; }

.cmp-vs {
  font-size: 1rem;
  font-weight: 800;
  color: #475569;
  letter-spacing: 0.1em;
}

.cmp-table-wrap {
  overflow-x: auto;
  margin: 0 -0.5rem;
  padding: 0 0.5rem;
}

.cmp-table {
  display: grid;
  grid-template-rows: auto auto auto;
  gap: 0;
  min-width: 900px;
}

.cmp-row {
  display: grid;
  grid-template-columns: 140px repeat(10, 1fr);
  gap: 4px;
  align-items: center;
}

.cmp-row-head {
  margin-bottom: 0.5rem;
}

.cmp-row-vendor {
  background: rgba(255,255,255,0.02);
  border-radius: 10px 10px 0 0;
  padding: 0.8rem 0;
  border: 1px solid rgba(255,255,255,0.06);
  border-bottom: none;
}

.cmp-row-tl {
  background: rgba(14,165,233,0.04);
  border-radius: 0 0 10px 10px;
  padding: 0.8rem 0;
  border: 1px solid rgba(14,165,233,0.1);
  border-top: 1px dashed rgba(255,255,255,0.08);
}

.cmp-row-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: #e2e8f0;
  padding-left: 0.8rem;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.cmp-row-dot {
  width: 8px;
  height: 8px;
  border-radius: 3px;
  flex-shrink: 0;
}

.cmp-col-head {
  font-size: 0.62rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-align: center;
  padding: 0 2px;
  line-height: 1.3;
}

.cmp-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 0 4px;
}

.cmp-bar-track {
  width: 100%;
  height: 8px;
  background: rgba(255,255,255,0.06);
  border-radius: 4px;
  overflow: hidden;
}

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

.cmp-cell-label {
  font-size: 0.58rem;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 10px;
  white-space: nowrap;
}

.cmp-cell-label.full { background: rgba(0,201,167,0.15); color: #34d8b8; }
.cmp-cell-label.partial { background: rgba(245,158,11,0.15); color: #fbbf24; }
.cmp-cell-label.limited { background: rgba(249,115,22,0.15); color: #fb923c; }
.cmp-cell-label.none { background: rgba(239,68,68,0.12); color: #f87171; }

.cmp-bottom-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

@media (max-width: 768px) {
  .cmp-bottom-grid { grid-template-columns: 1fr; }
  .cmp-score-header { gap: 1rem; }
  .cmp-score-badge { min-width: 160px; padding: 0.8rem 1rem; }
}

/* ========== DISCOVERY ========== */
.discovery-section { margin-bottom: 2rem; }

.discovery-category {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0ea5e9;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.discovery-category svg { width: 18px; height: 18px; }

.question-list { list-style: none; }

.question-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.2rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  margin-bottom: 0.5rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

.question-item:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(14,165,233,0.2);
  transform: translateX(4px);
}

.question-checkbox {
  width: 22px;
  height: 22px;
  min-width: 22px;
  border-radius: 6px;
  border: 2px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  transition: all 0.3s ease;
}

.question-item.checked .question-checkbox {
  border-color: #00c9a7;
  background: #00c9a7;
  box-shadow: 0 2px 8px rgba(0,201,167,0.3);
}

.question-item.checked .question-checkbox::after { content: '✓'; color: #fff; font-size: 0.72rem; font-weight: 800; }
.question-item.checked .question-text { color: #64748b; text-decoration: line-through; }

.question-text { font-size: 0.88rem; line-height: 1.5; color: #e2e8f0; }
.question-note { font-size: 0.78rem; color: #64748b; margin-top: 4px; font-style: italic; }

/* ========== PROGRESS ========== */
.progress-wrap {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(14,165,233,0.25);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.progress-label { font-size: 0.85rem; color: #cbd5e1; white-space: nowrap; }
.progress-value { font-size: 1.5rem; font-weight: 800; color: #0ea5e9; white-space: nowrap; }

.progress-bar { flex: 1; height: 8px; background: rgba(255,255,255,0.08); border-radius: 4px; overflow: hidden; }
.progress-fill { height: 100%; border-radius: 4px; background: linear-gradient(90deg, #0ea5e9, #00c9a7); transition: width 0.5s ease; }

/* ========== ROI ========== */
.roi-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-bottom: 2rem; }

.roi-panel {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 2rem;
  backdrop-filter: blur(10px);
}

.roi-panel h3 { font-size: 1.1rem; font-weight: 700; color: #f8fafc; margin-bottom: 1.5rem; }

.form-group { margin-bottom: 1.2rem; }
.form-group label { display: block; font-size: 0.8rem; font-weight: 600; color: #94a3b8; margin-bottom: 0.5rem; }

.form-group input, .form-group select {
  width: 100%;
  padding: 0.7rem 1rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  color: #e2e8f0;
  font-size: 0.88rem;
  font-family: inherit;
  outline: none;
  transition: all 0.3s ease;
}

.form-group input:focus, .form-group select:focus {
  border-color: rgba(14,165,233,0.5);
  box-shadow: 0 0 0 3px rgba(14,165,233,0.1);
  background: rgba(255,255,255,0.07);
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}

.roi-result {
  text-align: center;
  padding: 2rem;
  background: rgba(14,165,233,0.06);
  border: 1px solid rgba(14,165,233,0.15);
  border-radius: 12px;
  margin-top: 0.5rem;
}

.roi-result .roi-label { font-size: 0.75rem; color: #94a3b8; font-weight: 600; margin-bottom: 0.5rem; text-transform: uppercase; letter-spacing: 0.08em; }

.roi-result .roi-value {
  font-size: 2.8rem;
  font-weight: 800;
  background: linear-gradient(135deg, #0ea5e9, #00c9a7, #38bdf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.roi-result .roi-subtitle { font-size: 0.82rem; color: #94a3b8; margin-top: 0.3rem; }

.roi-breakdown { margin-top: 1.5rem; }

.roi-breakdown-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 0.88rem;
}

.roi-breakdown-item:last-child { border-bottom: none; font-weight: 700; }
.roi-breakdown-item span:first-child { color: #94a3b8; }
.roi-breakdown-item span:last-child { color: #e2e8f0; }
.roi-breakdown-item:last-child span:last-child { color: #00c9a7; }

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.6rem 1.4rem;
  border: none;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
}

.btn-primary {
  background: linear-gradient(135deg, #0ea5e9, #00c9a7);
  color: #fff;
  box-shadow: 0 2px 8px rgba(14,165,233,0.3);
}

.btn-primary:hover {
  box-shadow: 0 4px 16px rgba(14,165,233,0.4);
  transform: translateY(-2px);
}

.btn-outline {
  background: rgba(255,255,255,0.05);
  color: #cbd5e1;
  border: 1px solid rgba(255,255,255,0.15);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border-color: rgba(14,165,233,0.3);
}

.btn-ghost { background: transparent; color: #0ea5e9; padding: 0.4rem; font-weight: 600; }
.btn-ghost:hover { color: #38bdf8; }

.btn svg { width: 14px; height: 14px; }

/* ========== TOOLS GRID ========== */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.tool-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.tool-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #0ea5e9, #00c9a7, #38bdf8);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.tool-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(14,165,233,0.3);
  transform: translateY(-4px);
}

.tool-card:hover::before { opacity: 1; }

.tool-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.tool-icon svg { width: 24px; height: 24px; }
.tool-card h4 { font-size: 1rem; font-weight: 600; color: #f8fafc; margin-bottom: 0.5rem; }
.tool-card p { font-size: 0.85rem; color: #cbd5e1; line-height: 1.6; }

/* ========== TABLE ========== */
.comp-table-wrapper {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 2rem;
}

.comp-table { width: 100%; border-collapse: collapse; }
.comp-table th, .comp-table td { padding: 1rem 1.5rem; text-align: left; font-size: 0.88rem; border-bottom: 1px solid rgba(255,255,255,0.05); }
.comp-table th { background: rgba(255,255,255,0.04); color: #94a3b8; font-weight: 700; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; }
.comp-table tr:last-child td { border-bottom: none; }
.comp-table tr:hover td { background: rgba(14,165,233,0.04); }
.comp-table td { color: #e2e8f0; }

/* ========== MODAL ========== */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(5,10,25,0.7);
  backdrop-filter: blur(12px);
  z-index: 100;
  align-items: center;
  justify-content: center;
}

.modal-overlay.active { display: flex; }

.modal {
  background: linear-gradient(135deg, #0d1525, #0c1a2e);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  width: 90%;
  max-width: 680px;
  max-height: 82vh;
  overflow-y: auto;
  padding: 2.5rem;
  box-shadow: 0 32px 64px rgba(0,0,0,0.5);
  animation: modalIn 0.35s ease;
}

@keyframes modalIn {
  from { opacity: 0; transform: scale(0.95) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-close { float: right; background: none; border: none; color: #94a3b8; font-size: 1.5rem; cursor: pointer; transition: color 0.3s; }
.modal-close:hover { color: #fff; }
.modal h3 { font-size: 1.3rem; font-weight: 700; color: #f8fafc; margin-bottom: 0.3rem; }
.modal .modal-subtitle { color: #94a3b8; font-size: 0.82rem; margin-bottom: 1.5rem; }
.modal .modal-section { margin-bottom: 1.5rem; }
.modal .modal-section h4 { font-size: 0.8rem; font-weight: 700; color: #0ea5e9; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.5rem; }
.modal .modal-section p, .modal .modal-section li { font-size: 0.88rem; color: #cbd5e1; line-height: 1.8; }
.modal .modal-section ul { list-style: none; padding-left: 0; }
.modal .modal-section li { margin-bottom: 0.4rem; padding-left: 1.2rem; position: relative; }
.modal .modal-section li::before { content: ''; position: absolute; left: 0; top: 10px; width: 6px; height: 6px; border-radius: 50%; background: linear-gradient(135deg, #0ea5e9, #00c9a7); }

.modal-stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 1.5rem 0; }

.modal-stat {
  text-align: center;
  padding: 1.2rem;
  background: rgba(14,165,233,0.06);
  border: 1px solid rgba(14,165,233,0.12);
  border-radius: 10px;
}

.modal-stat .val { font-size: 1.4rem; font-weight: 800; color: #0ea5e9; }
.modal-stat .lbl { font-size: 0.68rem; color: #94a3b8; margin-top: 0.2rem; text-transform: uppercase; letter-spacing: 0.04em; }

/* ========== TOAST ========== */
.toast {
  position: fixed;
  bottom: 32px;
  right: 32px;
  background: linear-gradient(135deg, #0ea5e9, #00c9a7);
  color: #fff;
  padding: 0.8rem 1.5rem;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  z-index: 200;
  opacity: 0;
  transform: translateY(16px);
  transition: all 0.3s ease;
  pointer-events: none;
  box-shadow: 0 8px 24px rgba(14,165,233,0.3);
}

.toast.show { opacity: 1; transform: translateY(0); }

/* ========== FEATURES BAR ========== */
.features-bar {
  background: rgba(255,255,255,0.05);
  border-radius: 12px;
  padding: 1.5rem 2rem;
  margin: 0 0 3rem;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.06);
}

.features-text {
  font-size: 1rem;
  color: #e2e8f0;
  font-weight: 500;
}

.highlight { color: #0ea5e9; font-weight: 600; }

/* ========== DISCOVERY CATEGORY BADGES ========== */
.disc-cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 0.8rem;
  margin-bottom: 2rem;
}

.disc-cat-badge {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 1rem 1.2rem;
  transition: all 0.3s ease;
}

.disc-cat-badge:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(14,165,233,0.2);
  transform: translateY(-2px);
}

.disc-cat-badge.disc-badge-done {
  border-color: rgba(0,201,167,0.3);
  background: rgba(0,201,167,0.06);
}

.disc-cat-badge.disc-badge-partial {
  border-color: rgba(14,165,233,0.2);
  background: rgba(14,165,233,0.04);
}

.disc-cat-name {
  font-size: 0.78rem;
  font-weight: 700;
  color: #e2e8f0;
  margin-bottom: 0.4rem;
}

.disc-cat-pct {
  font-size: 1.4rem;
  font-weight: 800;
  color: #0ea5e9;
  margin-bottom: 0.4rem;
}

.disc-badge-done .disc-cat-pct { color: #00c9a7; }

.disc-cat-bar {
  width: 100%;
  height: 4px;
  background: rgba(255,255,255,0.08);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 0.4rem;
}

.disc-cat-fill {
  height: 100%;
  border-radius: 2px;
  background: linear-gradient(90deg, #0ea5e9, #00c9a7);
  transition: width 0.5s ease;
}

.disc-badge-done .disc-cat-fill { background: linear-gradient(90deg, #00c9a7, #34d8b8); }

.disc-cat-count {
  font-size: 0.68rem;
  color: #64748b;
  font-weight: 600;
}

/* ========== POC SECTION ========== */
.poc-timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.2rem;
}

.poc-phase {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 1.5rem;
  position: relative;
  transition: all 0.3s ease;
}

.poc-phase:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(14,165,233,0.2);
  transform: translateY(-3px);
}

.poc-phase-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: 20px;
  background: linear-gradient(135deg, #0ea5e9, #00c9a7);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.8rem;
}

.poc-phase-title {
  font-size: 1rem;
  font-weight: 700;
  color: #f8fafc;
  margin-bottom: 0.8rem;
}

.poc-phase-items {
  list-style: none;
  padding: 0;
}

.poc-phase-items li {
  font-size: 0.82rem;
  color: #cbd5e1;
  padding: 0.3rem 0 0.3rem 1.2rem;
  position: relative;
  line-height: 1.5;
}

.poc-phase-items li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0ea5e9, #00c9a7);
}

/* POC Criteria */
.poc-criteria-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
}

.poc-criteria-item {
  display: flex;
  gap: 1rem;
  padding: 1.2rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  transition: all 0.3s ease;
}

.poc-criteria-item:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(14,165,233,0.2);
  transform: translateX(4px);
}

.poc-criteria-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  background: rgba(14,165,233,0.1);
  border-radius: 10px;
}

.poc-criteria-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: #f8fafc;
  margin-bottom: 0.3rem;
}

.poc-criteria-desc {
  font-size: 0.82rem;
  color: #94a3b8;
  line-height: 1.5;
}

/* POC Executive Summary */
.poc-exec-section {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  padding: 1.5rem;
  margin-bottom: 1rem;
}

.poc-exec-section h4 {
  font-size: 0.82rem;
  font-weight: 700;
  color: #0ea5e9;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.8rem;
}

.poc-exec-section p {
  font-size: 0.88rem;
  color: #cbd5e1;
  line-height: 1.7;
}

.poc-exec-section ul {
  list-style: none;
  padding: 0;
}

.poc-exec-section li {
  font-size: 0.88rem;
  color: #cbd5e1;
  padding: 0.3rem 0 0.3rem 1.2rem;
  position: relative;
  line-height: 1.6;
}

.poc-exec-section li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0ea5e9, #00c9a7);
}

/* ========== KNOWLEDGE BASE LINKS ========== */
.kb-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 0.8rem;
}

.kb-link-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 1.5rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
  cursor: pointer;
}

.kb-link-card:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(14,165,233,0.25);
  transform: translateX(4px);
}

.kb-link-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.kb-link-icon svg { width: 24px; height: 24px; }

.kb-link-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #f8fafc;
  margin-bottom: 0.2rem;
}

.kb-link-desc {
  font-size: 0.8rem;
  color: #94a3b8;
  line-height: 1.4;
}

.kb-link-arrow {
  margin-left: auto;
  font-size: 1.2rem;
  color: #0ea5e9;
  opacity: 0;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.kb-link-card:hover .kb-link-arrow {
  opacity: 1;
  transform: translateX(4px);
}

/* ========== FOOTER ========== */
.footer {
  text-align: center;
  padding: 3rem 0;
  color: #475569;
  font-size: 0.82rem;
  border-top: 1px solid rgba(255,255,255,0.05);
  margin-top: 2rem;
}

.footer a { color: #0ea5e9; text-decoration: none; }
.footer a:hover { color: #38bdf8; }

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) { .roi-layout { grid-template-columns: 1fr; } }

@media (max-width: 768px) {
  .header h1 { font-size: 2.2rem; }
  .title-container { flex-direction: column; gap: 1rem; }
  .logo-shield { width: 70px; height: 70px; }
  .catalog-grid, .cards-grid { grid-template-columns: 1fr; }
  .tools-grid { grid-template-columns: 1fr; }
  .container { padding: 0 1rem; }
  .nav-pills { gap: 0.3rem; }
  .nav-pill { font-size: 0.78rem; padding: 0.5rem 1rem; }
}
