/* ==========================================================================
   Interactive Platform Comparison, Topology Visualizer & FAQ Component
   ========================================================================== */

.comparison-section {
  padding: 100px 0 80px;
  background: transparent;
  position: relative;
}

.comparison-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 56px;
}

.comparison-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  background: rgba(0, 0, 0, 0.04);
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-subtle);
  margin-bottom: 18px;
}

.comparison-title {
  font-size: clamp(2rem, 3.8vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.comparison-subtitle {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Platform Comparison Switcher & Matrix Grid
   -------------------------------------------------------------------------- */
.platform-comparison-container {
  margin-top: 36px;
}

.platform-tabs-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}

.platform-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  background: #ffffff;
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  box-shadow: none;
  transition: all 180ms ease;
}

.platform-tab-btn:hover {
  color: var(--text-primary);
  border-color: #cbd5e1;
}

.platform-tab-btn.is-active {
  background: #000000;
  color: #ffffff;
  border-color: #000000;
  box-shadow: none;
}

.platform-tab-btn .platform-tab-icon {
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Side-by-Side Direct Comparison Cards */
.comparison-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.platform-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: none;
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: transform 200ms ease;
}

.platform-card:hover {
  transform: translateY(-2px);
  box-shadow: none;
}

.platform-card.card-stream-e2ee,
.platform-card.card-mesa-analytics,
.platform-card.card-radius {
  background: #000000;
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  color: #ffffff;
}

.platform-card.card-stream-e2ee .platform-card-header,
.platform-card.card-mesa-analytics .platform-card-header,
.platform-card.card-radius .platform-card-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.platform-card.card-stream-e2ee .platform-card-icon,
.platform-card.card-mesa-analytics .platform-card-icon,
.platform-card.card-radius .platform-card-icon {
  background: rgba(255, 255, 255, 0.1);
}

.platform-card.card-stream-e2ee .platform-logo-img,
.platform-card.card-mesa-analytics .platform-logo-img,
.platform-card.card-radius .platform-logo-img {
  filter: brightness(0) invert(1);
}

.platform-card.card-stream-e2ee .platform-card-name,
.platform-card.card-mesa-analytics .platform-card-name,
.platform-card.card-radius .platform-card-name {
  color: #ffffff;
}

.platform-card.card-stream-e2ee .platform-card-type,
.platform-card.card-mesa-analytics .platform-card-type,
.platform-card.card-radius .platform-card-type {
  color: #94a3b8;
}

.platform-card.card-stream-e2ee .platform-spec-item,
.platform-card.card-mesa-analytics .platform-spec-item,
.platform-card.card-radius .platform-spec-item {
  color: #cbd5e1;
}

.platform-card.card-stream-e2ee .platform-spec-item strong,
.platform-card.card-mesa-analytics .platform-spec-item strong,
.platform-card.card-radius .platform-spec-item strong {
  color: #ffffff;
}

.platform-card.card-stream-e2ee .spec-icon-pass,
.platform-card.card-mesa-analytics .spec-icon-pass,
.platform-card.card-radius .spec-icon-pass {
  color: #10b981;
}

.platform-card-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background: #10b981;
  color: #ffffff;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  box-shadow: none;
}

.platform-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
}

.platform-card-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-tertiary);
}

.platform-logo-img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  display: block;
}

.platform-card-icon.icon-whatsapp { color: #25d366; }
.platform-card-icon.icon-slack { color: #4a154b; }
.platform-card-icon.icon-teams { color: #6264a7; }
.platform-card-icon.icon-google-chat { color: #00ac47; }

.platform-card-name {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
}

.platform-card-type {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.platform-specs-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.platform-spec-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--text-secondary);
}

.platform-spec-item strong {
  color: var(--text-primary);
  display: block;
  font-size: 0.8125rem;
}

.spec-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
}

.spec-icon-pass {
  color: #10b981;
}

.spec-icon-fail {
  color: #f43f5e;
}

.spec-icon-warn {
  color: #f59e0b;
}

/* --------------------------------------------------------------------------
   FAQ Accordion Section
   -------------------------------------------------------------------------- */
.faq-section {
  padding: 90px 0 60px;
  max-width: 820px;
  margin: 0 auto;
}

.faq-header {
  text-align: center;
  margin-bottom: 48px;
}

.faq-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  background: rgba(0, 0, 0, 0.04);
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-subtle);
  margin-bottom: 14px;
}

.faq-title {
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.faq-subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
}

.faq-accordion-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}

.faq-item:hover {
  border-color: #cbd5e1;
}

.faq-item.is-open {
  border-color: #000000;
  box-shadow: none;
}

.faq-question-heading {
  margin: 0;
  padding: 0;
  font-size: 1rem;
  font-weight: 600;
  display: block;
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  transition: color 150ms ease;
}

.faq-trigger:hover {
  color: #000000;
}

.faq-chevron {
  width: 20px;
  height: 20px;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform 250ms cubic-bezier(0.25, 1, 0.35, 1);
}

.faq-item.is-open .faq-chevron {
  transform: rotate(180deg);
  color: #000000;
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 300ms cubic-bezier(0.25, 1, 0.35, 1);
}

.faq-item.is-open .faq-content {
  max-height: 600px;
}

.faq-content-inner {
  padding: 0 24px 22px;
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.faq-content-inner p {
  margin: 0 0 10px;
}

.faq-content-inner p:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .topology-controls-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .comparison-cards-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  /* Mobile topology controls */
  .topology-mode-selector {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 5px;
    border-radius: 16px;
    gap: 5px;
  }

  .topology-mode-btn {
    width: 100%;
    justify-content: center;
    text-align: center;
    padding: 10px 14px;
    font-size: 0.8125rem;
    border-radius: 10px;
    white-space: normal;
  }

  .topology-action-btn {
    width: 100%;
    justify-content: center;
    padding: 10px 14px;
    font-size: 0.8125rem;
  }

  /* Platform tabs nav as horizontal slider on mobile */
  .platform-tabs-nav {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    justify-content: flex-start;
    padding: 6px 4px;
    gap: 8px;
    margin-bottom: 24px;
  }

  .platform-tabs-nav::-webkit-scrollbar {
    display: none;
  }

  .platform-tab-btn {
    flex-shrink: 0;
    scroll-snap-align: start;
    white-space: nowrap;
    padding: 8px 14px;
    font-size: 0.8rem;
  }

  .platform-card {
    padding: 20px 16px;
  }
}

/* ==========================================================================
   Neura AI Inspired Benchmark Table Component
   ========================================================================== */

.benchmark-section {
  padding: 40px 0 80px;
  width: 100%;
  position: relative;
}

.benchmark-header {
  text-align: left;
  max-width: 860px;
  margin-bottom: 36px;
}

.benchmark-title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(2.4rem, 4.8vw, 3.6rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.12;
  color: #0f172a;
  margin-bottom: 14px;
}

.benchmark-subtitle {
  font-size: 1.0625rem;
  color: #52525b;
  line-height: 1.6;
  max-width: 660px;
}

.benchmark-scroll-hint {
  display: none;
  font-size: 0.775rem;
  color: #94a3b8;
  margin-bottom: 12px;
  text-align: right;
  font-weight: 500;
}

.benchmark-table-wrapper {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background: transparent;
  border-radius: 16px;
  margin-bottom: 40px;
}

.benchmark-table {
  width: 100%;
  min-width: 900px;
  border-collapse: separate;
  border-spacing: 0;
  text-align: left;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
}

/* Column Widths (5 Columns: Feature, Description, Mesa, Competitor, GA4) */
.benchmark-table .col-feature { width: 22%; }
.benchmark-table .col-context { width: 27%; }
.benchmark-table .col-mesa { width: 17%; }
.benchmark-table .col-umami,
.benchmark-table .col-posthog,
.benchmark-table .col-matomo,
.benchmark-table .col-fathom,
.benchmark-table .col-simple,
.benchmark-table .col-pirsch,
.benchmark-table .col-openpanel,
.benchmark-table .col-goatcounter,
.benchmark-table .col-swetrix,
.benchmark-table .col-metabase,
.benchmark-table .col-redash,
.benchmark-table .col-ackee,
.benchmark-table .col-shynet,
.benchmark-table .col-rybbit { width: 17%; }
.benchmark-table .col-ga { width: 17%; }

/* Table Headers */
.benchmark-table thead {
  position: relative;
  z-index: 20;
}

.benchmark-table thead th {
  padding: 16px 20px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #475569;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  vertical-align: bottom;
}

.benchmark-table thead .th-mesa {
  background-color: #e6fcfc;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  color: #0f172a;
  padding: 20px 20px 16px;
}

.benchmark-table thead .th-umami,
.benchmark-table thead .th-posthog,
.benchmark-table thead .th-matomo,
.benchmark-table thead .th-fathom,
.benchmark-table thead .th-simple,
.benchmark-table thead .th-pirsch,
.benchmark-table thead .th-openpanel,
.benchmark-table thead .th-goatcounter,
.benchmark-table thead .th-swetrix,
.benchmark-table thead .th-metabase,
.benchmark-table thead .th-redash,
.benchmark-table thead .th-ackee,
.benchmark-table thead .th-shynet,
.benchmark-table thead .th-rybbit {
  padding: 20px 20px 16px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  position: relative;
  z-index: 25;
}

.benchmark-table thead .th-ga {
  padding: 20px 20px 16px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  position: relative;
  z-index: 25;
}

.col-header-group {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.col-header-title {
  font-size: 0.9375rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0f172a;
}

.col-header-sub {
  font-size: 0.725rem;
  font-weight: 500;
  color: #475569;
}

.col-header-sub--with-tooltip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.th-tooltip-trigger {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #64748b;
  padding: 2px;
  border-radius: 50%;
  outline: none;
  transition: color 0.15s ease, background-color 0.15s ease;
}

.th-tooltip-trigger:hover,
.th-tooltip-trigger:focus-visible,
.th-tooltip-trigger.is-active {
  color: #0f172a;
  background-color: rgba(0, 0, 0, 0.06);
}

.th-tooltip-icon {
  width: 14px;
  height: 14px;
  display: block;
  stroke: currentColor;
}

.th-tooltip-popover {
  position: absolute;
  top: calc(100% + 10px);
  right: -8px;
  width: 256px;
  background: #0f172a;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 13px 15px;
  box-shadow: 0 14px 35px -4px rgba(15, 23, 42, 0.45), 0 6px 12px -4px rgba(15, 23, 42, 0.3);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(4px);
  transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1), transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.2s;
  z-index: 100;
  text-align: left;
}

/* Hover bridge between trigger icon and popover */
.th-tooltip-popover::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}

/* Pointer arrow pointing to icon */
.th-tooltip-popover::after {
  content: '';
  position: absolute;
  top: -5px;
  right: 11px;
  width: 8px;
  height: 8px;
  background: #0f172a;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  transform: rotate(45deg);
}

.th-tooltip-trigger:hover .th-tooltip-popover,
.th-tooltip-trigger:focus-visible .th-tooltip-popover,
.th-tooltip-trigger.is-active .th-tooltip-popover {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.th-tooltip-desc {
  font-size: 0.775rem;
  line-height: 1.45;
  color: #f8fafc;
  margin: 0 0 10px 0;
  font-weight: 400;
}

.th-tooltip-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.725rem;
  font-weight: 600;
  color: #60a5fa;
  text-decoration: none;
  border-bottom: 1px solid rgba(96, 165, 250, 0.4);
  padding-bottom: 1px;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.th-tooltip-link:hover {
  color: #93c5fd;
  border-color: #93c5fd;
}

.th-tooltip-link svg {
  width: 11px;
  height: 11px;
  display: inline-block;
  flex-shrink: 0;
}

/* Category Separator Rows */
.tr-category td {
  padding: 24px 20px 10px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  background: transparent;
}

.tr-category .td-mesa {
  background-color: #e6fcfc;
}

/* Standard Data Rows */
.benchmark-table tbody tr {
  transition: background-color 150ms ease;
}

.benchmark-table tbody tr:hover td:not(.td-mesa) {
  background-color: rgba(0, 0, 0, 0.015);
}

.benchmark-table tbody td {
  padding: 14px 20px;
  font-size: 0.875rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  vertical-align: middle;
}

.td-feature {
  font-weight: 600;
  color: #0f172a;
}

.td-context {
  font-size: 0.8125rem;
  color: #64748b;
  line-height: 1.45;
}

/* Mesa Highlighted Column Cells */
.benchmark-table tbody .td-mesa {
  background-color: #e6fcfc;
  font-weight: 600;
  color: #0f172a;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.benchmark-table tbody tr.tr-last-row .td-mesa {
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
}

.benchmark-table tbody .td-umami,
.benchmark-table tbody .td-posthog,
.benchmark-table tbody .td-matomo,
.benchmark-table tbody .td-fathom,
.benchmark-table tbody .td-simple,
.benchmark-table tbody .td-pirsch,
.benchmark-table tbody .td-openpanel,
.benchmark-table tbody .td-goatcounter,
.benchmark-table tbody .td-swetrix,
.benchmark-table tbody .td-metabase,
.benchmark-table tbody .td-redash,
.benchmark-table tbody .td-ackee,
.benchmark-table tbody .td-shynet,
.benchmark-table tbody .td-rybbit {
  color: #1e293b;
  font-weight: 500;
}

.benchmark-table tbody .td-ga {
  color: #334155;
  font-weight: 500;
}

/* Badges & Value Chips */
.bench-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  font-weight: 600;
}

.bench-badge--yes {
  color: #047857;
}

.bench-badge--no {
  color: #94a3b8;
}

.bench-icon {
  width: 15px;
  height: 15px;
  stroke-width: 2.5;
  flex-shrink: 0;
}

.bench-val-mesa {
  font-weight: 700;
  color: #0f172a;
}

.bench-val-ga {
  color: #475569;
  font-weight: 500;
}

.bench-ref-link {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: #64748b;
  text-decoration: underline;
  text-decoration-style: dotted;
  text-underline-offset: 2px;
  font-size: 0.75rem;
  margin-left: 4px;
  transition: color 150ms ease;
  vertical-align: middle;
}

.bench-ref-link:hover {
  color: #0f172a;
}

.bench-ref-link svg {
  width: 10px;
  height: 10px;
  stroke-width: 2.2;
}

@media (max-width: 768px) {
  .benchmark-scroll-hint {
    display: block;
  }

  .benchmark-table th:first-child,
  .benchmark-table td:first-child {
    position: sticky;
    left: 0;
    background: #fdfdfd;
    z-index: 5;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.03);
  }

  .benchmark-table thead th:first-child {
    background: #f8fafc;
    z-index: 6;
  }

  .tr-category td:first-child {
    background: #fdfdfd;
  }
}

/* ==========================================================================
   Radar / Spider Chart Component (Interactive Capabilities Analysis)
   ========================================================================== */

.radar-chart-section {
  padding: 20px 0 60px;
  width: 100%;
  position: relative;
}

.radar-header {
  text-align: left;
  max-width: 860px;
  margin-bottom: 28px;
}

.radar-title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(2.4rem, 4.8vw, 3.6rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.12;
  color: #0f172a;
  margin-bottom: 14px;
}

.radar-subtitle {
  font-size: 1.0625rem;
  color: #52525b;
  line-height: 1.6;
  max-width: 660px;
}

/* Category Filter Tabs */
.radar-tabs-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.radar-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  background: #ffffff;
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  box-shadow: none;
  transition: all 180ms ease;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
}

.radar-tab-btn:hover {
  color: var(--text-primary);
  border-color: #cbd5e1;
}

.radar-tab-btn.is-active {
  background: #000000;
  color: #ffffff;
  border-color: #000000;
}

/* Radar Canvas Container (Seamlessly blends into page) */
.radar-canvas-card {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 8px 0 24px;
  box-shadow: none;
  position: relative;
  overflow: visible;
}

.radar-card-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.radar-category-label {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0f172a;
  transition: opacity 0.25s ease;
}

.radar-legend {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.radar-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #334155;
}

.radar-legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.dot-mesa {
  background-color: #0070f3;
  box-shadow: 0 0 0 3px rgba(0, 112, 243, 0.2);
}

.dot-comp {
  background-color: #f59e0b;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2);
}

.dot-ga {
  background-color: #8b5cf6;
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.2);
}

/* SVG Chart Wrapper */
.radar-svg-wrapper {
  position: relative;
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.radar-svg {
  width: 100%;
  height: auto;
  max-height: 520px;
  overflow: visible;
}

/* SVG Elements */
.radar-ring {
  fill: none;
  stroke: rgba(0, 0, 0, 0.06);
  stroke-width: 1;
}

.radar-ring--outer {
  stroke: rgba(0, 0, 0, 0.12);
  stroke-width: 1.2;
}

.radar-spoke {
  stroke: rgba(0, 0, 0, 0.08);
  stroke-width: 1;
  stroke-dasharray: 3 3;
}

.radar-axis-text {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 12px;
  font-weight: 600;
  fill: #334155;
  cursor: default;
  transition: opacity 0.25s ease, fill 150ms ease;
}

.radar-axis-text:hover {
  fill: #0070f3;
}

.radar-polygon {
  will-change: points;
  transition: opacity 0.25s ease;
}

.radar-polygon--mesa {
  fill: rgba(0, 112, 243, 0.22);
  stroke: #0070f3;
  stroke-width: 2.5;
  filter: drop-shadow(0 2px 8px rgba(0, 112, 243, 0.15));
}

.radar-polygon--comp {
  fill: rgba(245, 158, 11, 0.18);
  stroke: #f59e0b;
  stroke-width: 2.5;
  filter: drop-shadow(0 2px 8px rgba(245, 158, 11, 0.15));
}

.radar-polygon--ga {
  fill: rgba(139, 92, 246, 0.2);
  stroke: #8b5cf6;
  stroke-width: 2.5;
  filter: drop-shadow(0 2px 8px rgba(139, 92, 246, 0.12));
}

.radar-point {
  cursor: pointer;
  will-change: cx, cy;
}

.radar-point--mesa {
  fill: #0070f3;
  stroke: #ffffff;
  stroke-width: 2;
}

.radar-point--comp {
  fill: #f59e0b;
  stroke: #ffffff;
  stroke-width: 2;
}

.radar-point--ga {
  fill: #8b5cf6;
  stroke: #ffffff;
  stroke-width: 2;
}

.radar-point:hover {
  transform-box: fill-box;
  transform-origin: center;
  transform: scale(1.4);
}

/* Tooltip */
.radar-tooltip {
  position: absolute;
  pointer-events: none;
  background: #0f172a;
  color: #ffffff;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.8125rem;
  font-weight: 500;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  transition: opacity 150ms ease, transform 150ms ease;
  z-index: 20;
  max-width: 260px;
  line-height: 1.4;
  transform: translate(-50%, -100%) translateY(-10px);
}

/* Takeaway Section (Seamlessly blends into container) */
.radar-takeaway {
  margin-top: 24px;
  padding: 16px 0 0;
  background: transparent;
  border-radius: 0;
  border: none;
  box-shadow: none;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.radar-takeaway-tag {
  font-size: 0.725rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #0f172a;
  background: #f1f5f9;
  border: 1px solid rgba(0, 0, 0, 0.06);
  padding: 5px 12px;
  border-radius: 6px;
  flex-shrink: 0;
  margin-top: 1px;
}

.radar-takeaway-text {
  font-size: 0.9rem;
  color: #475569;
  line-height: 1.6;
  margin: 0;
  transition: opacity 0.25s ease;
}

@media (max-width: 768px) {
  .radar-canvas-card {
    padding: 10px 0 20px;
    border-radius: 0;
  }
  .radar-card-topbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding-bottom: 14px;
  }
  .radar-tabs-nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 6px;
  }
  .radar-tabs-nav::-webkit-scrollbar {
    display: none;
  }
  .radar-tab-btn {
    flex-shrink: 0;
    white-space: nowrap;
    padding: 8px 16px;
    font-size: 0.8125rem;
  }
  .radar-takeaway {
    flex-direction: column;
    gap: 8px;
    padding-top: 12px;
  }
}


