/* =========================================================
   CANARY CLOUD — COMPARISON TABLE
   ========================================================= */

.lx-compare {
  position: relative;
  padding: clamp(80px, 9vw, 150px) 24px;
  color: var(--lx-text, #fff);
  background:
    radial-gradient(
      circle at 50% 15%,
      rgba(123, 60, 255, 0.15),
      transparent 38%
    ),
    #03040d;
}

.lx-compare__inner {
  width: min(1400px, 100%);
  margin-inline: auto;
}


/* ---------------------------------------------------------
   Header
   --------------------------------------------------------- */

.lx-compare__header {
  width: min(900px, 100%);
  margin: 0 auto clamp(44px, 5vw, 72px);
  text-align: center;
}

.lx-compare__eyebrow {
  margin: 0 0 14px;
  color: #b17aff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.lx-compare__title {
  margin: 0;
  color: #fff;
  font-size: clamp(2.4rem, 5vw, 5rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.lx-compare__title span {
  display: block;
  background: linear-gradient(
    110deg,
    #ffffff,
    #c7b4ff 35%,
    #965cff 68%,
    #617dff
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lx-compare__intro {
  width: min(720px, 100%);
  margin: 24px auto 0;
  color: #aeb5d2;
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  line-height: 1.7;
}


/* ---------------------------------------------------------
   Table shell
   --------------------------------------------------------- */

.lx-compare__scroll {
  position: relative;
  overflow-x: auto;
  border: 1px solid rgba(188, 178, 255, 0.13);
  border-radius: 26px;
  background: rgba(8, 10, 27, 0.78);
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.42),
    0 0 80px rgba(123, 60, 255, 0.07);

  scrollbar-width: thin;
  scrollbar-color: #6735ff #090b1b;
}

.lx-compare-table {
  width: 100%;
  min-width: 960px;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
}

.lx-compare-table th,
.lx-compare-table td {
  padding: 20px 24px;
  border-bottom: 1px solid rgba(188, 178, 255, 0.09);
  vertical-align: middle;
}

.lx-compare-table th:first-child,
.lx-compare-table td:first-child {
  width: 28%;
}

.lx-compare-table thead th {
  position: relative;
  padding-top: 28px;
  padding-bottom: 28px;
  color: #fff;
  background: rgba(12, 15, 38, 0.94);
  text-align: left;
}

.lx-compare-table thead th:not(:first-child) {
  text-align: center;
}

.lx-feature-heading {
  color: #939bbd !important;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}


/* ---------------------------------------------------------
   Canary highlighted column
   --------------------------------------------------------- */

.lx-canary-heading {
  border-inline: 1px solid rgba(177, 122, 255, 0.26);
  background:
    radial-gradient(
      circle at 50% 0%,
      rgba(156, 92, 255, 0.26),
      transparent 70%
    ),
    rgba(25, 20, 57, 0.96) !important;

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 45px rgba(123, 60, 255, 0.08);
}

.lx-canary-heading::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    #965cff,
    #c7b4ff,
    #965cff,
    transparent
  );
}

.lx-canary-heading__brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-size: 1.08rem;
  font-weight: 800;
}

.lx-canary-bird {
  color: #ffd36a;
  font-size: 1rem;
  filter: drop-shadow(0 0 8px rgba(255, 211, 106, 0.5));
}

.lx-canary-heading__tag {
  display: block;
  margin-top: 6px;
  color: #b9a4ff;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.lx-canary-cell {
  border-inline:
    1px solid rgba(157, 101, 255, 0.13);

  background:
    linear-gradient(
      90deg,
      rgba(123, 60, 255, 0.055),
      rgba(150, 92, 255, 0.10),
      rgba(123, 60, 255, 0.055)
    );

  text-align: center;
}

.lx-canary-cell strong {
  color: #fff;
}

.lx-canary-strong {
  background:
    linear-gradient(
      90deg,
      rgba(123, 60, 255, 0.09),
      rgba(150, 92, 255, 0.17),
      rgba(123, 60, 255, 0.09)
    );
}


/* ---------------------------------------------------------
   Provider headings
   --------------------------------------------------------- */

.lx-provider-name {
  display: block;
  color: #fff;
  font-weight: 750;
}

.lx-provider-plan {
  display: block;
  margin-top: 5px;
  color: #939bbd;
  font-size: 0.76rem;
  font-weight: 500;
}


/* ---------------------------------------------------------
   Body rows
   --------------------------------------------------------- */

.lx-compare-table tbody th {
  color: #d9ddf4;
  font-size: 0.94rem;
  font-weight: 600;
  text-align: left;
}

.lx-compare-table tbody td {
  color: #aeb5d2;
  font-size: 0.92rem;
  line-height: 1.4;
  text-align: center;
}

.lx-compare-table tbody tr:not(.lx-section-row) {
  transition:
    background 180ms ease,
    color 180ms ease;
}

.lx-compare-table tbody tr:not(.lx-section-row):hover {
  background: rgba(255, 255, 255, 0.025);
}

.lx-compare-table tbody tr:last-child th,
.lx-compare-table tbody tr:last-child td {
  border-bottom: 0;
}


/* ---------------------------------------------------------
   Section separators
   --------------------------------------------------------- */

.lx-section-row th {
  padding: 15px 24px;
  color: #9c7cff !important;
  background:
    linear-gradient(
      90deg,
      rgba(103, 53, 255, 0.12),
      rgba(103, 53, 255, 0.035)
    );

  font-size: 0.7rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}


/* ---------------------------------------------------------
   Values
   --------------------------------------------------------- */

.lx-big-value {
  display: block;
  color: #fff;
  font-size: 1.25rem;
  font-weight: 800;
}

.lx-cell-note {
  display: block;
  margin-top: 3px;
  color: #858dac;
  font-size: 0.72rem;
}

.lx-row-highlight .lx-canary-cell {
  background:
    radial-gradient(
      circle at center,
      rgba(156, 92, 255, 0.20),
      rgba(123, 60, 255, 0.07)
    );
}


/* ---------------------------------------------------------
   Status symbols
   --------------------------------------------------------- */

.lx-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 6px;
  font-weight: 900;
}

.lx-status--available {
  color: #62e5b0;
}

.lx-status--beta {
  color: #76ddff;
}

.lx-status--development {
  color: #c7b4ff;
}

.lx-status--planned {
  color: #939bbd;
}

.lx-status--different {
  color: #ffd36a;
}

.lx-not-included {
  color: #666d8d;
}


/* ---------------------------------------------------------
   Legend
   --------------------------------------------------------- */

.lx-compare-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 24px;
  margin-top: 28px;
  color: #939bbd;
  font-size: 0.78rem;
}

.lx-compare-legend span {
  display: inline-flex;
  align-items: center;
}

.lx-compare-legend .lx-status {
  margin-right: 6px;
}


/* ---------------------------------------------------------
   Statement
   --------------------------------------------------------- */

.lx-compare__statement {
  margin: 34px auto 0;
  color: #b5bcd7;
  font-size: 0.94rem;
  line-height: 1.6;
  text-align: center;
}

.lx-compare__statement strong {
  color: #fff;
}


/* ---------------------------------------------------------
   Footnote
   --------------------------------------------------------- */

.lx-compare__footnote {
  width: min(1100px, 100%);
  margin: 26px auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(188, 178, 255, 0.09);
  color: #717996;
  font-size: 0.68rem;
  line-height: 1.65;
  text-align: center;
}

.lx-compare__footnote p {
  margin: 5px 0;
}

.lx-compare__footnote strong {
  color: #8f97b8;
}


/* ---------------------------------------------------------
   Responsive
   --------------------------------------------------------- */

@media (max-width: 900px) {

  .lx-compare {
    padding-inline: 18px;
  }

  .lx-compare__scroll {
    border-radius: 20px;
  }

  .lx-compare-table th,
  .lx-compare-table td {
    padding: 17px 18px;
  }
}


@media (max-width: 600px) {

  .lx-compare {
    padding:
      72px 12px;
  }

  .lx-compare__title {
    font-size: clamp(2rem, 11vw, 3.2rem);
  }

  .lx-compare__intro {
    font-size: 0.94rem;
  }

  .lx-compare__scroll {
    margin-inline: -12px;
    border-inline: 0;
    border-radius: 0;
  }

  .lx-compare-table {
    min-width: 880px;
  }

  .lx-compare-legend {
    justify-content: flex-start;
  }

  .lx-compare__footnote {
    text-align: left;
  }
}
