/* =====================================================
   Wi-Fi 7 Gateway Page — Custom Styles
   Built on top of wireless-plans.css shared styles
   ===================================================== */

/* Hero Background */
.w7-hero-bg {
  position: absolute;
  inset: 0;
  background: url('../../../assets/images/w7-hero-bg.webp') center/cover no-repeat;
  z-index: 0;
}

/* Comparison Table */
.w7-table-wrap {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(5, 65, 98, 0.08);
  border: 1px solid #e2e8f0;
}

.w7-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  font-size: 0.95rem;
}

.w7-table thead {
  background: linear-gradient(135deg, #054162, #0b6faa);
}

.w7-table thead th {
  padding: 1.25rem 1.5rem;
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  text-align: left;
  border: none;
  letter-spacing: 0.3px;
}

.w7-table thead th:first-child {
  width: 28%;
}

.w7-table tbody td {
  padding: 1.1rem 1.5rem;
  border-bottom: 1px solid #f1f5f9;
  color: #334155;
  line-height: 1.6;
  vertical-align: top;
}

.w7-table tbody tr:last-child td {
  border-bottom: none;
}

.w7-table tbody tr:nth-child(even) {
  background: #f8fafc;
}

.w7-table tbody tr:hover {
  background: #f0f9ff;
  transition: background 0.2s ease;
}

.w7-table tbody td:first-child {
  font-weight: 700;
  color: #0f172a;
}

/* Coverage option cards */
.w7-option-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 2.25rem 2rem;
  height: 100%;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(.165, .84, .44, 1);
}

.w7-option-card:hover {
  border-color: rgba(8, 153, 230, 0.25);
  transform: translateY(-5px);
  box-shadow: 0 20px 48px rgba(8, 153, 230, .08);
}

.w7-option-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1.5rem;
  bottom: 1.5rem;
  width: 3px;
  background: linear-gradient(180deg, #054162, #0899e6, #38bdf8);
  border-radius: 0 3px 3px 0;
  opacity: 0.4;
  transition: opacity 0.3s;
}

.w7-option-card:hover::before {
  opacity: 1;
}

.w7-option-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, #054162, #0899e6);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 6px 20px rgba(8, 153, 230, 0.2);
}

.w7-option-card h4 {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.65rem;
}

.w7-option-card p {
  font-size: 0.92rem;
  color: #475569;
  line-height: 1.7;
  margin: 0;
}

/* Check list items */
.w7-check-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 0.75rem 0;
}

.w7-check-icon {
  width: 26px;
  height: 26px;
  min-width: 26px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  margin-top: 2px;
}

.w7-check-icon.yes {
  background: linear-gradient(135deg, #054162, #0899e6);
  color: #fff;
}

.w7-check-icon.wait {
  background: #f1f5f9;
  color: #64748b;
  border: 1px solid #e2e8f0;
}

.w7-check-text {
  font-size: 0.95rem;
  color: #334155;
  line-height: 1.6;
}

/* =====================================================
   Responsive
   ===================================================== */
@media (max-width: 991px) {
  .w7-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .w7-table {
    min-width: 650px;
  }
}

@media (max-width: 767px) {
  .w7-table thead th,
  .w7-table tbody td {
    padding: 0.85rem 1rem;
    font-size: 0.85rem;
  }

  .w7-option-card {
    padding: 1.75rem 1.5rem;
  }
}
