/* =====================================================
   Business Services Page — Premium Styles v2.0
   Color palette: Internet & Phone (#054162 #0899e6 #38bdf8 #7dd3fc)
   Prefix: bs-
   ===================================================== */

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

.bs-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(5, 35, 70, 0.88) 0%, rgba(2, 20, 40, 0.78) 50%, rgba(5, 65, 98, 0.72) 100%);
}

/* Hero floating orbs */
.bs-hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 1;
}

.bs-hero-orb.orb-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(8, 153, 230, 0.25) 0%, transparent 70%);
  top: -120px;
  left: -100px;
  animation: bsOrb1 9s ease-in-out infinite;
}

.bs-hero-orb.orb-2 {
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.2) 0%, transparent 70%);
  bottom: -80px;
  right: -60px;
  animation: bsOrb2 12s ease-in-out infinite;
}

@keyframes bsOrb1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(25px, 18px) scale(1.06); }
}

@keyframes bsOrb2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(-20px, -12px) scale(1.04); }
}

/* ── Intro Section ──────────────────────────────────── */
.bs-intro-section {
  padding: 6rem 0;
  background: #ffffff;
  position: relative;
  overflow: hidden;
}

.bs-intro-section::before {
  content: '';
  position: absolute;
  top: -150px;
  right: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(8, 153, 230, 0.04) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.bs-intro-img {
  border-radius: 20px;
  box-shadow: 0 24px 48px rgba(5, 65, 98, 0.1);
  transition: transform 0.4s ease;
}

.bs-intro-img:hover {
  transform: scale(1.02);
}

/* ── Highlight Banner ───────────────────────────────── */
.bs-highlight-banner {
  border-radius: 20px;
  background: linear-gradient(135deg, #054162 0%, #0f172a 100%);
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(5, 65, 98, 0.2);
}

.bs-highlight-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at top right, rgba(56, 189, 248, 0.12), transparent 55%);
  pointer-events: none;
}

.bs-highlight-banner::after {
  content: '';
  position: absolute;
  bottom: -30%;
  right: -20%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(8, 153, 230, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

/* ── Comparison Section ─────────────────────────────── */
.bs-comparison-section {
  padding: 6rem 0;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.bs-pricing-table-wrap {
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
  border: 1px solid #e2e8f0;
  overflow: hidden;
}

.bs-table {
  margin: 0;
}

.bs-table thead th {
  background: linear-gradient(135deg, #f8fafc, #f1f5f9);
  font-weight: 800;
  color: #0f172a;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.8px;
  border-bottom: 2px solid #e2e8f0;
  white-space: nowrap;
}

.bs-table thead th:last-child {
  color: #0284c7;
}

.bs-table tbody tr {
  transition: background-color 0.2s ease;
}

.bs-table tbody tr:hover {
  background-color: rgba(14, 165, 233, 0.03);
}

.bs-table td {
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
}

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

/* Business-tier column highlight */
.bs-table tbody td:last-child {
  background: rgba(14, 165, 233, 0.03);
  position: relative;
}

/* Honest note box */
.bs-honest-note {
  background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
  border-left: 4px solid #0ea5e9;
  border-radius: 0 12px 12px 0;
  padding: 1.25rem 1.5rem;
  margin-top: 1.5rem;
}

.bs-honest-note p {
  margin: 0;
  color: #0c4a6e;
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Responsive table: card layout on mobile */
@media (max-width: 767px) {
  .bs-pricing-table-wrap {
    border: none;
    box-shadow: none;
    background: transparent;
  }

  .bs-table,
  .bs-table thead,
  .bs-table tbody,
  .bs-table tr,
  .bs-table th,
  .bs-table td {
    display: block;
  }

  .bs-table thead {
    display: none;
  }

  .bs-table tbody tr {
    background: #fff;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    padding: 1.25rem;
    margin-bottom: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  }

  .bs-table tbody tr:hover {
    background: #fff;
  }

  .bs-table td {
    padding: 0.5rem 0 !important;
    border-bottom: none;
    text-align: left;
  }

  .bs-table td:first-child {
    font-size: 1rem;
    padding-bottom: 0.75rem !important;
    border-bottom: 1px solid #f1f5f9;
    margin-bottom: 0.5rem;
  }

  .bs-table td:nth-child(2)::before {
    content: 'Residential: ';
    font-weight: 600;
    color: #94a3b8;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }

  .bs-table td:nth-child(3)::before {
    content: 'Business: ';
    font-weight: 600;
    color: #0284c7;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }

  .bs-table td:nth-child(3) {
    background: rgba(14, 165, 233, 0.05);
    border-radius: 8px;
    padding: 0.75rem !important;
    margin-top: 0.25rem;
  }
}

/* ── Phone System Cards ─────────────────────────────── */
.bs-phone-section {
  padding: 6rem 0;
  background: #ffffff;
}

.bs-feature-card {
  position: relative;
  border-radius: 20px;
  background: #fff;
  border: 1px solid #e2e8f0;
  transition: all 0.35s cubic-bezier(.165, .84, .44, 1);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.bs-feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(5, 65, 98, 0.1);
  border-color: rgba(8, 153, 230, 0.2);
}

/* Primary card — recommended */
.bs-feature-card.primary {
  border-color: rgba(8, 153, 230, 0.2);
  box-shadow: 0 8px 30px rgba(8, 153, 230, 0.06);
}

.bs-feature-card.primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #054162, #0899e6, #38bdf8);
}

.bs-feature-card.primary:hover {
  box-shadow: 0 24px 56px rgba(8, 153, 230, 0.12);
}

/* Secondary cards */
.bs-feature-card.secondary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #94a3b8, #cbd5e1);
}

/* Feature card divider */
.bs-card-divider {
  border-right: 1px solid #f1f5f9;
}

@media (max-width: 991px) {
  .bs-card-divider {
    border-right: none;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
  }
}

.bs-feature-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(8, 153, 230, 0.1), rgba(56, 189, 248, 0.08));
  color: #0899e6;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1.25rem;
  transition: transform 0.3s ease;
}

.bs-feature-card:hover .bs-feature-icon {
  transform: scale(1.08) rotate(-3deg);
}

.bs-badge-soft-primary {
  background: linear-gradient(135deg, rgba(8, 153, 230, 0.12), rgba(56, 189, 248, 0.08));
  color: #0284c7;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  display: inline-block;
  border: 1px solid rgba(8, 153, 230, 0.12);
}

.bs-badge-soft-secondary {
  background: rgba(100, 116, 139, 0.08);
  color: #475569;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  display: inline-block;
  border: 1px solid rgba(100, 116, 139, 0.08);
}

/* Best-for highlight box inside cards */
.bs-bestfor-box {
  padding: 1rem 1.25rem;
  border-radius: 12px;
  margin-top: auto;
}

.bs-bestfor-box.primary {
  background: rgba(8, 153, 230, 0.04);
  border: 1px solid rgba(8, 153, 230, 0.1);
}

.bs-bestfor-box.secondary {
  background: rgba(100, 116, 139, 0.04);
  border: 1px solid rgba(100, 116, 139, 0.08);
}

/* ── Support Section ────────────────────────────────── */
.bs-support-section {
  padding: 6rem 0;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
}

.bs-support-item {
  background: #fff;
  border-radius: 18px;
  padding: 1.75rem;
  border: 1px solid #e2e8f0;
  transition: all 0.3s cubic-bezier(.165, .84, .44, 1);
  height: 100%;
}

.bs-support-item:hover {
  border-color: rgba(8, 153, 230, 0.25);
  box-shadow: 0 12px 30px rgba(8, 153, 230, 0.06);
  transform: translateY(-4px);
}

.bs-support-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: linear-gradient(135deg, #054162, #0899e6);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
  box-shadow: 0 6px 18px rgba(5, 65, 98, 0.25);
}

/* ── CTA Banner (Image Background) ─────────────────── */
.bs-cta-banner {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(5, 65, 98, 0.15);
}

.bs-cta-banner-overlay {
  background: linear-gradient(135deg, rgba(5, 35, 70, 0.92) 0%, rgba(8, 153, 230, 0.82) 100%);
}

.bs-cta-glass {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* ── Pricing Section ────────────────────────────────── */
.bs-pricing-section {
  padding: 6rem 0;
  background: #ffffff;
}

/* Pricing table responsive: service name column */
@media (max-width: 767px) {
  .bs-pricing-section .bs-table td:nth-child(2)::before {
    content: 'Cost: ';
    font-weight: 600;
    color: #0284c7;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }

  .bs-pricing-section .bs-table td:nth-child(3)::before {
    content: 'Notes: ';
    font-weight: 600;
    color: #64748b;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }

  .bs-pricing-section .bs-table td:nth-child(3) {
    background: transparent;
    padding: 0.5rem 0 !important;
    margin-top: 0;
  }
}

/* Additional fees box */
.bs-fees-box {
  padding: 1.5rem;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  margin-top: 1.5rem;
}

/* ── Compliance Section ─────────────────────────────── */
.bs-compliance-section {
  padding: 6rem 0;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
}

.bs-compliance-card {
  padding: 1.75rem;
  border-radius: 18px;
  background: #fff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  transition: all 0.3s cubic-bezier(.165, .84, .44, 1);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.bs-compliance-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 ease;
}

.bs-compliance-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(8, 153, 230, 0.06);
  border-color: rgba(8, 153, 230, 0.2);
}

.bs-compliance-card:hover::before {
  opacity: 1;
}

/* ── Why HSC Section ────────────────────────────────── */
.bs-why-hsc {
  background: linear-gradient(135deg, #054162 0%, #0f172a 100%);
  position: relative;
  overflow: hidden;
  padding: 6rem 0;
}

.bs-why-hsc::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.bs-why-hsc::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(8, 153, 230, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.bs-why-card {
  text-align: center;
  padding: 2.25rem 1.75rem;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.3s cubic-bezier(.165, .84, .44, 1);
  height: 100%;
}

.bs-why-card:hover {
  background: rgba(255, 255, 255, 0.07);
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
}

.bs-why-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 1.5rem;
  color: #38bdf8;
  transition: transform 0.3s ease;
}

.bs-why-card:hover .bs-why-icon {
  transform: scale(1.1) rotate(-5deg);
}

/* ── FAQ Section ────────────────────────────────────── */
.bs-faq-section {
  padding: 6rem 0;
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
}

.bs-faq-section .accordion-item {
  border: 1px solid #e2e8f0 !important;
  border-radius: 14px !important;
  overflow: hidden;
  margin-bottom: 0.75rem;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.bs-faq-section .accordion-item:hover {
  border-color: rgba(8, 153, 230, 0.2) !important;
  box-shadow: 0 4px 16px rgba(8, 153, 230, 0.04);
}

.bs-faq-section .accordion-button {
  background: #fff !important;
  padding: 1.25rem 1.5rem;
  font-weight: 700;
  font-size: 1rem;
  color: #0f172a;
  border: none;
}

.bs-faq-section .accordion-button:not(.collapsed) {
  color: #054162;
  box-shadow: none;
}

.bs-faq-section .accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230899e6'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  transition: transform 0.25s ease;
}

.bs-faq-section .accordion-button:focus {
  box-shadow: none;
}

.bs-faq-section .accordion-body {
  padding: 0 1.5rem 1.5rem;
  color: #475569;
  line-height: 1.75;
  font-size: 0.95rem;
}

/* ── Final CTA ──────────────────────────────────────── */
.bs-final-cta {
  position: relative;
  padding: 6rem 0;
  background: linear-gradient(135deg, #054162 0%, #0f172a 100%);
  overflow: hidden;
}

.bs-final-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at top right, rgba(56, 189, 248, 0.12), transparent 50%);
  pointer-events: none;
}

.bs-final-cta-btn {
  background: linear-gradient(135deg, #0ea5e9, #0284c7) !important;
  border: none !important;
  border-radius: 12px;
  font-weight: 700;
  box-shadow: 0 10px 30px rgba(2, 132, 199, 0.4);
  transition: all 0.25s ease;
}

.bs-final-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(2, 132, 199, 0.6);
}

.bs-final-cta-outline {
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  border-radius: 12px;
  color: #fff !important;
  font-weight: 700;
  backdrop-filter: blur(6px);
  transition: all 0.25s ease;
}

.bs-final-cta-outline:hover {
  border-color: rgba(56, 189, 248, 0.5) !important;
  color: #38bdf8 !important;
  background: rgba(255, 255, 255, 0.05) !important;
}

/* ── Section Headings ───────────────────────────────── */
.bs-section-hl {
  background: linear-gradient(90deg, #054162, #0899e6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bs-sec-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(8, 153, 230, 0.08);
  border: 1px solid rgba(8, 153, 230, 0.12);
  color: #0899e6;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 1rem;
}

/* ── Responsive ─────────────────────────────────────── */
@media (max-width: 991px) {
  .bs-intro-section,
  .bs-comparison-section,
  .bs-phone-section,
  .bs-support-section,
  .bs-pricing-section,
  .bs-compliance-section,
  .bs-faq-section {
    padding: 4.5rem 0;
  }

  .bs-why-hsc,
  .bs-final-cta {
    padding: 4.5rem 0;
  }
}

@media (max-width: 767px) {
  .bs-intro-section,
  .bs-comparison-section,
  .bs-phone-section,
  .bs-support-section,
  .bs-pricing-section,
  .bs-compliance-section,
  .bs-faq-section {
    padding: 3.5rem 0;
  }

  .bs-why-hsc,
  .bs-final-cta {
    padding: 3.5rem 0;
  }

  .bs-highlight-banner {
    border-radius: 16px;
  }

  .bs-cta-banner {
    border-radius: 16px;
  }

  .bs-support-item {
    padding: 1.5rem;
  }

  .bs-compliance-card {
    padding: 1.5rem;
  }

  .bs-why-card {
    padding: 1.75rem 1.25rem;
  }
}

@media (max-width: 575px) {
  .bs-feature-card {
    border-radius: 16px;
  }

  .bs-faq-section .accordion-button {
    font-size: 0.92rem;
    padding: 1rem 1.25rem;
  }
}
