/* ==========================================================================
   WEB & APP UPGRADE - DESIGN SYSTEM (FEATURE MATRIX & INTERACTION)
   ========================================================================== */

/* Project Filter Tabs - Mobile Touch & Visual Polish */
.box-project__type {
  display: flex !important;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
.box-project__type li a.type {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 8px 20px !important;
  border-radius: 25px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #475569 !important;
  background: #f1f5f9 !important;
  border: 1.5px solid transparent !important;
  transition: all 0.25s ease !important;
  cursor: pointer !important;
  white-space: nowrap !important;
}
.box-project__type li a.type:hover {
  background: #e2e8f0 !important;
  color: #0f172a !important;
}
.box-project__type li a.type.selected {
  background: #0049ff !important;
  color: #ffffff !important;
  border-color: #0049ff !important;
  box-shadow: 0 4px 14px rgba(0, 73, 255, 0.3) !important;
}
@media (max-width: 768px) {
  .box-project__type {
    gap: 8px !important;
    width: 100% !important;
    padding: 2px 0 !important;
    margin: 0 !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .box-project__type::-webkit-scrollbar {
    display: none;
  }
  .box-project__type > li {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    width: auto !important;
    margin: 0 !important;
  }
  .box-project__type li a.type {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    white-space: nowrap !important;
    padding: 8px 6px !important;
    font-size: 13px !important;
    min-height: 38px !important;
    border-radius: 20px !important;
  }
}

/* Feature Comparison Table */
.webapp-comparison {
  margin-top: 50px;
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
  overflow: hidden;
}
.webapp-comparison__head {
  padding: 30px 25px 20px 25px;
  text-align: center;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}
.webapp-comparison__head h3 {
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 6px;
}
.webapp-comparison__head p {
  font-size: 14px;
  color: #64748b;
  margin: 0;
}
.webapp-comparison__table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.webapp-comparison__table {
  width: 100%;
  min-width: 700px;
  border-collapse: collapse;
  text-align: left;
}
.webapp-comparison__table th,
.webapp-comparison__table td {
  padding: 14px 20px;
  border-bottom: 1px solid #e2e8f0;
  font-size: 14px;
  vertical-align: middle;
}
.webapp-comparison__table th {
  background: #f8fafc;
  font-weight: 700;
  color: #0f172a;
  font-size: 14.5px;
}
.webapp-comparison__table th:first-child,
.webapp-comparison__table td:first-child {
  width: 40%;
  font-weight: 600;
  color: #1e293b;
}
.webapp-comparison__table th:not(:first-child),
.webapp-comparison__table td:not(:first-child) {
  width: 20%;
  text-align: center;
}
.webapp-comparison__table .col-featured {
  background: rgba(0, 73, 255, 0.035);
  font-weight: 600;
}
.webapp-comparison__table th.col-featured {
  color: #0049ff;
  border-top: 3px solid #0049ff;
}
.webapp-comparison__table td i.fa-circle-check {
  color: #22c55e;
  font-size: 17px;
}
.webapp-comparison__table td i.fa-minus {
  color: #cbd5e1;
  font-size: 14px;
}
.webapp-comparison__table .group-title td {
  background: #f1f5f9;
  font-weight: 700;
  color: #334155;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 10px 20px;
}
.webapp-comparison__footer {
  padding: 20px;
  text-align: center;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
}
.webapp-comparison__footer .btn-compare-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: 8px;
  background: #0049ff;
  color: #fff !important;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none !important;
  box-shadow: 0 4px 14px rgba(0, 73, 255, 0.3);
  transition: all 0.25s ease;
}
.webapp-comparison__footer .btn-compare-cta:hover {
  background: #0037cc;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .webapp-comparison {
    margin-top: 35px;
  }
  .webapp-comparison__head h3 {
    font-size: 18px;
  }
  .webapp-comparison__table th,
  .webapp-comparison__table td {
    padding: 10px 14px;
    font-size: 13px;
  }
}

