/* ==========================================================================
   VPSRATED — HOMEPAGE PREMIUM STYLESHEET
   Clean, de-duplicated, high-performance architecture
   ========================================================================== */

/* ---------- Section Common ---------- */
.home-section {
  position: relative;
  padding: 75px 0;
}
.home-section-alt {
  background: var(--bg-alt, #090e17);
  border-top: 1px solid var(--border, rgba(255, 255, 255, 0.08));
  border-bottom: 1px solid var(--border, rgba(255, 255, 255, 0.08));
}
[data-theme="light"] .home-section-alt {
  background: #f8fafc;
  border-color: #e2e8f0;
}

.section-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.3);
  color: #10b981;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
[data-theme="light"] .section-badge-pill {
  background: #ecfdf5;
  border-color: #a7f3d0;
  color: #059669;
}

.section-main-title {
  color: var(--ink, #ffffff);
  letter-spacing: -0.025em;
  font-weight: 850;
  line-height: 1.25;
}

.section-lead-p {
  color: var(--muted, #94a3b8);
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: 780px;
}

/* ---------- Trust Bar ---------- */
.trust-bar {
  background: var(--bg, #0b101b);
  border-bottom: 1px solid var(--border, rgba(255, 255, 255, 0.08));
  padding: 32px 0;
  text-align: center;
  position: relative;
  z-index: 2;
}
[data-theme="light"] .trust-bar {
  background: #f8fafc;
  border-color: #e2e8f0;
}
.trust-bar-title {
  font-size: 0.72rem;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted, #64748b);
  margin-bottom: 20px;
}
.trust-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.trust-logo {
  height: 28px;
  width: auto;
  max-width: 130px;
  object-fit: contain;
  filter: grayscale(1) opacity(0.5);
  transition: all 0.25s ease;
}
.trust-logo:hover {
  filter: grayscale(0) opacity(1);
  transform: translateY(-2px);
}
[data-theme="dark"] .trust-logo {
  filter: grayscale(1) brightness(1.8) opacity(0.4);
}
[data-theme="dark"] .trust-logo:hover {
  filter: none;
  opacity: 1;
}

/* ---------- Category Sections ---------- */
.cat-section {
  padding: 70px 0;
  border-bottom: 1px solid var(--border, rgba(255, 255, 255, 0.08));
}
.cat-section.alt {
  background: var(--bg-alt, #080d16);
}
[data-theme="light"] .cat-section.alt {
  background: #f8fafc;
}
.cat-section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 35px;
  gap: 20px;
  flex-wrap: wrap;
}
.cat-section-head .left {
  flex: 1;
  min-width: 280px;
}
.cat-title-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 8px;
}
.cat-title-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.4rem;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}
.cat-title-text .eyebrow {
  font-size: 0.72rem;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand, #10b981);
}
.cat-title-text h2 {
  font-size: 1.65rem;
  font-weight: 850;
  color: var(--ink, #ffffff);
  margin: 0;
  letter-spacing: -0.02em;
}
.cat-section-head .sub {
  color: var(--muted, #94a3b8);
  font-size: 0.95rem;
  margin: 0;
  max-width: 650px;
  line-height: 1.55;
}
.cat-section-head .actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cat-count-pill {
  font-size: 0.78rem;
  color: var(--muted, #94a3b8);
  background: var(--card, #111827);
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--border, rgba(255, 255, 255, 0.08));
}
.btn-cat-see {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--brand, #10b981);
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 10px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  transition: all 0.2s ease;
}
.btn-cat-see:hover {
  background: var(--brand, #10b981);
  color: #fff;
  transform: translateX(2px);
}

/* ---------- BLOG & EDITORIAL INSIGHTS (TRENDING & LATEST) ---------- */
.home-insights-section {
  background: var(--bg, #060b13);
  position: relative;
  z-index: 2;
  border-bottom: 1px solid var(--border, rgba(255, 255, 255, 0.08));
}
[data-theme="light"] .home-insights-section {
  background: #ffffff;
}

.insights-tab-pills {
  display: inline-flex;
  padding: 5px;
  background: var(--card, #0f172a);
  border: 1px solid var(--border, rgba(255, 255, 255, 0.1));
  border-radius: 14px;
  gap: 6px;
}
[data-theme="light"] .insights-tab-pills {
  background: #f1f5f9;
  border-color: #cbd5e1;
}

.insights-pill {
  background: transparent;
  border: 0;
  color: var(--muted, #94a3b8);
  font-size: 0.82rem;
  font-weight: 750;
  padding: 8px 16px;
  border-radius: 9px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}
.insights-pill:hover {
  color: var(--text, #ffffff);
}
.insights-pill.active {
  background: var(--brand, #10b981);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
}

.home-blog-card {
  background: var(--card, #0d1527);
  border: 1px solid var(--border, rgba(255, 255, 255, 0.08));
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}
.home-blog-card:hover {
  transform: translateY(-5px);
  border-color: rgba(16, 185, 129, 0.4);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.3), 0 0 25px rgba(16, 185, 129, 0.1);
}
[data-theme="light"] .home-blog-card {
  background: #ffffff;
  border-color: #e2e8f0;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
}
[data-theme="light"] .home-blog-card:hover {
  border-color: #10b981;
  box-shadow: 0 12px 28px rgba(16, 185, 129, 0.15);
}

.home-blog-card .thumb-wrap {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #090f1d;
}
.home-blog-card .thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.home-blog-card:hover .thumb-wrap img {
  transform: scale(1.05);
}

.home-blog-card .thumb-badge-top {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  gap: 6px;
  z-index: 2;
}
.badge-trending-pill {
  background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.badge-latest-pill {
  background: linear-gradient(135deg, #0284c7 0%, #2563eb 100%);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.4);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.badge-cat-tag {
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  color: #e2e8f0;
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}

.home-blog-card .card-body-box {
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.home-blog-card .meta-strip {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  color: var(--muted, #94a3b8);
  margin-bottom: 12px;
}
.home-blog-card .meta-strip .dot {
  opacity: 0.4;
}
.home-blog-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--ink, #ffffff);
  line-height: 1.45;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
  transition: color 0.2s ease;
}
.home-blog-card:hover h3 {
  color: var(--brand, #10b981);
}
.home-blog-card p.excerpt {
  font-size: 0.88rem;
  color: var(--muted, #94a3b8);
  line-height: 1.6;
  margin-bottom: 18px;
  flex: 1;
}
.home-blog-card .card-footer-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--border, rgba(255, 255, 255, 0.08));
}
.home-blog-card .author-tag {
  font-size: 0.78rem;
  color: var(--muted, #94a3b8);
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}
.home-blog-card .read-link {
  font-size: 0.82rem;
  font-weight: 750;
  color: var(--brand, #10b981);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: transform 0.2s ease;
}
.home-blog-card:hover .read-link {
  transform: translateX(3px);
}

/* ---------- Why VPSHosting.blog Features Grid ---------- */
.why-card {
  background: var(--card, #ffffff);
  border: 1px solid var(--border, #e2e8f0);
  border-radius: 18px;
  padding: 30px 24px;
  height: 100%;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
}
.why-card:hover {
  transform: translateY(-4px);
  border-color: rgba(16, 185, 129, 0.4);
  box-shadow: 0 14px 32px rgba(16, 185, 129, 0.12), 0 0 20px rgba(16, 185, 129, 0.06);
}
[data-theme="dark"] .why-card {
  background: #0f172a;
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.2);
}
.why-card .why-icon,
.why-card .icon-box {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: var(--brand, #10b981);
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.why-card h3,
.why-card h4 {
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--ink, #0f172a);
  margin-bottom: 10px;
}
[data-theme="dark"] .why-card h3,
[data-theme="dark"] .why-card h4 {
  color: #ffffff;
}
.why-card p {
  color: var(--muted, #64748b);
  font-size: 0.88rem;
  line-height: 1.6;
  margin: 0;
}

/* ---------- Community Reviews ---------- */
.review-card {
  background: var(--card, #0f172a);
  border: 1px solid var(--border, rgba(255, 255, 255, 0.08));
  border-radius: 18px;
  padding: 26px;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
}
.review-card:hover {
  transform: translateY(-3px);
  border-color: rgba(59, 130, 246, 0.35);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
}
[data-theme="light"] .review-card {
  background: #ffffff;
  border-color: #e2e8f0;
}
.review-card .rev-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.review-card .rev-provider {
  display: flex;
  align-items: center;
  gap: 10px;
}
.review-card .rev-provider img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  object-fit: contain;
  background: #fff;
  padding: 3px;
  border: 1px solid var(--border, rgba(255, 255, 255, 0.08));
}
.review-card .rev-stars {
  color: #f59e0b;
  font-size: 0.9rem;
  display: flex;
  gap: 2px;
}
.review-card .rev-text {
  font-size: 0.92rem;
  color: var(--ink, #ffffff);
  line-height: 1.6;
  margin-bottom: 16px;
  flex: 1;
}
.review-card .rev-author {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--border, rgba(255, 255, 255, 0.08));
  font-size: 0.78rem;
  color: var(--muted, #94a3b8);
}
.review-card .rev-verified {
  color: #10b981;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ---------- CTA Band ---------- */
.cta-band {
  background: linear-gradient(135deg, #064e3b 0%, #065f46 50%, #047857 100%);
  border-radius: 24px;
  padding: 50px 40px;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(6, 78, 59, 0.35);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.cta-band .cta-info {
  flex: 1;
  min-width: 290px;
}
.cta-band h2 {
  font-size: 2rem;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}
.cta-band p {
  color: #a7f3d0;
  font-size: 1.05rem;
  line-height: 1.55;
  margin: 0;
  max-width: 620px;
}
.cta-band .btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.cta-band .cta-primary {
  background: #ffffff;
  color: #064e3b !important;
  font-weight: 800;
  font-size: 0.95rem;
  padding: 14px 26px;
  border-radius: 12px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  transition: all 0.2s ease;
}
.cta-band .cta-primary:hover {
  transform: translateY(-2px);
  background: #f8fafc;
}
.cta-band .cta-ghost {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 22px;
  border-radius: 12px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  transition: all 0.2s ease;
}
.cta-band .cta-ghost:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* ---------- FAQ Section ---------- */
.faq-accordion .accordion-item {
  background: var(--card, #0f172a);
  border: 1px solid var(--border, rgba(255, 255, 255, 0.08));
  border-radius: 14px !important;
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color 0.2s ease;
}
[data-theme="light"] .faq-accordion .accordion-item {
  background: #ffffff;
  border-color: #e2e8f0;
}
.faq-accordion .accordion-button {
  background: transparent !important;
  color: var(--ink, #ffffff) !important;
  font-weight: 750;
  font-size: 1.02rem;
  padding: 18px 22px;
  box-shadow: none !important;
}
.faq-accordion .accordion-button:not(.collapsed) {
  color: var(--brand, #10b981) !important;
}
.faq-accordion .accordion-body {
  color: var(--muted, #94a3b8);
  font-size: 0.92rem;
  line-height: 1.65;
  padding: 0 22px 20px 22px;
}

/* Review Tile & Why Card */
.review-tile {
  background: var(--card, #0f172a);
  border: 1px solid var(--border, rgba(255, 255, 255, 0.08));
  border-radius: 18px;
  padding: 26px;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.25s ease;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.1);
}
.review-tile:hover {
  transform: translateY(-4px);
  border-color: rgba(59, 130, 246, 0.4);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}
[data-theme="light"] .review-tile {
  background: #ffffff;
  border-color: #e2e8f0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}
.review-tile .quote {
  font-size: 2.8rem;
  line-height: 1;
  font-family: Georgia, serif;
  color: var(--brand, #10b981);
  opacity: 0.35;
  margin-bottom: -10px;
}
.review-tile .stars {
  color: #f59e0b;
  font-size: 0.95rem;
  margin-bottom: 14px;
}
.review-tile .content {
  font-size: 0.92rem;
  color: var(--ink, #ffffff);
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
}
.review-tile .meta {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--border, rgba(255, 255, 255, 0.08));
}
.review-tile .avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #fff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.88rem;
}
.review-tile .who strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 750;
  color: var(--ink, #ffffff);
}
.review-tile .who small {
  font-size: 0.78rem;
  color: var(--muted, #94a3b8);
}


