/* ═══════════════════════════════════════════════════════════
   PREMIUM PRODUCTS PAGE - OPTIMIZED FOR ALL SCREEN SIZES
   ═══════════════════════════════════════════════════════════ */

/* ─── HERO SECTION - PREMIUM DESIGN ─────────────────────── */
.pricing-hero {
  position: relative;
  padding-block: clamp(48px, 8vw, 80px);
  overflow: hidden;
}

.pricing-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120%;
  height: 100%;
  background: radial-gradient(ellipse at top, rgba(94, 163, 255, 0.15), transparent 60%),
              radial-gradient(ellipse at bottom, rgba(68, 215, 182, 0.1), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.pricing-hero-shell {
  position: relative;
  z-index: 1;
}

.pricing-hero-card h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.2;
  margin: 0 0 clamp(16px, 3vw, 24px) 0;
  background: linear-gradient(135deg, #ffffff 0%, #b8d4ff 50%, #5ea3ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 80px rgba(94, 163, 255, 0.3);
}

.pricing-hero-card .muted {
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  line-height: 1.7;
  color: rgba(158, 176, 209, 1);
  margin-bottom: clamp(32px, 5vw, 48px);
  max-width: 720px;
  margin-inline: auto;
}

.products-page,
.products-page .pricing-hero,
.products-page .pricing-hero-shell,
.products-page .pricing-hero-card {
  box-sizing: border-box;
  max-width: 100%;
  min-width: 0;
}

.products-page {
  overflow-x: clip;
}

.products-page .pricing-hero {
  width: 100%;
  padding-inline: 0;
  overflow: hidden;
}

.products-page .pricing-hero::before {
  inset-inline: 0;
  left: 0;
  width: 100%;
  max-width: 100%;
  transform: none;
}

.products-page .pricing-hero-shell {
  width: min(var(--container), calc(100% - 32px));
  margin-inline: auto;
  overflow: visible;
}

.products-page .pricing-hero-card {
  width: 100%;
  margin-inline: auto;
  overflow: hidden;
}

.products-page .pricing-hero-card::before {
  inset: auto auto -60px 0;
}

.products-page .pricing-hero-card::after {
  inset: -48px 0 auto auto;
}

/* ─── PRICING TOOLBAR - FIXED & RESPONSIVE ────────────────────────── */
.pricing-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: clamp(24px, 4vw, 36px);
  width: 100%;
  position: relative;
  z-index: 1;
}

.products-page .pricing-toolbar {
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
}

/* Segment control with glassmorphism */
.segment-control {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  padding: 8px;
  border-radius: 16px;
  background: linear-gradient(
    135deg,
    rgba(19, 31, 56, 0.95) 0%,
    rgba(25, 40, 70, 0.9) 100%
  );
  backdrop-filter: blur(12px);
  border: 1.5px solid rgba(94, 163, 255, 0.2);
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  max-width: 100%;
  position: relative;
  z-index: 2;
}

.products-page .segment-control {
  box-sizing: border-box;
  max-width: 100%;
  min-width: 0;
  overflow-x: clip;
  flex-wrap: wrap;
  justify-content: center;
}

.segment-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: transparent;
  color: rgba(158, 176, 209, 0.85);
  font-size: 0.92rem;
  font-weight: 700;
  transition: all 0.25s ease;
  cursor: pointer;
  white-space: nowrap;
  min-height: 44px;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  flex: 0 1 auto;
}

.segment-chip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(94, 163, 255, 0.08);
  opacity: 0;
  transition: opacity 0.2s ease;
  border-radius: 12px;
}

.segment-chip:hover {
  background: rgba(94, 163, 255, 0.1);
  color: #ffffff;
  border-color: rgba(94, 163, 255, 0.3);
  transform: translateY(-2px);
}

.segment-chip.active {
  color: #ffffff;
  background: linear-gradient(
    135deg,
    rgba(47, 125, 240, 0.6) 0%,
    rgba(94, 163, 255, 0.5) 100%
  );
  border-color: rgba(94, 163, 255, 0.8);
  box-shadow: 
    0 4px 16px rgba(47, 125, 240, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

/* Billing switch - premium design */
.billing-switch {
  display: flex;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
}

.billing-switch::before {
  content: '';
  position: absolute;
  inset: 6px;
  border-radius: 999px;
  background: linear-gradient(135deg, #5ea3ff, #2f7df0);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.billing-switch-option {
  border: 0;
  min-width: clamp(100px, 13vw, 120px);
  padding: clamp(11px, 1.8vw, 14px) clamp(20px, 3vw, 26px);
  border-radius: 999px;
  background: transparent;
  color: rgba(158, 176, 209, 0.9);
  cursor: pointer;
  font-size: clamp(0.9rem, 1.6vw, 0.98rem);
  font-weight: 700;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  white-space: nowrap;
  position: relative;
  z-index: 1;
}

.billing-switch-option:hover {
  color: #ffffff;
}

.billing-switch-option.active {
  background: linear-gradient(135deg, #5ea3ff, #2f7df0);
  color: #ffffff;
  box-shadow: 0 12px 32px rgba(47, 125, 240, 0.45);
  transform: scale(1.05);
}

/* ─── PRICING GRID - OPTIMIZED FOR LARGE SCREENS ─────────────────────── */
.products-page .pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 2.5vw, 32px);
  align-items: stretch;
  margin-top: clamp(48px, 7vw, 72px);
  width: 100%;
  max-width: min(1400px, 100%);
  margin-inline: auto;
  padding-inline: 0;
  justify-items: stretch;
  overflow: visible;
}

/* For 4+ items, use 3 columns on large screens */
@media (min-width: 1400px) {
  .products-page .pricing-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
  }
}

/* ─── PRICING CARDS - IMPROVED DESIGN ────────────────────── */
.products-page .pricing-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 2.2vw, 20px);
  padding: clamp(22px, 2.8vw, 28px);
  border-radius: clamp(20px, 2.8vw, 28px);
  min-height: 100%;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    rgba(19, 31, 56, 0.96);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  width: 100%;
  min-width: 0;
  max-width: 100%;
  transform: none;
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.products-page .pricing-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(94, 163, 255, 0.15), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: -1;
}

.products-page .pricing-card:hover {
  transform: none;
  border-color: rgba(94, 163, 255, 0.4);
  box-shadow: 
    0 28px 70px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(94, 163, 255, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.products-page .pricing-card:hover::before {
  opacity: 1;
}

.products-page .pricing-card.featured {
  transform: none;
  border-color: rgba(94, 163, 255, 0.5);
  background:
    linear-gradient(180deg, rgba(94, 163, 255, 0.12), rgba(94, 163, 255, 0.04)),
    rgba(19, 31, 56, 0.98);
  box-shadow: 
    0 24px 72px rgba(47, 125, 240, 0.4),
    0 0 0 1px rgba(94, 163, 255, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.products-page .pricing-card.featured:hover {
  transform: none;
  box-shadow: 
    0 36px 90px rgba(47, 125, 240, 0.5),
    0 0 0 1px rgba(94, 163, 255, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.products-page .pricing-card[data-aos],
.products-page .pricing-card[data-aos].visible {
  opacity: 1;
  transform: none;
}

/* Card header */
.pricing-card-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pricing-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.pricing-card-head h2 {
  font-size: clamp(1.35rem, 2.2vw, 1.65rem);
  font-weight: 900;
  line-height: 1.25;
  margin: 6px 0 4px;
  color: #ffffff;
}

.pricing-card-head p {
  font-size: clamp(0.9rem, 1.5vw, 0.98rem);
  line-height: 1.6;
  color: rgba(158, 176, 209, 0.95);
  margin: 0;
  min-height: 48px;
}

.pricing-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

.pricing-meta-row span {
  font-size: 0.85rem;
  color: rgba(158, 176, 209, 0.8);
  padding: 5px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

/* Price stack */
.price-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: clamp(16px, 2.2vw, 20px);
  border-radius: 16px;
  background: 
    linear-gradient(135deg, rgba(94, 163, 255, 0.08), rgba(47, 125, 240, 0.05)),
    rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(94, 163, 255, 0.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.card-billing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 4px;
}

.price-prefix {
  font-size: 0.85rem;
  color: rgba(158, 176, 209, 0.8);
  text-align: center;
  margin-bottom: 2px;
}

.price-display {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
}

.price-amount {
  font-size: clamp(1.85rem, 3.2vw, 2.3rem);
  font-weight: 900;
  line-height: 1;
  color: #ffffff;
  text-shadow: 0 2px 12px rgba(94, 163, 255, 0.4);
}

.price-currency {
  font-size: clamp(0.95rem, 1.6vw, 1.1rem);
  color: rgba(158, 176, 209, 0.9);
  font-weight: 600;
}

.price-cycle {
  font-size: clamp(0.92rem, 1.5vw, 1.05rem);
  color: rgba(158, 176, 209, 0.85);
  font-weight: 600;
}

.price-note {
  font-size: 0.82rem;
  color: rgba(158, 176, 209, 0.75);
  text-align: center;
  line-height: 1.5;
  margin-top: 2px;
}

/* Resource grid */
.resource-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.resource-item {
  padding: 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s ease;
}

.resource-item:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(94, 163, 255, 0.3);
  transform: translateY(-2px);
}

.resource-item > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.resource-item strong {
  font-size: 0.82rem;
  color: rgba(158, 176, 209, 0.9);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.resource-item span {
  font-size: 1rem;
  color: #ffffff;
  font-weight: 700;
}

/* Benefit strip */
.benefit-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.benefit-chip {
  font-size: 0.82rem;
  padding: 6px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(158, 176, 209, 0.7);
  transition: all 0.3s ease;
}

.benefit-chip.active {
  background: rgba(68, 215, 182, 0.15);
  border-color: rgba(68, 215, 182, 0.4);
  color: #44d7b6;
}

/* Card CTA */
.card-cta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
}

.card-cta .btn {
  width: 100%;
  padding: 13px 20px;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.card-cta .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(94, 163, 255, 0.4);
}

.card-purchase-form {
  width: 100%;
}

/* ─── MOBILE COMPARE SHEET ──────────────────────────────── */
.mobile-compare-toggle {
  display: none;
}

.mobile-compare-overlay,
.mobile-compare-sheet {
  display: none;
}

/* ─── COMPARISON NOTE ───────────────────────────────────── */
.comparison-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(24px, 3.5vw, 32px);
  margin-top: clamp(48px, 6vw, 64px);
  border-radius: 24px;
  background: 
    linear-gradient(135deg, rgba(94, 163, 255, 0.08), rgba(47, 125, 240, 0.05)),
    rgba(19, 31, 56, 0.9);
  border: 1.5px solid rgba(94, 163, 255, 0.2);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

.comparison-note strong {
  display: block;
  font-size: clamp(1.1rem, 2.2vw, 1.3rem);
  margin-bottom: 8px;
  color: #ffffff;
}

.comparison-note .muted {
  font-size: clamp(0.92rem, 1.7vw, 1.02rem);
  line-height: 1.6;
  max-width: 600px;
}

/* ─── RESPONSIVE DESIGN - LARGE DESKTOP ─────────────────── */
@media (min-width: 1600px) {
  .products-page .pricing-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 36px;
    max-width: min(1500px, 100%);
  }
}

/* ─── RESPONSIVE DESIGN - DESKTOP ───────────────────────── */
@media (min-width: 1200px) and (max-width: 1599px) {
  .products-page .pricing-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
  }
}

/* ─── RESPONSIVE DESIGN - TABLET LANDSCAPE ──────────────── */
@media (min-width: 981px) and (max-width: 1199px) {
  .products-page .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }
}

/* ─── RESPONSIVE DESIGN - TABLET ────────────────────────── */
@media (max-width: 980px) {
  .pricing-hero h1 {
    font-size: clamp(1.8rem, 5vw, 2.2rem);
  }

  .products-page .pricing-hero-shell {
    width: min(var(--container), calc(100% - 24px));
  }

  .pricing-toolbar {
    flex-wrap: wrap;
    gap: 16px;
  }

  .segment-control {
    width: 100%;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(94, 163, 255, 0.3) rgba(255, 255, 255, 0.05);
    padding: 8px;
    justify-content: flex-start;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap;
  }

  .products-page .segment-control {
    overflow-x: auto;
    flex-wrap: nowrap;
    justify-content: flex-start;
  }

  .segment-control::-webkit-scrollbar {
    height: 6px;
  }

  .segment-control::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
  }

  .segment-control::-webkit-scrollbar-thumb {
    background: rgba(94, 163, 255, 0.3);
    border-radius: 3px;
  }

  .segment-chip {
    flex-shrink: 0;
    font-size: 0.88rem;
    padding: 11px 18px;
    min-height: 42px;
  }

  .billing-switch {
    width: auto;
    min-width: 280px;
    justify-content: center;
  }

  .products-page .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .products-page .pricing-card {
    padding: 20px;
  }

  .products-page .pricing-card.featured {
    transform: none;
  }

  .products-page .pricing-card:hover,
  .products-page .pricing-card.featured:hover {
    transform: none;
  }

  .resource-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ─── RESPONSIVE DESIGN - MOBILE ────────────────────────── */
@media (max-width: 768px) {
  .pricing-hero {
    padding-block: 40px;
  }

  .pricing-hero h1 {
    font-size: 1.7rem;
  }

  .pricing-toolbar {
    gap: 16px;
  }

  .billing-switch {
    width: 100%;
    min-width: 0;
  }

  .products-page .pricing-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .products-page .pricing-card {
    padding: 20px;
    border-radius: 24px;
  }

  .pricing-card-head h2 {
    font-size: 1.4rem;
  }

  .pricing-card-head p {
    min-height: auto;
  }

  .price-amount {
    font-size: 1.9rem;
  }

  .resource-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .comparison-note {
    flex-direction: column;
    text-align: center;
  }
}

/* ─── RESPONSIVE DESIGN - SMALL MOBILE ──────────────────── */
@media (max-width: 480px) {
  .pricing-hero h1 {
    font-size: 1.5rem;
  }

  .pricing-toolbar {
    gap: 14px;
    flex-direction: column;
  }

  .segment-chip {
    min-height: 40px;
    font-size: 0.85rem;
    padding: 10px 14px;
  }

  .pricing-hero {
    padding-block: 32px;
  }

  .products-page .pricing-card {
    padding: 18px;
    border-radius: 22px;
  }

  .pricing-card-head h2 {
    font-size: 1.35rem;
  }

  .price-amount {
    font-size: 1.75rem;
  }

  .resource-item {
    padding: 12px;
  }

  .resource-grid {
    grid-template-columns: 1fr;
  }

  .card-cta .btn {
    padding: 13px 20px;
    font-size: 0.95rem;
  }
}

/* ─── ACCESSIBILITY ──────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ═══════════════════════════════════════════════════════════
   PRODUCTS & DETAIL PAGE EXTRA POLISH — spacing, radius, icons,
   categories, cards, responsive (layered after main products css)
   ═══════════════════════════════════════════════════════════ */

/* Reinforce/fix tight spacing in product cards & resources (was 10px/12px in places) */
.products-page .resource-grid {
  gap: 14px;
}

.products-page .resource-item {
  padding: 15px 17px;
  border-radius: 15px;
}

.products-page .resource-item > div {
  gap: 7px;
}

.products-page .resource-item strong {
  font-size: 0.8rem;
  opacity: 0.92;
}

.products-page .resource-item span {
  font-size: 1.03rem;
  line-height: 1.35;
}

/* Product detail spec icons + stats (styling + space) */
.product-hero .detail-stat {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 15px 17px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.product-hero .spec-icon {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(94, 163, 255, 0.13), rgba(68, 215, 182, 0.07));
  color: var(--primary);
  border: 1px solid rgba(94, 163, 255, 0.2);
}

.product-hero .spec-icon svg {
  width: 23px;
  height: 23px;
}

.product-hero .detail-stat strong {
  display: block;
  font-size: 1.08rem;
  margin-bottom: 1px;
}

.product-hero .detail-stat span {
  font-size: 0.84rem;
  color: var(--muted);
}

/* Hero value strip & pills in detail */
.product-hero .hero-value-strip {
  gap: 16px;
}

.product-hero .hero-value-card {
  padding: 15px 17px;
  border-radius: 15px;
}

.product-hero .feature-pill-list {
  gap: 8px;
}

.product-hero .feature-pill {
  padding: 7px 13px;
  border-radius: 999px;
}

/* Pricing hero & categories toolbar development */
.pricing-hero-card h1 {
  line-height: 1.15;
}

.pricing-toolbar {
  margin-top: clamp(20px, 3.5vw, 32px);
}

.segment-control {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

/* Make pricing cards even more premium with stronger radius & inner space */
.products-page .pricing-card {
  border-radius: var(--radius-xl, 26px);
  padding: clamp(24px, 3vw, 30px);
  gap: clamp(17px, 2.3vw, 22px);
}

.products-page .pricing-card-head {
  gap: 10px;
}

.products-page .pricing-card-head h2 {
  font-size: 1.35rem;
  line-height: 1.25;
}

.products-page .pricing-meta-row {
  gap: 8px;
  margin-top: 4px;
}

.products-page .pricing-meta-row span {
  padding: 2px 8px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 8px;
  font-size: 0.78rem;
}

/* Improve billing toggle & price area spacing */
.products-page .card-billing-toggle {
  gap: 6px;
  padding: 3px;
  border-radius: 999px;
}

.products-page .price-display {
  margin: 6px 0 2px;
}

.products-page .price-note {
  margin-top: 2px;
}

/* Card actions & forms */
.products-page .card-cta {
  margin-top: 6px;
  gap: 10px;
}

.products-page .card-cta .btn,
.products-page .card-purchase-form .btn {
  border-radius: 13px;
  padding-block: 11px;
}

/* Related plans grid on detail */
.pricing-grid + .section .pricing-grid {
  margin-top: 12px;
}

/* Mobile compare sheet polish */
.mobile-compare-card {
  padding: 16px;
  border-radius: 16px;
  gap: 10px;
}

.mobile-compare-specs li {
  gap: 8px;
}

/* Responsive boosts for products (fix cramped on small screens) */
@media (max-width: 720px) {
  .products-page .pricing-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 36px;
  }

  .products-page .resource-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .product-hero-grid {
    gap: 22px;
  }

  .product-spec-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .hero-value-strip {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .segment-control {
    padding: 6px;
    gap: 6px;
  }

  .segment-chip {
    padding: 8px 12px;
    font-size: 0.85rem;
  }
}

@media (min-width: 721px) and (max-width: 1024px) {
  .products-page .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
}

/* Subtle color lift for product pages */
.products-page .pricing-hero-card .muted {
  color: #b4c4df;
}

.products-page .pricing-card:hover {
  border-color: rgba(94, 163, 255, 0.45);
}
