/* ============================================================
   COMPETITORS SECTION - WHY SAKUTEKI
   Following Lyria template DNA: massive headings, generous
   whitespace, clean grids, dark backgrounds
   ============================================================ */

.competitors {
  position: relative;
  background: #0A0E27;
  padding: clamp(6rem, 10vh, 12rem) 0;
  overflow: hidden;
}

.competitors__inner {
  display: flex;
  flex-direction: column;
  gap: clamp(3rem, 6vh, 5rem);
}

/* ============================================================
   HEADER
   ============================================================ */

.competitors__header {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.competitors__title {
  font-family: 'Bebas Neue', 'Anton SC', sans-serif;
  font-size: clamp(3rem, 8vw, 7rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin: 1rem 0 2rem;
  text-transform: uppercase;
}

.competitors__subtitle {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  max-width: 700px;
  margin: 0 auto;
}

/* ============================================================
   TABLE WRAPPER
   ============================================================ */

.competitors__table-wrapper {
  width: 100%;
  overflow-x: auto;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: clamp(1rem, 3vw, 2rem);
}

/* Hide scrollbar but keep functionality */
.competitors__table-wrapper::-webkit-scrollbar {
  height: 6px;
}

.competitors__table-wrapper::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 3px;
}

.competitors__table-wrapper::-webkit-scrollbar-thumb {
  background: rgba(77, 101, 255, 0.5);
  border-radius: 3px;
}

.competitors__table-wrapper::-webkit-scrollbar-thumb:hover {
  background: rgba(77, 101, 255, 0.8);
}

/* ============================================================
   TABLE
   ============================================================ */

.competitors__table {
  width: 100%;
  min-width: 700px;
  border-collapse: separate;
  border-spacing: 0;
}

/* ============================================================
   TABLE HEAD
   ============================================================ */

.competitors__th {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(0.875rem, 1.5vw, 1rem);
  font-weight: 600;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 1.5rem 1rem;
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.competitors__th--feature {
  text-align: left;
  width: 35%;
}

.competitors__th--sakuteki {
  background: rgba(77, 101, 255, 0.08);
  color: #4d65ff;
  border-left: 2px solid rgba(77, 101, 255, 0.3);
  border-right: 2px solid rgba(77, 101, 255, 0.3);
}

/* ============================================================
   BRAND CELL (Sakuteki header)
   ============================================================ */

.competitors__brand {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  align-items: center;
}

.competitors__brand-name {
  font-family: 'Bebas Neue', 'Anton SC', sans-serif;
  font-size: 1.5rem;
  letter-spacing: 0.05em;
  color: #4d65ff;
}

.competitors__brand-tag {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(77, 101, 255, 0.7);
  text-transform: none;
  letter-spacing: 0;
}

/* ============================================================
   TABLE BODY
   ============================================================ */

.competitors__td {
  font-family: 'Inter', sans-serif;
  font-size: clamp(0.875rem, 1.5vw, 1rem);
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
  padding: 1.25rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: background 0.2s ease;
}

.competitors__table tbody tr:hover .competitors__td {
  background: rgba(255, 255, 255, 0.02);
}

.competitors__td--feature {
  text-align: left;
  font-weight: 500;
  color: #ffffff;
}

.competitors__td--sakuteki {
  background: rgba(77, 101, 255, 0.05);
  border-left: 2px solid rgba(77, 101, 255, 0.15);
  border-right: 2px solid rgba(77, 101, 255, 0.15);
}

.competitors__table tbody tr:hover .competitors__td--sakuteki {
  background: rgba(77, 101, 255, 0.08);
}

/* ============================================================
   TABLE VALUES
   ============================================================ */

.competitors__value {
  display: inline-block;
  font-weight: 500;
}

.competitors__value--highlight {
  color: #4d65ff;
  font-weight: 600;
}

.competitors__value--muted {
  color: rgba(255, 255, 255, 0.4);
}

/* ============================================================
   CHECKMARKS
   ============================================================ */

.competitors__check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 1.125rem;
  font-weight: 700;
}

.competitors__check--yes {
  background: rgba(77, 101, 255, 0.15);
  color: #4d65ff;
  border: 2px solid rgba(77, 101, 255, 0.3);
}

.competitors__check--no {
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.1);
}

/* ============================================================
   BOTTOM CTA
   ============================================================ */

.competitors__cta {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.competitors__cta-text {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 768px) {
  .competitors {
    padding: clamp(4rem, 8vh, 6rem) 0;
  }

  .competitors__title {
    font-size: clamp(2.5rem, 10vw, 4rem);
  }

  .competitors__subtitle {
    font-size: 1rem;
  }

  .competitors__table-wrapper {
    padding: 1rem;
  }

  .competitors__th,
  .competitors__td {
    padding: 1rem 0.75rem;
    font-size: 0.875rem;
  }

  .competitors__th--feature,
  .competitors__td--feature {
    min-width: 180px;
  }

  .competitors__brand-name {
    font-size: 1.25rem;
  }

  .competitors__brand-tag {
    font-size: 0.675rem;
  }

  .competitors__check {
    width: 24px;
    height: 24px;
    font-size: 1rem;
  }

  .competitors__cta-text {
    font-size: 1.125rem;
  }
}

@media (max-width: 480px) {
  .competitors__title {
    font-size: clamp(2rem, 12vw, 3rem);
  }

  .competitors__table {
    min-width: 600px;
  }

  .competitors__th,
  .competitors__td {
    padding: 0.875rem 0.5rem;
    font-size: 0.8125rem;
  }
}

/* Stronger table header */
.competitors__table-head th {
  background: rgba(77, 101, 255, 0.15);
  border-bottom: 2px solid rgba(77, 101, 255, 0.4);
  letter-spacing: 0.08em;
}

/* Sakuteki column highlight */
.competitors__table-body td:nth-child(2) {
  background: rgba(77, 101, 255, 0.08);
  border-left: 1px solid rgba(77, 101, 255, 0.2);
  border-right: 1px solid rgba(77, 101, 255, 0.2);
  font-weight: 600;
}

/* Accent line at top */
.competitors::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(77, 101, 255, 0.5), transparent);
}
