/* ==========================================================================
   VPS Rated 2026 - Verified Editorial Rankings & Matrix Styling
   Clean, modular, high-contrast, fully responsive.
   ========================================================================== */

/* ===== HERO SECTION ===== */
.vps-hero,
.vps-hero-section {
  color: #fff;
  padding: 18px 0 45px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.vps-hero {
  background:
    radial-gradient(1000px 500px at 20% -10%, rgba(16, 185, 129, 0.28), transparent 60%),
    radial-gradient(800px 400px at 85% 20%, rgba(37, 99, 235, 0.22), transparent 55%),
    linear-gradient(145deg, #090e1a 0%, #0f172a 50%, #0b1329 100%);
}
@media (max-width: 768px) {
  .vps-hero,
  .vps-hero-section {
    padding: 16px 0 32px;
  }
}
.vps-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.04;
  background-image: radial-gradient(#fff 1px, transparent 1px);
  background-size: 28px 28px;
}
.vps-hero .container-xxl {
  position: relative;
  z-index: 2;
}

.vps-badge-verified {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.16);
  border: 1px solid rgba(52, 211, 153, 0.35);
  color: #6ee7b7;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.15);
}
.vps-badge-verified .live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
  animation: pulseDot 2s infinite ease-in-out;
}
@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.vps-hero-title {
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin: 20px 0 16px;
  color: #ffffff;
}
.vps-hero-title .text-gradient-brand {
  background: linear-gradient(135deg, #6ee7b7 0%, #10b981 50%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.vps-hero-lead {
  font-size: 1.15rem;
  line-height: 1.7;
  color: #cbd5e1;
  max-width: 660px;
}

/* Stats Counter Row */
.vps-stat-grid,
.vps-stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 16px;
  margin-top: 36px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.vps-stat-item strong {
  display: block;
  font-size: 1.85rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
  letter-spacing: -0.02em;
}
.vps-stat-item span {
  display: block;
  font-size: 0.8rem;
  color: #94a3b8;
  margin-top: 6px;
  font-weight: 500;
}

/* Reviewer Trust Card */
.reviewer-trust-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.45);
}
.reviewer-trust-card .rt-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}
.reviewer-trust-card .rt-avatar {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, #10b981, #0284c7);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.4rem;
  box-shadow: 0 8px 16px rgba(16, 185, 129, 0.3);
}
.reviewer-trust-card .rt-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
}
.reviewer-trust-card .rt-meta {
  font-size: 0.8rem;
  color: #94a3b8;
}
.rt-point {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.88rem;
  color: #e2e8f0;
}
.rt-point i {
  color: #34d399;
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ===== QUICK JUMP NAVIGATION BAR ===== */
.quick-jump-bar {
  background: var(--card);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
  position: sticky;
  top: 70px;
  z-index: 990;
  box-shadow: 0 4px 20px -8px rgba(0, 0, 0, 0.08);
}
@media (max-width: 991px) {
  .quick-jump-bar {
    top: 64px;
    padding: 10px 0;
  }
}

/* Scroll margin offset for all jump targets to prevent sticky header collision */
#master-table-section,
#spotlight-section,
#editorial-reviews,
#methodology,
#matrix,
#all-providers,
#buying-guide,
#coupons,
#faqs,
#filters,
[id^="section-"] {
  scroll-margin-top: 135px;
}
@media (max-width: 991px) {
  #master-table-section,
  #spotlight-section,
  #editorial-reviews,
  #methodology,
  #matrix,
  #all-providers,
  #buying-guide,
  #coupons,
  #faqs,
  #filters,
  [id^="section-"] {
    scroll-margin-top: 115px;
  }
}
.quick-jump-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  white-space: nowrap;
  padding-bottom: 2px;
  scrollbar-width: none;
}
.quick-jump-nav::-webkit-scrollbar {
  display: none;
}
.quick-jump-nav a {
  font-size: 0.85rem;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 8px;
  color: var(--muted);
  text-decoration: none;
  background: var(--bg);
  border: 1px solid var(--border);
  transition: all 0.15s ease;
}
.quick-jump-nav a:hover,
.quick-jump-nav a.active {
  background: #10b981;
  color: #fff;
  border-color: #10b981;
}

/* ===== FULL-WIDTH HORIZONTAL FILTER BAR ===== */
.finder-bar-fullwidth {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px 26px;
  margin-bottom: 22px;
  box-shadow: 0 8px 30px -10px rgba(15, 23, 42, 0.06);
}
.finder-bar-fullwidth .form-label-custom {
  font-size: 0.73rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--muted);
  margin-bottom: 6px;
  display: block;
}
.finder-bar-fullwidth .form-control,
.finder-bar-fullwidth .form-select {
  border-radius: 10px;
  padding: 9px 12px;
  border: 1.5px solid var(--border);
  font-size: 0.9rem;
  background-color: var(--card);
  color: var(--ink);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.finder-bar-fullwidth .form-control:focus,
.finder-bar-fullwidth .form-select:focus {
  border-color: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

/* ===== FULL-WIDTH TABLE ARCHITECTURE ===== */
.vps-table-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 35px -15px rgba(15, 23, 42, 0.08);
  width: 100%;
}
.table-scroll-hint {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  color: #64748b;
  padding: 8px 14px;
  background: rgba(16, 185, 129, 0.05);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  letter-spacing: 0.02em;
}
[data-theme="dark"] .table-scroll-hint {
  background: rgba(16, 185, 129, 0.08);
  border-bottom-color: rgba(255, 255, 255, 0.06);
  color: #94a3b8;
}

.vps-table-card .table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.vps-table-card table {
  margin: 0;
  width: 100%;
  min-width: 920px;
  border-collapse: separate;
  border-spacing: 0;
}
.vps-table-card thead th {
  background: #0f172a;
  color: #94a3b8;
  font-size: 0.7rem;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 10px 10px;
  border: none;
  white-space: nowrap;
}
.vps-table-card tbody td {
  padding: 9px 10px;
  border-bottom: 1px solid var(--border);
}
.vps-table-card tbody tr {
  transition: background-color 0.15s ease;
}
.vps-table-card tbody tr:hover {
  background-color: rgba(16, 185, 129, 0.035);
}

/* Sticky Actions Column - Active on desktop (>=992px) */
@media (min-width: 992px) {
  .vps-table-card th.col-actions-sticky,
  .vps-table-card td.col-actions-sticky {
    position: sticky;
    right: 0;
    z-index: 5;
  }
  .vps-table-card th.col-actions-sticky {
    background: #0f172a !important;
    box-shadow: -6px 0 14px rgba(0, 0, 0, 0.22);
  }
  .vps-table-card td.col-actions-sticky {
    background: #ffffff;
    box-shadow: -6px 0 14px rgba(15, 23, 42, 0.06);
  }
  tr.row-inmotion td.col-actions-sticky {
    background: #f0f6ff !important;
  }
  tr.row-vpsmart td.col-actions-sticky {
    background: #f0fdf4 !important;
  }
  .vps-table-card tbody tr:hover td.col-actions-sticky {
    background: #f8fafc;
  }

  [data-theme="dark"] .vps-table-card td.col-actions-sticky {
    background: #1e293b;
    box-shadow: -6px 0 14px rgba(0, 0, 0, 0.4);
  }
  [data-theme="dark"] tr.row-inmotion td.col-actions-sticky {
    background: #172554 !important;
  }
  [data-theme="dark"] tr.row-vpsmart td.col-actions-sticky {
    background: #064e3b !important;
  }
  [data-theme="dark"] .vps-table-card tbody tr:hover td.col-actions-sticky {
    background: #334155;
  }
}

/* Mobile & Tablet Table Behavior (<992px) */
@media (max-width: 991px) {
  .vps-table-card th.col-actions-sticky,
  .vps-table-card td.col-actions-sticky {
    position: static !important;
    box-shadow: none !important;
  }
  .vps-table-card table {
    min-width: 860px;
  }
}

/* Row Highlights */
tr.row-blastvps {
  background-color: rgba(245, 158, 11, 0.05) !important;
  border-left: 4px solid #f59e0b;
}
tr.row-inmotion {
  background-color: rgba(37, 99, 235, 0.04) !important;
  border-left: 4px solid #2563eb;
}
tr.row-vpsmart {
  background-color: rgba(16, 185, 129, 0.04) !important;
  border-left: 4px solid #10b981;
}

/* Rank Badges */
.rank-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 7px;
  font-weight: 800;
  font-size: 0.84rem;
}
.rank-badge.rank-1 {
  background: linear-gradient(135deg, #059669, #10b981);
  color: #fff;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35);
}
.rank-badge.rank-2 {
  background: linear-gradient(135deg, #1d4ed8, #2563eb);
  color: #fff;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
}
.rank-badge.rank-3 {
  background: linear-gradient(135deg, #7c3aed, #8b5cf6);
  color: #fff;
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.35);
}
.rank-badge.rank-default {
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #e2e8f0;
}
[data-theme="dark"] .rank-badge.rank-default {
  background: #1e293b;
  color: #cbd5e1;
  border-color: #334155;
}

/* Logo Box - Bulletproof Dimensions across all browsers & devices */
.provider-logo-box {
  width: 38px !important;
  height: 38px !important;
  min-width: 38px !important;
  max-width: 38px !important;
  min-height: 38px !important;
  max-height: 38px !important;
  border-radius: 8px !important;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 3px !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04) !important;
  flex: 0 0 38px !important;
  overflow: hidden !important;
}
.provider-logo-box img {
  max-width: 100% !important;
  max-height: 100% !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  display: block !important;
  margin: 0 auto !important;
}
[data-theme="dark"] .provider-logo-box {
  background: #1e293b !important;
  border-color: #334155 !important;
}

/* Action Buttons */
.btn-visit {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.76rem;
  height: 30px;
  padding: 0 11px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  text-decoration: none;
  border: none;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.25);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  line-height: 1;
}
.btn-visit:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35);
  color: #ffffff !important;
}

.btn-review-outline {
  background: #ffffff;
  color: #0f172a !important;
  font-weight: 600;
  font-size: 0.76rem;
  height: 30px;
  padding: 0 9px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  text-decoration: none;
  border: 1px solid #cbd5e1;
  white-space: nowrap;
  transition: all 0.15s ease;
  line-height: 1;
}
.btn-review-outline:hover {
  background: #f8fafc;
  border-color: #94a3b8;
  color: #0f172a !important;
}

/* Bulletproof Horizontal Star Rating across all viewports */
.stars {
  display: inline-flex !important;
  flex-wrap: nowrap !important;
  white-space: nowrap !important;
  align-items: center !important;
  gap: 2px !important;
  line-height: 1 !important;
  color: #f59e0b !important;
}
.stars i {
  display: inline-block !important;
  flex-shrink: 0 !important;
  font-size: inherit !important;
}
[data-theme="dark"] .btn-review-outline {
  background: #1e293b;
  border-color: #334155;
  color: #f1f5f9 !important;
}
[data-theme="dark"] .btn-review-outline:hover {
  background: #334155;
  border-color: #64748b;
}

.btn-table-compare {
  background: #ffffff;
  color: #64748b;
  font-size: 0.78rem;
  height: 30px;
  width: 30px;
  border-radius: 6px;
  border: 1px solid #cbd5e1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  transition: all 0.15s ease;
  flex-shrink: 0;
  line-height: 1;
}
.btn-table-compare:hover {
  background: #f8fafc;
  color: #0f172a;
  border-color: #94a3b8;
}
.btn-table-compare.active {
  background: #10b981;
  color: #ffffff;
  border-color: #10b981;
}
[data-theme="dark"] .btn-table-compare {
  background: #1e293b;
  border-color: #334155;
  color: #94a3b8;
}
[data-theme="dark"] .btn-table-compare:hover {
  background: #334155;
  color: #ffffff;
  border-color: #64748b;
}
[data-theme="dark"] .btn-table-compare.active {
  background: #10b981;
  color: #ffffff;
  border-color: #10b981;
}

/* ===== EDITORIAL REVIEW CARDS ===== */
.editorial-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  margin-bottom: 28px;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.editorial-card:hover {
  box-shadow: 0 20px 45px -15px rgba(15, 23, 42, 0.1);
}
.editorial-card.spotlight-inmotion {
  border: 2px solid #2563eb;
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.02) 0%, var(--card) 100%);
  box-shadow: 0 15px 40px -10px rgba(37, 99, 235, 0.15);
}
.editorial-card.spotlight-vpsmart {
  border: 2px solid #10b981;
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.02) 0%, var(--card) 100%);
}

.ed-top-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.ed-top-badge.inmotion-badge {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
}
.ed-top-badge.vpsmart-badge {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}
.ed-top-badge.generic-badge {
  background: #f8fafc;
  color: #475569;
  border: 1px solid #e2e8f0;
}
[data-theme="dark"] .ed-top-badge.inmotion-badge {
  background: rgba(37, 99, 235, 0.2);
  color: #93c5fd;
  border-color: rgba(37, 99, 235, 0.4);
}
[data-theme="dark"] .ed-top-badge.vpsmart-badge {
  background: rgba(16, 185, 129, 0.2);
  color: #6ee7b7;
  border-color: rgba(16, 185, 129, 0.4);
}
[data-theme="dark"] .ed-top-badge.generic-badge {
  background: #1e293b;
  color: #cbd5e1;
  border-color: #334155;
}

.spec-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  margin: 20px 0;
}
.spec-box strong {
  display: block;
  font-size: 1.05rem;
  color: var(--ink);
  font-weight: 800;
}
.spec-box span {
  font-size: 0.74rem;
  color: var(--muted);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.4px;
}

.pros-cons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 20px 0;
}
@media (max-width: 768px) {
  .pros-cons-grid {
    grid-template-columns: 1fr;
  }
}
.pro-list,
.con-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.pro-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 0.9rem;
  color: var(--ink);
}
.pro-list li i {
  color: #10b981;
  flex-shrink: 0;
  margin-top: 3px;
}
.con-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 0.9rem;
  color: var(--muted);
}
.con-list li i {
  color: #f59e0b;
  flex-shrink: 0;
  margin-top: 3px;
}

/* ===== FEATURE MATRIX TABLE ===== */
.matrix-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}
.matrix-table th {
  background: #0f172a;
  color: #fff;
  font-size: 0.8rem;
  padding: 14px;
  text-align: left;
}
.matrix-table td {
  padding: 14px;
  border-top: 1px solid var(--border);
  font-size: 0.88rem;
}
.matrix-check {
  color: #10b981;
  font-weight: 700;
}
.matrix-cross {
  color: #94a3b8;
}

/* ===== INMOTION SPOTLIGHT MOCKUP & CARDS ===== */
.browser-mockup-wrapper {
  background: #0f172a;
  border: 1px solid #334155;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.4);
}
.browser-mockup-bar {
  background: #1e293b;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #334155;
}
.browser-mockup-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}
.browser-mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}
.browser-mockup-url {
  color: #94a3b8;
  font-size: 0.78rem;
  margin-left: 10px;
  font-family: monospace;
}
.spotlight-card-dark {
  background: linear-gradient(145deg, #0f172a 0%, #1e293b 100%);
  border: 1px solid #334155;
  border-radius: 20px;
  padding: 28px;
  color: #fff;
  box-shadow: 0 15px 40px -10px rgba(0, 0, 0, 0.3);
}

/* ===== RESPONSIVE UTILITIES ===== */
@media (max-width: 991px) {
  .vps-hero {
    padding: 24px 0 45px;
  }
  .finder-bar-fullwidth {
    padding: 18px 16px;
  }
  .editorial-card {
    padding: 24px 18px;
  }
}

@media (max-width: 768px) {
  .quick-jump-bar {
    top: 60px;
  }
  .vps-stat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .vps-table-card th,
  .vps-table-card td {
    padding: 10px 8px;
  }
  .btn-visit,
  .btn-review-outline {
    padding: 6px 10px;
    font-size: 0.78rem;
  }
}



/* ========================================================================
   REBUILT PROFESSIONAL PROVIDER CARDS (2026 EDITION)
   High-converting architecture with zero element overlapping / collisions
   ======================================================================== */
.pcard {
  background: var(--card, #ffffff);
  border: 1px solid var(--border, #e2e8f0);
  border-radius: 18px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  height: 100%;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease;
  box-shadow: 0 4px 18px -4px rgba(15, 23, 42, 0.05);
  overflow: visible !important;
}

.pcard:hover {
  transform: translateY(-5px);
  border-color: rgba(16, 185, 129, 0.45);
  box-shadow: 0 20px 40px -15px rgba(16, 185, 129, 0.15), 0 10px 25px -10px rgba(15, 23, 42, 0.08);
}

.pcard.is-featured {
  border-color: rgba(16, 185, 129, 0.4);
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.02) 0%, var(--card, #ffffff) 100%);
}

.pcard.is-featured:hover {
  border-color: #10b981;
}

.pcard.is-inmotion-card {
  border: 2px solid #2563eb !important;
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.03) 0%, var(--card, #ffffff) 100%) !important;
  box-shadow: 0 10px 30px -8px rgba(37, 99, 235, 0.2) !important;
}

.pcard.is-inmotion-card:hover {
  border-color: #1d4ed8 !important;
  box-shadow: 0 20px 45px -10px rgba(37, 99, 235, 0.35) !important;
  transform: translateY(-5px);
}

.pcard.is-inmotion-card .btn-card-visit {
  background: linear-gradient(135deg, #1d4ed8, #2563eb) !important;
  box-shadow: 0 3px 12px rgba(37, 99, 235, 0.35) !important;
}

.pcard.is-inmotion-card .btn-card-visit:hover {
  background: linear-gradient(135deg, #1e40af, #1d4ed8) !important;
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.5) !important;
}

[data-theme="dark"] .pcard.is-inmotion-card {
  border: 2px solid rgba(59, 130, 246, 0.6) !important;
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.08) 0%, var(--card) 100%) !important;
  box-shadow: 0 12px 35px -8px rgba(0, 0, 0, 0.5) !important;
}

[data-theme="dark"] .pcard.is-inmotion-card:hover {
  border-color: #60a5fa !important;
  box-shadow: 0 20px 48px -10px rgba(37, 99, 235, 0.45) !important;
}

/* 1. Top Status & Trust Bar (Flex layout, NO overlapping ribbons!) */
.pcard-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] .pcard-top-bar {
  border-bottom-color: rgba(255, 255, 255, 0.07);
}

.pcard-badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  line-height: 1.2;
}

.pcard-badge-inmotion {
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
  color: #ffffff !important;
  border: 1px solid rgba(147, 197, 253, 0.45);
  box-shadow: 0 3px 10px rgba(37, 99, 235, 0.35);
  font-weight: 800;
  letter-spacing: 0.5px;
}

[data-theme="dark"] .pcard-badge-inmotion {
  background: linear-gradient(135deg, #1e40af 0%, #2563eb 100%);
  color: #ffffff !important;
  border-color: rgba(147, 197, 253, 0.4);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.45);
}

.pcard-badge-vpsmart {
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  color: #ffffff !important;
  border: 1px solid rgba(110, 231, 183, 0.45);
  box-shadow: 0 3px 10px rgba(16, 185, 129, 0.35);
  font-weight: 800;
  letter-spacing: 0.5px;
}

[data-theme="dark"] .pcard-badge-vpsmart {
  background: linear-gradient(135deg, #047857 0%, #10b981 100%);
  color: #ffffff !important;
  border-color: rgba(110, 231, 183, 0.4);
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.45);
}

.pcard-badge-editor {
  background: rgba(245, 158, 11, 0.12);
  color: #d97706;
  border: 1px solid rgba(245, 158, 11, 0.25);
}

[data-theme="dark"] .pcard-badge-editor {
  background: rgba(245, 158, 11, 0.2);
  color: #fbbf24;
  border-color: rgba(245, 158, 11, 0.35);
}

.pcard-badge-verified {
  background: rgba(37, 99, 235, 0.1);
  color: #2563eb;
  border: 1px solid rgba(37, 99, 235, 0.25);
}

[data-theme="dark"] .pcard-badge-verified {
  background: rgba(59, 130, 246, 0.2);
  color: #60a5fa;
  border-color: rgba(59, 130, 246, 0.35);
}

.pcard-badge-recommended {
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

[data-theme="dark"] .pcard-badge-recommended {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  border-color: rgba(16, 185, 129, 0.35);
}

.pcard-badge-sponsored {
  background: rgba(124, 58, 237, 0.1);
  color: #7c3aed;
  border: 1px solid rgba(124, 58, 237, 0.25);
}

[data-theme="dark"] .pcard-badge-sponsored {
  background: rgba(139, 92, 246, 0.2);
  color: #a78bfa;
}

.pcard-badge-standard {
  background: rgba(100, 116, 139, 0.1);
  color: #475569;
  border: 1px solid rgba(100, 116, 139, 0.2);
}

[data-theme="dark"] .pcard-badge-standard {
  background: rgba(148, 163, 184, 0.15);
  color: #cbd5e1;
}

.pcard-top-tags {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pcard-hq-tag {
  font-size: 0.72rem;
  color: var(--muted, #64748b);
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-weight: 500;
}

.pcard-verified-tag {
  font-size: 0.72rem;
  color: #059669;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

[data-theme="dark"] .pcard-verified-tag {
  color: #34d399;
}

/* 2. Brand Head: Logo + Title + Category */
.pcard-head {
  display: flex !important;
  gap: 14px !important;
  align-items: center !important;
  margin-bottom: 14px !important;
  padding-right: 0 !important; /* Remove old hardcoded 100px padding! */
}

.pcard-logo-box {
  width: 54px !important;
  height: 54px !important;
  border-radius: 12px !important;
  background: #ffffff !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  padding: 6px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 54px !important;
  box-shadow: 0 3px 8px -2px rgba(15, 23, 42, 0.06) !important;
  transition: transform 0.2s ease !important;
}

.pcard:hover .pcard-logo-box {
  transform: scale(1.05);
}

.pcard-logo-box img {
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  display: block !important;
}

[data-theme="dark"] .pcard-logo-box {
  background: #1e293b !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}

.pcard-head-meta {
  min-width: 0 !important;
  flex: 1 !important;
}

.pcard-title {
  font-size: 1.12rem !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
  margin: 0 !important;
}

.pcard-title a {
  color: var(--ink, #0f172a) !important;
  text-decoration: none !important;
  transition: color 0.15s ease !important;
}

.pcard-title a:hover {
  color: #10b981 !important;
}

.pcard-meta-row {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  flex-wrap: wrap !important;
  margin-top: 3px !important;
}

/* 3. Rating & Review Strip */
.pcard-rating-strip {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 8px 12px !important;
  background: rgba(0, 0, 0, 0.02) !important;
  border: 1px solid rgba(0, 0, 0, 0.04) !important;
  border-radius: 10px !important;
  margin-bottom: 12px !important;
}

[data-theme="dark"] .pcard-rating-strip {
  background: rgba(255, 255, 255, 0.03) !important;
  border-color: rgba(255, 255, 255, 0.06) !important;
}

.pcard-stars {
  font-size: 0.8rem !important;
  letter-spacing: -0.5px !important;
}

.pcard-review-count {
  font-size: 0.76rem !important;
  color: var(--muted, #64748b) !important;
  text-decoration: none !important;
  font-weight: 500 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 2px !important;
  transition: color 0.15s ease !important;
}

.pcard-review-count:hover {
  color: #10b981 !important;
  text-decoration: underline !important;
}

/* 4. Description Excerpt */
.pcard-desc {
  font-size: 0.86rem !important;
  color: var(--ink-soft, #334155) !important;
  line-height: 1.55 !important;
  margin-bottom: 14px !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  min-height: 40px !important;
}

/* 5. Key Spec Chips (2x2 Grid) */
.pcard-spec-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 8px !important;
  margin-bottom: 16px !important;
}

.pcard-spec-item {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-size: 0.78rem !important;
  font-weight: 600 !important;
  color: var(--ink-soft, #334155) !important;
  background: var(--bg, #f8fafc) !important;
  padding: 6px 10px !important;
  border-radius: 8px !important;
  border: 1px solid var(--border, #e2e8f0) !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.pcard-spec-item i {
  font-size: 0.82rem !important;
  flex-shrink: 0 !important;
}

[data-theme="dark"] .pcard-spec-item {
  background: rgba(255, 255, 255, 0.02) !important;
}

/* 6. Dedicated High-Contrast Pricing Block */
.pcard-pricing-block {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 12px 14px !important;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.06), rgba(5, 150, 105, 0.02)) !important;
  border: 1px solid rgba(16, 185, 129, 0.22) !important;
  border-radius: 12px !important;
  margin-bottom: 16px !important;
  margin-top: auto !important;
}

[data-theme="dark"] .pcard-pricing-block {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(5, 150, 105, 0.04)) !important;
  border-color: rgba(16, 185, 129, 0.3) !important;
}

.pcard-pricing-label {
  font-size: 0.72rem !important;
  text-transform: uppercase !important;
  font-weight: 700 !important;
  letter-spacing: 0.5px !important;
  color: var(--muted, #64748b) !important;
  display: block !important;
  margin-bottom: 2px !important;
}

.pcard-deal-badge {
  font-size: 0.68rem !important;
  font-weight: 700 !important;
  padding: 2px 7px !important;
  border-radius: 6px !important;
}

.pcard-price-value {
  font-size: 1.35rem !important;
  font-weight: 800 !important;
  color: var(--ink, #0f172a) !important;
  line-height: 1 !important;
}

.pcard-price-value .currency {
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  vertical-align: super !important;
  margin-right: 1px !important;
}

.pcard-price-period {
  font-size: 0.74rem !important;
  color: var(--muted, #64748b) !important;
}

/* 7. Action Button Row: Dual Verified CTAs + Compare */
.pcard-actions {
  display: flex !important;
  gap: 8px !important;
  align-items: center !important;
  width: 100% !important;
}

.btn-card-visit {
  flex: 1.25 !important;
  height: 42px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 0.88rem !important;
  border-radius: 10px !important;
  text-decoration: none !important;
  border: none !important;
  box-shadow: 0 4px 12px -2px rgba(16, 185, 129, 0.35) !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  white-space: nowrap !important;
}

.btn-card-visit:hover {
  background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
  color: #ffffff !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 8px 20px -2px rgba(16, 185, 129, 0.45) !important;
}

.btn-card-review {
  flex: 1 !important;
  height: 42px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  background: transparent !important;
  color: var(--ink, #0f172a) !important;
  font-weight: 600 !important;
  font-size: 0.84rem !important;
  border: 1.5px solid var(--border, #e2e8f0) !important;
  border-radius: 10px !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
  white-space: nowrap !important;
}

.btn-card-review:hover {
  border-color: var(--ink, #0f172a) !important;
  background: var(--bg, #f8fafc) !important;
  color: var(--ink, #0f172a) !important;
  transform: translateY(-1px) !important;
}

[data-theme="dark"] .btn-card-review:hover {
  border-color: #cbd5e1 !important;
  background: rgba(255, 255, 255, 0.05) !important;
}

.btn-card-compare {
  width: 42px !important;
  height: 42px !important;
  flex: 0 0 42px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: transparent !important;
  color: var(--muted, #64748b) !important;
  border: 1.5px solid var(--border, #e2e8f0) !important;
  border-radius: 10px !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  font-size: 1rem !important;
}

.btn-card-compare:hover {
  color: #10b981 !important;
  border-color: #10b981 !important;
  background: rgba(16, 185, 129, 0.08) !important;
  transform: translateY(-1px) !important;
}

.btn-card-compare.active {
  background: #10b981 !important;
  color: #ffffff !important;
  border-color: #10b981 !important;
}

/* Card Mobile Responsiveness */
@media (max-width: 576px) {
  .pcard {
    padding: 18px 16px !important;
  }
  .pcard-spec-grid {
    grid-template-columns: 1fr !important;
  }
  .pcard-actions {
    flex-wrap: wrap !important;
  }
  .btn-card-visit {
    flex: 1 1 100% !important;
    order: 1 !important;
  }
  .btn-card-review {
    flex: 1 !important;
    order: 2 !important;
  }
  .btn-card-compare {
    order: 3 !important;
  }
}
