/* ==========================================================================
   PRICING — package toggle, device tabs, cards, comparison table
   ========================================================================== */

/* --------------------------------------------------------------------------
   Section shell
   -------------------------------------------------------------------------- */
#pricing {
  padding-top: 3rem;
  padding-bottom: 3rem;
  background: #fff;
}
@media (min-width: 768px) {
  #pricing { padding-top: 6rem; padding-bottom: 6rem; }
}

/* --------------------------------------------------------------------------
   Section header
   -------------------------------------------------------------------------- */
.pricing-header {
  text-align: center;
  margin-bottom: 2rem;
}
@media (min-width: 768px) { .pricing-header { margin-bottom: 4rem; } }

.pricing-header h2 {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--color-gray-900);
  margin-bottom: 1rem;
}
@media (min-width: 768px)  { .pricing-header h2 { font-size: 2.25rem; } }
@media (min-width: 1024px) { .pricing-header h2 { font-size: 3rem; } }

.pricing-header p {
  font-size: 1.125rem;
  color: var(--color-gray-600);
  max-width: 48rem;
  margin: 0 auto;
}
@media (min-width: 768px) { .pricing-header p { font-size: 1.25rem; } }

/* --------------------------------------------------------------------------
   Package toggle (Standard / Premium switch)
   -------------------------------------------------------------------------- */
.pkg-toggle-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
}
@media (min-width: 768px) { .pkg-toggle-wrap { margin-bottom: 2rem; } }

.pkg-toggle-inner {
  position: relative;
  background: var(--color-gray-100);
  padding: 0.25rem;
  border-radius: 1rem;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
}

.package-toggle {
  position: relative;
  z-index: 10;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 0.75rem;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  cursor: pointer;
}
@media (min-width: 768px) { .package-toggle { padding: 1rem 1.5rem; } }

.package-toggle .pkg-icon {
  width: 20px;
  height: 20px;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  flex-shrink: 0;
}
.package-toggle .pkg-icon svg {
  width: 12px;
  height: 12px;
}

/* --------------------------------------------------------------------------
   Package info block
   -------------------------------------------------------------------------- */
.pkg-info {
  text-align: center;
  margin-bottom: 1.5rem;
}
@media (min-width: 768px) { .pkg-info { margin-bottom: 2rem; } }

#package-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-gray-900);
  margin-bottom: 0.5rem;
}
@media (min-width: 768px) { #package-title { font-size: 1.5rem; } }

#package-description {
  color: var(--color-gray-600);
}

/* --------------------------------------------------------------------------
   Device tabs — desktop
   -------------------------------------------------------------------------- */
.device-tabs-desktop {
  display: none;
  justify-content: center;
  margin-bottom: 1.5rem;
}
@media (min-width: 768px) {
  .device-tabs-desktop { display: flex; margin-bottom: 2rem; }
}

.device-tabs-desktop-inner {
  background: #fff;
  border-radius: 1rem;
  padding: 0.25rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-gray-200);
  display: flex;
}

.device-tab {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 0.75rem;
  transition: all 0.3s;
  cursor: pointer;
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   Device tabs — mobile
   -------------------------------------------------------------------------- */
.device-tabs-mobile {
  display: block;
  margin-bottom: 1.5rem;
  padding: 0 1rem;
}
@media (min-width: 768px) { .device-tabs-mobile { display: none; } }

.device-tabs-mobile h3 {
  text-align: center;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-gray-900);
  margin-bottom: 1rem;
}

.mobile-device-grid {
  display: flex;
  justify-content: center;
}

.mobile-device-grid-inner {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.5rem;
  width: 100%;
  max-width: 28rem;
}

.mobile-device-tab {
  padding: 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 0.5rem;
  transition: all 0.3s;
  cursor: pointer;
  text-align: center;
}

/* --------------------------------------------------------------------------
   Compare link
   -------------------------------------------------------------------------- */
.compare-link-wrap {
  text-align: center;
  margin-bottom: 1.5rem;
}
@media (min-width: 768px) { .compare-link-wrap { margin-bottom: 2rem; } }

#compare-link {
  font-weight: 500;
  font-size: 0.875rem;
  text-decoration: underline;
  color: #3b82f6;
  transition: color 0.2s;
  cursor: pointer;
}
#compare-link:hover { color: #2563eb; }

/* --------------------------------------------------------------------------
   Pricing grid (desktop: 6 cols, mobile: 2 cols)
   -------------------------------------------------------------------------- */
.pricing-grid-wrap {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 0.5rem;
}
@media (min-width: 768px) { .pricing-grid-wrap { padding: 0; } }

#pricing-grid {
  display: none;
  grid-template-columns: repeat(1, 1fr);
  gap: 1rem;
}
@media (min-width: 768px) {
  #pricing-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
}
@media (min-width: 1024px) {
  #pricing-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1280px) {
  #pricing-grid { grid-template-columns: repeat(6, 1fr); }
}

#mobile-pricing-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1rem;
}
@media (min-width: 640px) {
  #mobile-pricing-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 768px) { #mobile-pricing-grid { display: none; } }

/* --------------------------------------------------------------------------
   Individual pricing card
   -------------------------------------------------------------------------- */
.pricing-card {
  position: relative;
  background: #fff;
  border-radius: 1rem;
  box-shadow: var(--shadow-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: box-shadow 0.3s, transform 0.3s;
  border: 1px solid var(--color-gray-200);
}
@media (min-width: 768px) { .pricing-card { padding: 2rem; } }

.pricing-card:hover {
  box-shadow: var(--shadow-xl);
  transform: scale(1.05);
}

.pricing-card .bonus-badge {
  position: absolute;
  top: -0.75rem;
  right: 1rem;
}
.pricing-card .bonus-badge span {
  color: #fff;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  box-shadow: var(--shadow-lg);
  white-space: nowrap;
}

.pricing-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-gray-900);
  margin-bottom: 1rem;
  text-align: center;
  white-space: nowrap;
}
@media (min-width: 768px) { .pricing-card h3 { font-size: 1.25rem; } }

.pricing-card .price-block {
  text-align: center;
  margin-bottom: 1.5rem;
}
.pricing-card .price-amount {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  white-space: nowrap;
}
@media (min-width: 768px) { .pricing-card .price-amount { font-size: 1.875rem; } }

.pricing-card .price-per-month {
  color: var(--color-gray-500);
  font-size: 0.75rem;
  white-space: nowrap;
}
@media (min-width: 768px) { .pricing-card .price-per-month { font-size: 0.875rem; } }

.pricing-card .savings-block {
  text-align: center;
  margin-bottom: 1.5rem;
}
.pricing-card .savings-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  color: #fff;
  white-space: nowrap;
}
.pricing-card .savings-zero {
  color: var(--color-gray-500);
  font-size: 0.875rem;
  white-space: nowrap;
}

.pricing-card .subscribe-btn {
  display: block;
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  font-weight: 600;
  font-size: 0.875rem;
  text-align: center;
  color: #fff;
  transition: box-shadow 0.2s, transform 0.2s;
  box-shadow: var(--shadow-lg);
  text-decoration: none;
  margin-top: auto;
}
@media (min-width: 768px) { .pricing-card .subscribe-btn { padding: 1rem; } }
.pricing-card .subscribe-btn:hover {
  box-shadow: var(--shadow-xl);
  transform: scale(1.05);
}

/* --------------------------------------------------------------------------
   Features comparison table
   -------------------------------------------------------------------------- */
#features-comparison {
  margin-top: 3rem;
  max-width: 72rem;
  margin-left: auto;
  margin-right: auto;
  padding: 0 1rem;
}
@media (min-width: 768px) { #features-comparison { margin-top: 4rem; padding: 0; } }

.comparison-card {
  background: #fff;
  border-radius: 1.5rem;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,.25);
  border: 1px solid var(--color-gray-100);
  overflow: hidden;
}

.comparison-header {
  background: linear-gradient(to right, var(--color-gray-50), var(--color-gray-100));
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--color-gray-200);
  text-align: center;
}
.comparison-header h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-gray-900);
  margin-bottom: 0.5rem;
}
@media (min-width: 768px) { .comparison-header h3 { font-size: 1.875rem; } }
.comparison-header p { color: var(--color-gray-600); }

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  overflow-x: auto;
  display: block;
}
@media (min-width: 640px) { .comparison-table { display: table; } }

.comparison-table thead tr {
  border-bottom: 1px solid var(--color-gray-200);
}
.comparison-table th {
  padding: 0.5rem 0.25rem;
  vertical-align: middle;
}
@media (min-width: 640px) { .comparison-table th { padding: 1.5rem 1rem; } }

.comparison-table th:first-child {
  text-align: left;
  font-weight: 600;
  color: var(--color-gray-900);
  background: var(--color-gray-50);
  font-size: 0.75rem;
  width: 33.33%;
}
@media (min-width: 640px) { .comparison-table th:first-child { font-size: 1rem; padding: 1.5rem 2rem; } }

.comparison-table th.col-standard {
  text-align: center;
  background: #eff6ff;
  border-left: 1px solid #bfdbfe;
  border-right: 1px solid #bfdbfe;
  width: 33.33%;
}
.comparison-table th.col-premium {
  text-align: center;
  background: linear-gradient(to bottom right, #fffbeb, #fff7ed);
  border-left: 1px solid #fde68a;
  width: 33.33%;
}

.comparison-table th .col-head {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.comparison-table th .col-icon {
  width: 16px;
  height: 16px;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.25rem;
  box-shadow: var(--shadow-lg);
}
@media (min-width: 640px) {
  .comparison-table th .col-icon { width: 32px; height: 32px; margin-right: 0.5rem; }
}
.comparison-table th .col-icon svg {
  width: 8px;
  height: 8px;
  color: #fff;
}
@media (min-width: 640px) { .comparison-table th .col-icon svg { width: 16px; height: 16px; } }

.comparison-table th .col-name {
  font-weight: 700;
  color: var(--color-gray-900);
  font-size: 0.75rem;
}
@media (min-width: 640px) { .comparison-table th .col-name { font-size: 0.875rem; } }

.comparison-table th .col-sub {
  font-size: 0.75rem;
  color: var(--color-gray-600);
  text-align: center;
  display: none;
}
@media (min-width: 640px) { .comparison-table th .col-sub { display: block; } }

.comparison-table tbody tr {
  border-bottom: 1px solid var(--color-gray-100);
  transition: background-color 0.2s;
}
.comparison-table tbody tr:hover { background: var(--color-gray-50); }
.comparison-table tbody tr:last-child { border-bottom: none; }

.comparison-table td {
  padding: 0.5rem 0.25rem;
  font-size: 0.75rem;
}
@media (min-width: 640px) {
  .comparison-table td { padding: 1rem 0.5rem; font-size: 1rem; }
}

.comparison-table td:first-child {
  font-weight: 500;
  color: var(--color-gray-900);
}
@media (min-width: 640px) { .comparison-table td:first-child { padding-left: 2rem; } }

.comparison-table td.col-standard {
  text-align: center;
  background: #eff6ff;
  border-left: 1px solid #dbeafe;
  border-right: 1px solid #dbeafe;
}
.comparison-table td.col-premium {
  text-align: center;
  background: linear-gradient(to bottom right, #fffbeb, #fff7ed);
  border-left: 1px solid #fde68a;
}

.comparison-table .badge-standard {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.25rem;
  border-radius: 9999px;
  font-size: 0.6rem;
  font-weight: 500;
  background: #dbeafe;
  color: #1e40af;
}
@media (min-width: 640px) {
  .comparison-table .badge-standard { padding: 0.25rem 0.75rem; font-size: 0.75rem; }
}

.comparison-table .badge-premium {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.25rem;
  border-radius: 9999px;
  font-size: 0.6rem;
  font-weight: 500;
  background: linear-gradient(to right, #fef3c7, #ffedd5);
  color: #9a3412;
}
@media (min-width: 640px) {
  .comparison-table .badge-premium { padding: 0.25rem 0.75rem; font-size: 0.75rem; }
}

.comparison-table .check-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
}
.comparison-table .check-wrap svg {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}
@media (min-width: 640px) { .comparison-table .check-wrap svg { width: 20px; height: 20px; } }
.comparison-table .check-wrap span {
  font-size: 0.6rem;
  color: var(--color-gray-700);
}
@media (min-width: 640px) { .comparison-table .check-wrap span { font-size: 0.75rem; } }

.comparison-footer {
  background: linear-gradient(to right, var(--color-gray-50), var(--color-gray-100));
  padding: 1rem;
  border-top: 1px solid var(--color-gray-200);
}
@media (min-width: 640px) { .comparison-footer { padding: 1.5rem 2rem; } }

.comparison-footer-inner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
@media (min-width: 768px) { .comparison-footer-inner { flex-direction: row; } }

.comparison-footer p {
  font-size: 0.75rem;
  color: var(--color-gray-600);
  text-align: center;
}
@media (min-width: 640px) { .comparison-footer p { font-size: 0.875rem; } }
@media (min-width: 768px) { .comparison-footer p { text-align: left; } }

.comparison-footer-btns {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
}
@media (min-width: 640px) { .comparison-footer-btns { flex-direction: row; width: auto; } }

#choose-standard-btn {
  padding: 0.5rem 1rem;
  background: var(--color-primary-600);
  color: #fff;
  border-radius: var(--radius-lg);
  font-weight: 500;
  font-size: 0.875rem;
  transition: background-color 0.2s, box-shadow 0.2s;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
}
#choose-standard-btn:hover {
  background: var(--color-primary-700);
  box-shadow: var(--shadow-xl);
}

#choose-premium-btn {
  padding: 0.5rem 1rem;
  background: linear-gradient(to right, #f59e0b, #f97316);
  color: #fff;
  border-radius: var(--radius-lg);
  font-weight: 500;
  font-size: 0.875rem;
  transition: all 0.2s;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
}
#choose-premium-btn:hover {
  background: linear-gradient(to right, #d97706, #ea580c);
  box-shadow: var(--shadow-xl);
}
@media (min-width: 640px) {
  #choose-standard-btn, #choose-premium-btn { padding: 0.5rem 1.5rem; }
}

/* --------------------------------------------------------------------------
   Additional info footer text
   -------------------------------------------------------------------------- */
.pricing-footer-note {
  text-align: center;
  margin-top: 2rem;
  color: var(--color-gray-600);
  padding: 0 1rem;
}
@media (min-width: 768px) { .pricing-footer-note { margin-top: 3rem; } }
.pricing-footer-note p { font-size: 0.875rem; }
.pricing-footer-note p + p { margin-top: 0.5rem; }

/* --------------------------------------------------------------------------
   Reseller pricing section
   -------------------------------------------------------------------------- */
#reseller-pricing {
  padding-top: 3rem;
  padding-bottom: 3rem;
  background: #fff;
}
@media (min-width: 768px) { #reseller-pricing { padding-top: 6rem; padding-bottom: 6rem; } }

.rp-toggle-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
}
@media (min-width: 768px) { .rp-toggle-wrap { margin-bottom: 2.5rem; } }

.rp-toggle-inner {
  position: relative;
  background: var(--color-gray-100);
  padding: 0.375rem;
  border-radius: 1rem;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
  border: 1px solid var(--color-gray-200);
  display: flex;
  align-items: center;
}

.rp-toggle {
  position: relative;
  z-index: 10;
  padding: 0.875rem 2rem;
  font-size: 0.875rem;
  font-weight: 700;
  border-radius: 0.75rem;
  transition: all 0.3s;
  cursor: pointer;
}

.rp-pkg-info {
  text-align: center;
  margin-bottom: 1.5rem;
}
@media (min-width: 768px) { .rp-pkg-info { margin-bottom: 2.5rem; } }

.rp-pkg-info-inner {
  max-width: 56rem;
  margin: 0 auto;
  background: var(--color-gray-50);
  padding: 1.5rem;
  border-radius: 1rem;
  border: 1px solid var(--color-gray-100);
}
#rp-package-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-gray-900);
  margin-bottom: 0.5rem;
}
#rp-package-desc { color: var(--color-gray-600); line-height: 1.7; }

#rp-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 80rem;
  margin: 0 auto 4rem;
}
@media (min-width: 768px) {
  #rp-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  #rp-grid { grid-template-columns: repeat(4, 1fr); }
}

/* Reseller card */
.rp-card {
  position: relative;
  background: #fff;
  border-radius: 1.5rem;
  padding: 2rem;
  border: 1px solid var(--color-gray-100);
  box-shadow: var(--shadow-xl);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.3s;
}
.rp-card:hover { transform: scale(1.03); }

.rp-card-badge {
  position: absolute;
  top: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-gray-900);
  color: #fff;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-gray-700);
  white-space: nowrap;
}

.rp-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-gray-900);
  text-align: center;
  margin-bottom: 0.5rem;
}

.rp-card .rp-price {
  font-size: 1.875rem;
  font-weight: 900;
  text-align: center;
  margin-bottom: 1.5rem;
}

.rp-card .rp-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-grow: 1;
}
.rp-card .rp-feature-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-gray-600);
}
.rp-card .rp-feature-row svg {
  width: 20px;
  height: 20px;
  color: #22c55e;
  flex-shrink: 0;
}

.rp-card .rp-desc {
  font-size: 0.75rem;
  color: var(--color-gray-400);
  line-height: 1.6;
}

.rp-card .rp-order-btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: 1rem;
  border-radius: 0.75rem;
  font-weight: 700;
  font-size: 0.875rem;
  background: var(--color-gray-900);
  color: #fff;
  transition: background-color 0.2s;
  box-shadow: var(--shadow-lg);
  text-decoration: none;
}
.rp-card .rp-order-btn:hover { background: #000; }

/* Custom bulk card */
.rp-card-custom {
  position: relative;
  background: #000;
  border-radius: 1.5rem;
  padding: 2rem;
  border: 1px solid #1f2937;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,.5);
  display: flex;
  flex-direction: column;
  height: 100%;
  color: #fff;
  transition: transform 0.3s;
}
.rp-card-custom:hover { transform: scale(1.03); }

.rp-card-custom h3 {
  font-size: 1.25rem;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-primary-400);
  margin-bottom: 0.5rem;
}
.rp-card-custom .custom-qty {
  width: 100%;
  background: #111827;
  border: 1px solid #1f2937;
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  text-align: center;
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
  font-family: inherit;
}
.rp-card-custom .custom-qty:focus {
  outline: none;
  box-shadow: 0 0 0 2px var(--color-primary-500);
}
/* Show spinner buttons */
.rp-card-custom .custom-qty::-webkit-inner-spin-button,
.rp-card-custom .custom-qty::-webkit-outer-spin-button {
  opacity: 1;
}
.rp-card-custom .custom-price {
  font-size: 1.875rem;
  font-weight: 900;
  text-align: center;
  margin-bottom: 1.5rem;
}
.rp-card-custom .custom-hint {
  font-size: 0.625rem;
  color: var(--color-gray-500);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
}
.rp-card-custom .custom-cta {
  display: block;
  width: 100%;
  text-align: center;
  padding: 1rem;
  border-radius: 0.75rem;
  font-weight: 700;
  font-size: 0.875rem;
  background: var(--color-primary-600);
  color: #fff;
  transition: background-color 0.2s;
  box-shadow: var(--shadow-lg);
  text-decoration: none;
}
.rp-card-custom .custom-cta:hover { background: var(--color-primary-500); }

/* Reseller comparison table */
.rp-compare-wrap {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1rem;
}
@media (min-width: 768px) { .rp-compare-wrap { padding: 0; } }

.rp-compare-card {
  background: #fff;
  border-radius: 2.5rem;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,.25);
  border: 1px solid var(--color-gray-100);
  overflow: hidden;
}
.rp-compare-head {
  background: linear-gradient(to bottom right, var(--color-gray-50), #fff);
  padding: 2.5rem 2rem;
  border-bottom: 1px solid var(--color-gray-100);
  text-align: center;
}
.rp-compare-head h3 {
  font-size: 1.875rem;
  font-weight: 800;
  color: var(--color-gray-900);
  margin-bottom: 1rem;
}
@media (min-width: 768px) { .rp-compare-head h3 { font-size: 2.25rem; } }
.rp-compare-head p { font-size: 1.125rem; color: var(--color-gray-600); }

.rp-compare-table {
  width: 100%;
  border-collapse: collapse;
  overflow-x: auto;
  display: block;
}
@media (min-width: 640px) { .rp-compare-table { display: table; } }

.rp-compare-table th {
  padding: 1.5rem 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.75rem;
  color: var(--color-gray-400);
  background: rgba(248,250,252,0.5);
}
.rp-compare-table th:first-child { text-align: left; width: 34%; }
.rp-compare-table th.col-std { text-align: center; background: rgba(239,246,255,0.3); width: 33%; }
.rp-compare-table th.col-pre { text-align: center; background: rgba(255,251,235,0.3); width: 33%; }

.rp-compare-table tbody { border-top: 1px solid var(--color-gray-100); }
.rp-compare-table tbody tr {
  border-bottom: 1px solid var(--color-gray-50);
  transition: background-color 0.2s;
}
.rp-compare-table tbody tr:hover { background: rgba(248,250,252,0.5); }

.rp-compare-table td { padding: 1.25rem 1.5rem; }
.rp-compare-table td:first-child { font-weight: 600; color: var(--color-gray-700); }
.rp-compare-table td.col-std { text-align: center; color: var(--color-gray-600); }
.rp-compare-table td.col-pre {
  text-align: center;
  font-weight: 700;
  color: #c2410c; /* orange-700 */
}

.rp-compare-footer {
  background: var(--color-gray-50);
  padding: 2rem;
  border-top: 1px solid var(--color-gray-100);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}
@media (min-width: 768px) { .rp-compare-footer { flex-direction: row; } }

.rp-compare-footer p {
  font-size: 0.875rem;
  color: var(--color-gray-500);
  font-weight: 500;
}
.rp-compare-footer-btn {
  padding: 0.75rem 2rem;
  background: var(--color-primary-600);
  color: #fff;
  border-radius: 0.75rem;
  font-weight: 700;
  box-shadow: var(--shadow-lg);
  transition: box-shadow 0.2s;
  cursor: pointer;
}
.rp-compare-footer-btn:hover { box-shadow: var(--shadow-xl); }

/* Additional info text */
.rp-footer-note {
  text-align: center;
  margin-top: 3rem;
  color: var(--color-gray-400);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.rp-footer-note p { font-size: 0.875rem; font-weight: 500; }
.rp-footer-note p:last-child { font-size: 0.75rem; }
