* {
  box-sizing: border-box;
}
.hero-image {
  background-image: url("../pics/site_plans.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  padding-top: 70px;
  width: 100%;
  height: calc(100dvw / 3.612);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Table icons and recommended column styling */
.site-plans .icon-yes {
  color: #28a745;
  font-weight: 700;
  font-size: 1.1rem;
}
.site-plans .icon-no {
  color: #dc3545;
  font-weight: 700;
  font-size: 1.1rem;
}
.site-plans .recommended-col {
  background: rgba(255, 243, 205, 0.65);
}
.site-plans .table .recommended-col {
  vertical-align: middle;
}

/* Stronger highlight for recommended column (Basic) using nth-child(3) */
.site-plans .table th:nth-child(3),
.site-plans .table td:nth-child(3) {
  background: linear-gradient(180deg, #fff7e6, #fff3dc);
  border-left: 3px solid #ffd27f;
  border-right: 3px solid #ffd27f;
  box-shadow: inset 0 0 0 1px rgba(255,210,120,0.12);
}

/* Row hover highlight */
.site-plans .table tbody tr:hover {
  background-color: rgba(255, 247, 230, 0.6);
}

/* Make recommended header CTA align nicely */
.site-plans .table thead th .btn {
  margin-top: 0.35rem;
}

/* Micro-copy under recommended badge */
.site-plans .recommended-note {
  font-size: 0.9rem;
  color: #6c757d;
  max-width: 12rem;
  margin-left: auto;
  margin-right: auto;
}

/* Recommended card visual emphasis */
.site-plans .recommended-card {
    margin-right: 0.8rem;
    border: 2px solid rgba(255,122,0,0.3);
    box-shadow: 0 0 0 1px rgba(255,122,0,0.3),
        0 25px 60px rgba(255,122,0,0.25);
    position: relative;
    z-index: 2;
    background: linear-gradient(
    180deg,
    rgba(255, 122, 0, 0.04),
    #ffffff
    );
}

.site-plans .recommended-badge {
  background: #ffd43b;
  color: #222;
  font-weight: 800;
}

/* Popular badge style used for Standard plan */
.site-plans .popular-badge {
  background: #0d6efd; /* Bootstrap info/primary feel */
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.4px;
  box-shadow: 0 0 0 4px rgba(0,140,255,0.15);
}

/* Prominent site-themed CTAs for site-plans page */
.site-plans .btn {
  font-weight: 700;
  border-radius: 0.5rem;
  padding: 0.7rem 1.1rem;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
  transition: transform 120ms ease, box-shadow 120ms ease, background-color 120ms ease;
}

/* Use site orange for CTAs to match theme */
.site-plans .btn.btn-primary,
.site-plans .btn.btn-outline-secondary {
  background-color: #f7941d;
  border-color: #f7941d;
  color: #fff !important;
}
.site-plans .btn.btn-primary:hover,
.site-plans .btn.btn-outline-secondary:hover {
  background-color: #e67300;
  border-color: #e67300;
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0,0,0,0.12);
}

.site-plans .btn:focus {
  outline: none;
  box-shadow: 0 0 0 4px rgba(247,148,29,0.12);
}

@media (max-width: 575.98px) {
  .site-plans .btn {
    padding: 0.85rem 1.25rem;
  }
}

/* Highlight for popular column (Standard) using nth-child(4) */
.site-plans .table th:nth-child(4),
.site-plans .table td:nth-child(4) {
  background: linear-gradient(180deg, #e9f6ff, #e6f9ff);
  border-left: 3px solid #8fc9ff;
  border-right: 3px solid #8fc9ff;
  box-shadow: inset 0 0 0 1px rgba(143,201,255,0.08);
}

/* Popular card visual emphasis (similar to recommended but distinct color) */
.site-plans .popular-card {
  transform: scale(1.04);
  border: 2px solid #ff7a00;
  box-shadow: 0 25px 60px rgba(0, 120, 255, 0.25);
  position: relative;
  z-index: 2;
  background: linear-gradient(
    180deg,
    rgba(0, 140, 255, 0.04),
    #ffffff);
}

.site-plans .recommended-card-free {
  /* subtle green border to indicate free tier */
  border: 1px solid #d4f5d6;
}

.premium {
  border-top: 4px solid #6b21a8;
  margin-left: 0.8rem;
}

.card p.strong {
  color: #333333;
  font-weight: 900;
}


/* Lock icon for domain/SSL indicators */
.site-plans .feature-lock {
  color: #6c757d;
  font-size: 0.95rem;
  vertical-align: baseline;
}

/* Ensure cards with h-100 behave consistently: use flex column and let body grow */
.site-plans .card.h-100 {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: 14px;
  padding: 28px 26px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.site-plans .card.h-100:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}
.site-plans .card.h-100 .card-body {
  flex: 1 1 auto;
}

/* Normalize card title spacing */
.site-plans .card .card-title {
  margin-bottom: 0.5rem;
}

/* Table icons and recommended column styling */
.icon-yes {
  color: #28a745;
  font-weight: 700;
  font-size: 1.1rem;
}
.icon-no {
  color: #dc3545;
  font-weight: 700;
  font-size: 1.1rem;
}
.recommended-col {
  background: rgba(255, 243, 205, 0.65);
}
.table .recommended-col {
  vertical-align: middle;
}

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-weight: 500;
    line-height: 1.2;
    font-size: xx-large;
}

th {
    font-size: xx-large;
}

td {
    font-size: xx-large;
}

.card-body {
    div, li {
        font-size: xx-large;
    }
    p {
        padding-bottom: 1rem;
    }
    div {
        padding-bottom: 1rem;
    }
}

.btn {
    font-size: x-large;
}

/* Ensure table is responsive without forcing page overflow */
.table-responsive {
    overflow-x: auto;
    width: 100%;
}

table {
  width: max-content; /* key */
  border-collapse: collapse;
}

th, td {
  white-space: nowrap; /* prevents wrapping */
  padding: 12px;
  border: 1px solid #ddd;
}

.mt-6 {
    margin-top: 5rem;
}

@media (max-width: 1761px) {
  .site-plans .table th,
  .site-plans .table td {
    font-size: medium;
    padding: 2px;
  }
}

@media (max-width: 883px) {
  .site-plans .table th,
  .site-plans .table td {
    font-size: x-small;
    padding: 2px;
  }
}

@media (max-width: 693px) {
  .site-plans .table th,
  .site-plans .table td {
    font-size: 0.5rem;
    padding: 2px;
  }
  .card-body {
    div, li {
        font-size: medium;
    }
  }
}

@media (max-width: 472px) {
  section.plans {
    display: none;
  }
}

@media (max-width: 1240px) {
  .force-stack {
    flex: 0 0 100%;
    max-width: 100%;
  }
}
