/* ============================================================
   NGS STORE — SLIM & HIGH-FOCUS SINGLE POST STYLES
   Full WCAG AAA Contrast Support for both Light & Dark Themes.
   ============================================================ */

html {
  scroll-behavior: smooth;
}

/* Slim & Focused Container (Ergonomic Reading Width with Sidebar) */
.post-container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.post-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 1.75rem;
  padding: 0.75rem 0 3rem;
  align-items: start;
}

@media (max-width: 1100px) and (min-width: 861px) {
  .post-layout {
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 1.25rem;
  }
}

@media (max-width: 860px) {
  .post-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .post-sidebar {
    position: static;
    margin-top: 1rem;
  }
}

.post-main {
  min-width: 0;
}

/* ============================================================
   1. BREADCRUMBS
   ============================================================ */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.85rem 0 0.5rem;
  font-size: 0.82rem;
  color: var(--text-dim);
  overflow-x: auto;
  white-space: nowrap;
}

.breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s;
}

.breadcrumb a:hover {
  color: var(--primary);
}

.breadcrumb-separator {
  color: var(--text-dim);
  opacity: 0.5;
}

/* ============================================================
   2. HERO SOFTWARE HUB (FULL LIGHT & DARK MODE SUPPORT)
   ============================================================ */
.post-hero-hub {
  background: linear-gradient(180deg, rgba(20, 30, 50, 0.7) 0%, rgba(13, 19, 33, 0.95) 100%), var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.4rem 1.65rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 24px -2px rgba(0, 0, 0, 0.35);
  position: relative;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

/* Light Theme Hero Adaptations */
[data-theme="light"] .post-hero-hub {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.05);
}

.hero-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

[data-theme="light"] .hero-top-row {
  border-bottom: 1px solid #f1f5f9;
}

.hero-chips-group {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.hero-chip {
  font-size: 0.74rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  text-decoration: none !important;
}

.hero-chip-cat {
  background: rgba(56, 189, 248, 0.12);
  color: #10b981 !important;
  border: 1px solid rgba(56, 189, 248, 0.25);
}

[data-theme="light"] .hero-chip-cat {
  background: #f0f9ff;
  color: #0369a1 !important;
  border: 1px solid #bae6fd;
}

.hero-chip-multi {
  background: rgba(168, 85, 247, 0.12);
  color: #c084fc;
  border: 1px solid rgba(168, 85, 247, 0.25);
}

[data-theme="light"] .hero-chip-multi {
  background: #faf5ff;
  color: #6b21a8;
  border: 1px solid #e9d5ff;
}

.hero-chip-safe {
  background: rgba(16, 185, 129, 0.12);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

[data-theme="light"] .hero-chip-safe {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}

.hero-date-stamp {
  font-size: 0.76rem;
  color: var(--text-dim);
}

.hero-main-row {
  display: flex;
  align-items: flex-start;
  gap: 1.15rem;
}

.hero-icon-wrap {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
}

.hero-app-icon {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  object-fit: cover;
  background: var(--bg-surface);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

[data-theme="light"] .hero-app-icon {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.hero-info-col {
  flex: 1;
  min-width: 0;
}

.hero-title-wrap {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin-bottom: 0.35rem;
}

.post-title {
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-main);
  line-height: 1.25;
  margin: 0;
}

.hero-meta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.65rem 0.85rem;
  margin-top: 0.5rem;
}

.hero-version-pill {
  background: rgba(56, 189, 248, 0.15);
  color: #10b981;
  border: 1px solid rgba(56, 189, 248, 0.3);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
}

[data-theme="light"] .hero-version-pill {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}

.hero-rating-group {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.hero-stars {
  color: #fbbf24;
  font-size: 1.22rem;
  letter-spacing: 2px;
  line-height: 1;
  text-shadow: 0 1px 3px rgba(251, 191, 36, 0.3);
}

[data-theme="light"] .hero-stars {
  color: #b45309;
}

.hero-score {
  color: #ffffff;
  font-size: 1.12rem;
  font-weight: 800;
  line-height: 1;
}

[data-theme="light"] .hero-score {
  color: #0f172a;
}

.hero-review-link {
  color: #94a3b8;
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.15s ease;
}

.hero-review-link:hover {
  color: #10b981;
  text-decoration: underline;
}

[data-theme="light"] .hero-review-link {
  color: #475569;
}

[data-theme="light"] .hero-review-link:hover {
  color: #047857;
}

.hero-stat-sep {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.85rem;
}

[data-theme="light"] .hero-stat-sep {
  color: #64748b;
}

.hero-dl-stat {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.86rem;
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.18rem 0.65rem;
  border-radius: var(--radius-full);
}

.hero-dl-stat strong {
  color: #10b981;
  font-weight: 700;
}

[data-theme="light"] .hero-dl-stat {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  color: #334155;
}

[data-theme="light"] .hero-dl-stat strong {
  color: #047857;
}

.hero-tagline {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0.35rem 0 0;
}

/* ============================================================
   3. SLEEK DOWNLOAD SUITE (CENTERED HIGH-FOCUS LAYOUT)
   ============================================================ */
.hero-download-suite {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

[data-theme="light"] .hero-download-suite {
  border-top: 1px solid #f1f5f9;
}

/* Segmented Control - Large, Prominent & Centered ("canter a saajao") */
.os-segmented-control {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 6px;
  gap: 6px;
  margin: 0 auto 1.25rem auto;
}

[data-theme="light"] .os-segmented-control {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
}

.os-segment-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 1.45rem;
  border-radius: 9px;
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-muted);
  font-size: 0.98rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
}

[data-theme="light"] .os-segment-btn {
  color: #334155;
}

.os-segment-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

[data-theme="light"] .os-segment-btn:hover {
  color: #0f172a;
  background: #e2e8f0;
}

.os-segment-btn.active {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

[data-theme="light"] .os-segment-btn.active {
  background: #ffffff;
  border-color: #cbd5e1;
  color: #0f172a;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.os-svg-icon {
  flex-shrink: 0;
}

.os-segment-name {
  white-space: nowrap;
}

/* CTA Row - Centered */
.hero-cta-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  width: 100%;
}

/* Primary Download Button - Centered */
.btn-download-primary {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.72rem 1.65rem;
  border-radius: 10px;
  background: linear-gradient(180deg, #10b981 0%, #059669 100%);
  background-color: #047857;
  border: 1px solid #34d399;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  color: #ffffff !important;
  text-decoration: none !important;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
  cursor: pointer;
  max-width: 100%;
}

[data-theme="light"] .btn-download-primary {
  background: linear-gradient(180deg, #059669 0%, #047857 100%);
  background-color: #047857;
  border-color: #065f46;
  box-shadow: 0 4px 16px rgba(4, 120, 87, 0.35);
}

.btn-download-primary:hover {
  background: linear-gradient(180deg, #059669 0%, #047857 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.5);
}

.btn-download-primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.4);
}

.dl-btn-icon-wrap {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #ffffff;
}

.dl-btn-text-wrap {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.dl-btn-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff !important;
  line-height: 1.25;
}

.dl-btn-sub {
  font-size: 0.74rem;
  color: #ecfdf5 !important;
  font-weight: 600;
  margin-top: 0.15rem;
}

/* Secondary CTAs - Centered */
.hero-secondary-ctas {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  width: 100%;
}

.btn-ghost-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 1rem;
  border-radius: 8px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  color: var(--text-sub) !important;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none !important;
  transition: all 0.15s ease;
}

[data-theme="light"] .btn-ghost-cta {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #334155 !important;
}

.btn-ghost-cta:hover {
  background: var(--bg-card-hover);
  border-color: var(--primary);
  color: #ffffff !important;
}

[data-theme="light"] .btn-ghost-cta:hover {
  background: #f8fafc;
  border-color: #059669;
  color: #059669 !important;
}

/* Trust Strip - Centered */
.hero-trust-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-top: 1rem;
  font-size: 0.78rem;
  color: var(--text-dim);
  width: 100%;
  text-align: center;
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.trust-check {
  color: #10b981;
  font-weight: 800;
}

[data-theme="light"] .trust-check {
  color: #047857;
}

.trust-dot {
  opacity: 0.4;
}

/* ============================================================
   3B. CLOUD DOWNLOAD MIRRORS SUITE
   ============================================================ */
.hero-mirrors-container {
  margin: 1.15rem 0 0.85rem 0;
  width: 100%;
  padding: 1.15rem 1.25rem;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

[data-theme="light"] .hero-mirrors-container {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

@keyframes mirrorSlideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-mirrors-container.revealed {
  animation: mirrorSlideDown 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-mirrors-title {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.85rem;
  flex-wrap: wrap;
}

.mirrors-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
}

[data-theme="light"] .mirrors-badge {
  background: #ecfdf5;
  color: #047857;
  border-color: #a7f3d0;
}

.hero-mirrors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.75rem;
  width: 100%;
}

.mirror-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0.95rem;
  border-radius: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-main) !important;
  text-decoration: none !important;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
  position: relative;
  overflow: hidden;
}

[data-theme="light"] .mirror-btn {
  background: #ffffff;
  border-color: #cbd5e1;
}

.mirror-btn:hover {
  transform: translateY(-2px);
  border-color: #38bdf8;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

[data-theme="light"] .mirror-btn:hover {
  border-color: #0284c7;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.15);
}

.mirror-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mirror-info {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  min-width: 0;
}

.mirror-name {
  font-size: 0.86rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--text-main);
}

.mirror-meta {
  font-size: 0.72rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 0.15rem;
}

.mirror-tag {
  font-size: 0.66rem;
  font-weight: 800;
  padding: 0.18rem 0.5rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.mirror-tag-direct {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.35);
}

[data-theme="light"] .mirror-tag-direct {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}

.mirror-tag-gdrive {
  background: rgba(66, 133, 244, 0.15);
  color: #60a5fa;
  border: 1px solid rgba(66, 133, 244, 0.35);
}

[data-theme="light"] .mirror-tag-gdrive {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
}

.mirror-tag-mega {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.35);
}

[data-theme="light"] .mirror-tag-mega {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

.mirror-tag-mediafire {
  background: rgba(249, 115, 22, 0.15);
  color: #fb923c;
  border: 1px solid rgba(249, 115, 22, 0.35);
}

[data-theme="light"] .mirror-tag-mediafire {
  background: #fff7ed;
  color: #c2410c;
  border: 1px solid #fed7aa;
}

/* Article Visual Enhancements */
.article-hero-intro .lead-paragraph {
  font-size: 1.12rem;
  line-height: 1.7;
  color: var(--text-main);
  font-weight: 500;
  margin-bottom: 1rem;
}

.feature-highlight-banner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1rem;
  border-radius: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border);
}

.highlight-item .hl-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
}

.highlight-item strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text-main);
  margin-bottom: 0.25rem;
}

.highlight-item p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin: 0;
}

.tech-callout-box {
  background: rgba(30, 41, 59, 0.7);
  border-left: 4px solid #38bdf8;
  border-radius: 0 10px 10px 0;
  padding: 1.15rem 1.35rem;
  margin: 1.5rem 0;
}

[data-theme="light"] .tech-callout-box {
  background: #f0f9ff;
  border-left-color: #0284c7;
}

.tech-callout-box h3,
.tech-callout-box h4 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  color: #38bdf8;
  font-size: 1rem;
}

[data-theme="light"] .tech-callout-box h3,
[data-theme="light"] .tech-callout-box h4 {
  color: #0369a1 !important;
}

.tech-callout-box p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
}

.video-grabber-workflow {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.workflow-step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem;
  position: relative;
}

.workflow-step .step-num {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  color: #10b981;
  background: rgba(16, 185, 129, 0.15);
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  margin-bottom: 0.65rem;
}

[data-theme="light"] .workflow-step .step-num {
  color: #047857;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
}

.workflow-step h3,
.workflow-step h4 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.workflow-step p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin: 0;
}

.browser-support-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
  margin: 1.25rem 0;
}

@media (max-width: 640px) {
  .browser-support-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 420px) {
  .browser-support-grid {
    grid-template-columns: 1fr;
  }
}

.browser-badge-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.25rem 0.85rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  text-decoration: none !important;
  color: inherit !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

[data-theme="light"] .browser-badge-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
}

.browser-badge-card:hover {
  transform: translateY(-2px);
  border-color: #38bdf8;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .browser-badge-card:hover {
  border-color: #0284c7;
  box-shadow: 0 6px 16px rgba(2, 132, 199, 0.12);
}

.browser-badge-card .browser-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  margin-bottom: 0.65rem;
}

.browser-badge-card .browser-icon svg,
.browser-badge-card .browser-icon img {
  display: block;
  max-width: 100%;
  max-height: 42px;
  object-fit: contain;
}

.dual-browser-logos {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.browser-badge-card strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.25rem;
  line-height: 1.3;
}

[data-theme="light"] .browser-badge-card strong {
  color: #0f172a;
}

.browser-badge-card span {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.3;
}

[data-theme="light"] .browser-badge-card span {
  color: #64748b;
}

.comparison-table-wrapper {
  overflow-x: auto;
  margin: 1.5rem 0;
  border: 1px solid var(--border);
  border-radius: 12px;
}

.ngs-comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  text-align: left;
}

.ngs-comparison-table th, .ngs-comparison-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border);
}

.ngs-comparison-table th {
  background: var(--bg-surface);
  font-weight: 700;
  color: var(--text-main);
}

.ngs-comparison-table .highlight-th {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  border-left: 2px solid #10b981;
  border-right: 2px solid #10b981;
}

[data-theme="light"] .ngs-comparison-table .highlight-th {
  background: #ecfdf5;
  color: #047857;
  border-left: 2px solid #047857;
  border-right: 2px solid #047857;
}

.ngs-comparison-table .highlight-td {
  background: rgba(16, 185, 129, 0.05);
  border-left: 2px solid #10b981;
  border-right: 2px solid #10b981;
}

[data-theme="light"] .ngs-comparison-table .highlight-td {
  background: #f0fdf4;
  border-left: 2px solid #047857;
  border-right: 2px solid #047857;
}

.table-check {
  color: #10b981;
  font-weight: 800;
  margin-right: 0.35rem;
}

[data-theme="light"] .table-check {
  color: #047857;
}

.table-cross {
  color: #ef4444;
  font-weight: 800;
  margin-right: 0.35rem;
}

.setup-steps-list {
  padding-left: 1.5rem;
  margin: 1.25rem 0;
}

.setup-steps-list li {
  margin-bottom: 0.85rem;
  line-height: 1.55;
}

.mirrors-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin: 1.25rem 0;
}

.mirror-card-info {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.15rem;
}

.mirror-card-info .m-card-icon {
  font-size: 1.5rem;
  display: inline-block;
  margin-bottom: 0.5rem;
}

.mirror-card-info h3,
.mirror-card-info h4 {
  margin: 0 0 0.4rem 0;
  font-size: 0.95rem;
}

.mirror-card-info p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* ============================================================
   4. IN-PAGE SECTION JUMP BAR (NON-STICKY)
   ============================================================ */
.post-jump-bar {
  position: relative;
  top: auto;
  z-index: 1;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.5rem 0.65rem;
  margin-bottom: 1.5rem;
  transition: background 0.2s, border-color 0.2s;
}

[data-theme="light"] .post-jump-bar {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.jump-bar-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.38rem 0.42rem;
}

.jump-bar-inner::-webkit-scrollbar {
  display: none;
}

.jump-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.34rem 0.72rem;
  border-radius: 7px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-sub) !important;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-light);
  text-decoration: none !important;
  transition: all 0.15s ease;
  white-space: nowrap;
  line-height: 1.25;
}

[data-theme="light"] .jump-pill {
  color: #475569 !important;
  background: #f8fafc;
  border-color: #e2e8f0;
}

.jump-pill:hover {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.35);
  color: #10b981 !important;
  transform: translateY(-1px);
}

[data-theme="light"] .jump-pill:hover {
  background: #ecfdf5;
  border-color: #a7f3d0;
  color: #059669 !important;
}

/* ============================================================
   5. SECTION HEADERS & GENERAL RHYTHM
   ============================================================ */
.section-header-clean {
  margin-bottom: 1.15rem;
}

.section-title-clean {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--text-main);
  margin: 0 0 0.35rem 0;
}

.section-subtitle-clean {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0;
}

/* ============================================================
   6. SCREENSHOTS GALLERY
   ============================================================ */
.screenshots-section {
  margin-bottom: 2rem;
}

.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (max-width: 640px) {
  .screenshots-grid {
    grid-template-columns: 1fr;
  }
}

.screenshot-figure {
  margin: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

[data-theme="light"] .screenshot-figure {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.screenshot-link {
  display: block;
  position: relative;
  overflow: hidden;
}

.screenshot-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.screenshot-figure:hover .screenshot-img {
  transform: scale(1.025);
}

.screenshot-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s;
}

.screenshot-figure:hover .screenshot-overlay {
  opacity: 1;
}

.screenshot-zoom-text {
  background: rgba(15, 23, 42, 0.9);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.screenshot-caption {
  padding: 0.6rem 0.85rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  background: var(--bg-surface);
}

/* ============================================================
   7. POST CONTENT PROSE
   ============================================================ */
.post-content {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem 1.75rem;
  margin-bottom: 2rem;
  line-height: 1.7;
  color: var(--text-main);
}

.post-content h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 1.5rem 0 0.75rem;
}

.post-content h2:first-child {
  margin-top: 0;
}

.post-content h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 1.25rem 0 0.5rem;
}

.post-content p {
  font-size: 0.92rem;
  color: var(--text-sub);
  margin-bottom: 1rem;
}

.post-content ul {
  padding-left: 1.35rem;
  margin-bottom: 1rem;
}

.post-content li {
  font-size: 0.9rem;
  color: var(--text-sub);
  margin-bottom: 0.45rem;
}

.post-content blockquote {
  margin: 1.25rem 0;
  padding: 0.85rem 1.25rem;
  border-left: 3px solid var(--primary);
  background: rgba(56, 189, 248, 0.06);
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: var(--text-main);
}

[data-theme="light"] .post-content blockquote {
  background: #f0f9ff;
  border-left-color: #059669;
}

/* ============================================================
   8. PROS & CONS GRID
   ============================================================ */
.pros-cons-section {
  margin-bottom: 2rem;
}

.pros-cons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem;
}

@media (max-width: 640px) {
  .pros-cons-grid {
    grid-template-columns: 1fr;
  }
}

.pros-card, .cons-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem;
}

.pros-card {
  border-left: 3px solid #10b981;
}

.cons-card {
  border-left: 3px solid #64748b;
}

.pros-title, .cons-title {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 0 0 0.85rem 0;
}

.pro-badge-icon {
  color: #10b981;
  font-weight: 800;
}

[data-theme="light"] .pro-badge-icon {
  color: #047857;
}

.con-badge-icon {
  color: #94a3b8;
  font-weight: 800;
}

[data-theme="light"] .con-badge-icon {
  color: #475569;
}

.pros-list, .cons-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pros-list li, .cons-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.86rem;
  line-height: 1.45;
  color: var(--text-sub);
  margin-bottom: 0.6rem;
}

.pro-icon {
  color: #10b981;
  font-weight: 800;
  flex-shrink: 0;
}

[data-theme="light"] .pro-icon {
  color: #047857;
}

.con-icon {
  color: #94a3b8;
  font-weight: 800;
  flex-shrink: 0;
}

[data-theme="light"] .con-icon {
  color: #475569;
}

/* ============================================================
   9. SUPPORTED PLATFORMS & SYSTEM REQUIREMENTS (ZERO-COLLISION POLISH)
   ============================================================ */
.releases-matrix-section {
  margin-bottom: 2rem;
}

.release-table-wrap {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg-card);
  width: 100%;
  overflow-x: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  box-sizing: border-box;
}

[data-theme="light"] .release-table-wrap {
  border-color: #e2e8f0;
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.release-matrix-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed; /* Strictly enforces percentage widths - zero overflow */
  text-align: left;
  box-sizing: border-box;
}

/* Strictly balanced column widths: 20 + 34 + 16 + 12 + 18 = 100% */
.release-matrix-table .th-platform,
.release-matrix-table .col-os {
  width: 20%;
}

.release-matrix-table .th-compat,
.release-matrix-table .col-compat {
  width: 34%;
  overflow: hidden;
}

.release-matrix-table .th-package,
.release-matrix-table .col-format {
  width: 16%;
  overflow: hidden;
}

.release-matrix-table .th-size,
.release-matrix-table .col-size {
  width: 12%;
}

.release-matrix-table .th-action,
.release-matrix-table .col-action {
  width: 18%;
  text-align: right;
}

.release-matrix-table th {
  background: var(--bg-surface);
  padding: 0.75rem 0.65rem;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-dim);
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
  box-sizing: border-box;
}

[data-theme="light"] .release-matrix-table th {
  background: #f8fafc;
  color: #475569;
  border-bottom: 1px solid #e2e8f0;
}

.release-matrix-table td {
  padding: 0.75rem 0.65rem;
  font-size: 0.84rem;
  color: var(--text-sub);
  border-bottom: 1px solid var(--border-light, rgba(255, 255, 255, 0.05));
  vertical-align: middle;
  box-sizing: border-box;
}

[data-theme="light"] .release-matrix-table td {
  border-bottom: 1px solid #f1f5f9;
  color: #334155;
}

.release-matrix-table tr:last-child td {
  border-bottom: none;
}

.release-matrix-table tr.highlight-row {
  background: rgba(56, 189, 248, 0.05);
}

[data-theme="light"] .release-matrix-table tr.highlight-row {
  background: rgba(2, 132, 199, 0.035);
}

.os-name-cell {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--text-main);
  white-space: nowrap;
}

.os-table-icon {
  color: #10b981;
  flex-shrink: 0;
}

[data-theme="light"] .os-table-icon {
  color: #059669;
}

.os-name-text {
  font-weight: 700;
  font-size: 0.86rem;
  color: var(--text-main);
}

[data-theme="light"] .os-name-text {
  color: #0f172a;
}

.compat-title {
  font-weight: 600;
  color: var(--text-main);
  font-size: 0.83rem;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

[data-theme="light"] .compat-title {
  color: #1e293b;
}

.compat-arch {
  font-size: 0.74rem;
  color: var(--text-dim);
  margin-top: 0.15rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Stacked Package Cell - ZERO COLLISION GUARANTEED */
.package-cell {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  max-width: 100%;
}

.format-code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.74rem;
  font-weight: 700;
  background: rgba(15, 23, 42, 0.85);
  padding: 0.12rem 0.38rem;
  border-radius: 4px;
  border: 1px solid var(--border);
  color: #10b981;
  display: inline-block;
}

[data-theme="light"] .format-code {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #047857;
}

.format-type {
  font-size: 0.72rem;
  color: var(--text-dim);
  white-space: nowrap;
}

.size-pill {
  white-space: nowrap;
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--text-main);
}

[data-theme="light"] .size-pill {
  color: #0f172a;
}

/* Download Button - Compact, Right Aligned & Never Cut Off */
.btn-table-dl {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  padding: 0.34rem 0.65rem;
  border-radius: 6px;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: #10b981 !important;
  font-size: 0.75rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  text-decoration: none !important;
  transition: all 0.15s ease;
  white-space: nowrap;
}

[data-theme="light"] .btn-table-dl {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #047857 !important;
}

.btn-table-dl:hover {
  background: #059669;
  color: #ffffff !important;
  border-color: #059669;
}

/* Responsive Handling: mobile devices get smooth swipe if screen is < 640px */
@media (max-width: 640px) {
  .release-table-wrap {
    overflow-x: auto;
  }
  .release-table-wrap::-webkit-scrollbar {
    height: 4px;
  }
  .release-table-wrap::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 999px;
  }
  [data-theme="light"] .release-table-wrap::-webkit-scrollbar-thumb {
    background: #cbd5e1;
  }
  .release-matrix-table {
    table-layout: auto;
    min-width: 500px;
  }
}

/* Hardware Baseline Card */
.hardware-baseline-card {
  margin-top: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.15rem 1.35rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

[data-theme="light"] .hardware-baseline-card {
  background: #ffffff;
  border-color: #e2e8f0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.hw-title {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--text-main);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.85rem;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid var(--border-light, rgba(255, 255, 255, 0.05));
}

[data-theme="light"] .hw-title {
  border-bottom: 1px solid #f1f5f9;
  color: #1e293b;
}

.hw-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}

@media (max-width: 640px) {
  .hw-grid {
    grid-template-columns: 1fr;
  }
}

.hw-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.55rem 0.75rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-light, rgba(255, 255, 255, 0.05));
  border-radius: 8px;
}

[data-theme="light"] .hw-item {
  background: #f8fafc;
  border-color: #e2e8f0;
}

.hw-icon {
  font-size: 1.15rem;
  flex-shrink: 0;
}

.hw-item strong {
  display: block;
  font-size: 0.82rem;
  color: var(--text-main);
}

.hw-item small {
  display: block;
  font-size: 0.74rem;
  color: var(--text-muted);
  margin-top: 0.1rem;
}

/* ============================================================
   11. INTEGRITY CARD
   ============================================================ */
.integrity-section {
  margin-bottom: 2rem;
}

.integrity-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.4rem;
}

.integrity-header-row {
  margin-bottom: 1rem;
}

.integrity-badge {
  display: inline-block;
  background: rgba(16, 185, 129, 0.12);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.25);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.5rem;
}

[data-theme="light"] .integrity-badge {
  background: rgba(16, 185, 129, 0.08);
  color: #047857;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.integrity-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

.hash-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-dim);
  margin-bottom: 0.45rem;
}

.hash-row {
  display: flex;
  gap: 0.65rem;
  align-items: center;
}

.hash-input {
  flex: 1;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.6rem 0.85rem;
  color: #10b981;
  font-family: monospace;
  font-size: 0.82rem;
}

[data-theme="light"] .hash-input {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #065f46 !important;
}

.btn-copy-hash {
  padding: 0.6rem 1.15rem;
  border-radius: 8px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  color: var(--text-main);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s;
  white-space: nowrap;
}

[data-theme="light"] .btn-copy-hash {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #1e293b;
}

.btn-copy-hash:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

[data-theme="light"] .btn-copy-hash:hover {
  background: #059669;
  color: #ffffff;
  border-color: #059669;
}

/* ============================================================
   12. FAQ ACCORDION
   ============================================================ */
.faq-section {
  margin-bottom: 2rem;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.95rem 1.25rem;
  background: transparent;
  border: none;
  color: var(--text-main);
  font-size: 0.92rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.faq-question:hover {
  background: rgba(255, 255, 255, 0.02);
}

[data-theme="light"] .faq-question:hover {
  background: #f8fafc;
}

.faq-icon {
  font-size: 1.15rem;
  color: var(--text-dim);
}

.faq-answer {
  display: none;
  padding: 0 1.25rem 1.15rem;
  border-top: 1px solid var(--border-light, rgba(255, 255, 255, 0.05));
}

[data-theme="light"] .faq-answer {
  border-top: 1px solid #f1f5f9;
}

.faq-answer p {
  font-size: 0.88rem;
  color: var(--text-sub);
  line-height: 1.6;
  margin: 0.85rem 0 0;
}

/* ============================================================
   13. REVIEWS & RATINGS SECTION
   ============================================================ */
.reviews-section {
  margin-bottom: 2rem;
}

.reviews-header-block {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.btn-write-review {
  padding: 0.55rem 1.15rem;
  border-radius: 8px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  color: var(--text-main);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s;
}

[data-theme="light"] .btn-write-review {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #1e293b;
}

.btn-write-review:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

[data-theme="light"] .btn-write-review:hover {
  background: #059669;
  color: #ffffff;
  border-color: #059669;
}

.rating-summary-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.35rem 1.5rem;
  margin-bottom: 1.5rem;
  align-items: center;
}

@media (max-width: 640px) {
  .rating-summary-card {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

.rating-score-main {
  text-align: center;
  border-right: 1px solid var(--border);
  padding-right: 1.5rem;
}

@media (max-width: 640px) {
  .rating-score-main {
    border-right: none;
    padding-right: 0;
    border-bottom: 1px solid var(--border);
    padding-bottom: 1rem;
  }
}

.big-score {
  font-size: 3rem;
  font-weight: 900;
  color: var(--text-main);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.score-stars-row {
  color: #fbbf24;
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  margin-bottom: 0.35rem;
}

[data-theme="light"] .score-stars-row {
  color: #b45309;
}

.rating-count-text {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.rating-breakdown-bars {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.star-bar-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.star-label {
  width: 32px;
  text-align: right;
  font-weight: 600;
}

.bar-track {
  flex: 1;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
}

[data-theme="light"] .bar-track {
  background: #e2e8f0;
}

.bar-fill {
  height: 100%;
  background: #f59e0b;
  border-radius: 999px;
}

.bar-pct {
  width: 38px;
  font-size: 0.75rem;
  color: var(--text-dim);
}

/* Review Form Box */
.review-form-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 0 0 0.25rem 0;
}

.form-subtitle {
  font-size: 0.84rem;
  color: var(--text-muted);
  margin: 0 0 1.25rem 0;
}

.form-row-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 640px) {
  .form-row-group {
    grid-template-columns: 1fr;
  }
}

.form-group-half label, .form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-sub);
  margin-bottom: 0.4rem;
}

.form-group-half input, .form-group textarea {
  width: 100%;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.65rem 0.85rem;
  color: var(--text-main);
  font-size: 0.88rem;
  box-sizing: border-box;
}

[data-theme="light"] .form-group-half input,
[data-theme="light"] .form-group textarea {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  color: #0f172a;
}

.star-picker {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding-top: 0.25rem;
}

.star-choice {
  background: transparent;
  border: none;
  font-size: 1.35rem;
  color: var(--text-dim);
  cursor: pointer;
  padding: 0;
  line-height: 1;
}

.star-choice.active, .star-choice.hover {
  color: #f59e0b;
}

.star-picker-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-left: 0.5rem;
  font-weight: 600;
}

.form-submit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.15rem;
}

.btn-submit-review {
  padding: 0.65rem 1.45rem;
  border-radius: 8px;
  background: var(--primary);
  border: none;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.15s;
}

.btn-submit-review:hover {
  background: var(--primary-hover);
}

.review-guarantee {
  font-size: 0.76rem;
  color: var(--text-dim);
}

/* Reviews List */
.reviews-list {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}

.review-item-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.15rem 1.35rem;
}

.review-item-header {
  margin-bottom: 0.65rem;
}

.review-author-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.author-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(56, 189, 248, 0.15);
  color: #10b981;
  font-weight: 800;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

[data-theme="light"] .author-avatar {
  background: rgba(2, 132, 199, 0.1);
  color: #059669;
}

.author-name-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.author-name {
  font-size: 0.92rem;
  color: var(--text-main);
}

.verified-pill {
  font-size: 0.7rem;
  font-weight: 700;
  background: rgba(16, 185, 129, 0.12);
  color: #34d399;
  padding: 0.1rem 0.45rem;
  border-radius: 4px;
}

[data-theme="light"] .verified-pill {
  background: rgba(16, 185, 129, 0.08);
  color: #047857;
}

.review-meta-time {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-top: 0.15rem;
}

.review-stars-gold {
  color: #fbbf24;
}

[data-theme="light"] .review-stars-gold {
  color: #b45309;
}

.review-item-body p {
  font-size: 0.88rem;
  color: var(--text-sub);
  line-height: 1.55;
  margin: 0;
}

/* ============================================================
   14. RELATED APPS (PREMIUM HIGH-DENSITY APPS GRID)
   ============================================================ */
.related-apps-section {
  margin-top: 2.5rem;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

@media (max-width: 768px) {
  .related-grid {
    grid-template-columns: 1fr;
  }
}

.related-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

[data-theme="light"] .related-card {
  background: #ffffff;
  border-color: #e2e8f0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.related-card:hover {
  transform: translateY(-3px);
  border-color: var(--primary);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

[data-theme="light"] .related-card:hover {
  border-color: #059669;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.related-card-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}

.related-card-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}

.related-cat-pill {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.1);
  color: #10b981;
  border: 1px solid rgba(56, 189, 248, 0.2);
  white-space: nowrap;
}

[data-theme="light"] .related-cat-pill {
  background: rgba(4, 120, 87, 0.08);
  color: #047857;
  border-color: rgba(4, 120, 87, 0.25);
}

.related-card-content {
  flex-grow: 1;
}

.related-card-title {
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.35;
  margin: 0 0 0.45rem 0;
}

.related-card-title a {
  color: var(--text-main);
  text-decoration: none;
  transition: color 0.15s ease;
}

[data-theme="light"] .related-card-title a {
  color: #0f172a;
}

.related-card-title a:hover {
  color: #10b981;
}

[data-theme="light"] .related-card-title a:hover {
  color: #059669;
}

.related-card-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0 0 1.15rem 0;
}

[data-theme="light"] .related-card-desc {
  color: #64748b;
}

.related-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-light, rgba(255, 255, 255, 0.06));
  padding-top: 0.75rem;
}

[data-theme="light"] .related-card-footer {
  border-top: 1px solid #f1f5f9;
}

.related-badge-ver {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--text-dim);
}

[data-theme="light"] .related-badge-ver {
  color: #64748b;
}

.btn-related-view {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.34rem 0.75rem;
  border-radius: 6px;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.25);
  color: #10b981 !important;
  font-size: 0.75rem;
  font-weight: 700;
  text-decoration: none !important;
  transition: all 0.15s ease;
}

[data-theme="light"] .btn-related-view {
  background: rgba(4, 120, 87, 0.08);
  border-color: rgba(4, 120, 87, 0.25);
  color: #047857 !important;
}

.btn-related-view:hover {
  background: #059669;
  color: #ffffff !important;
  border-color: #059669;
}

/* ============================================================
   15. SIDEBAR (POLISHED SPACING & ALIGNMENT)
   ============================================================ */
.post-sidebar {
  position: sticky;
  top: 85px;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.sidebar-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem;
}

.sidebar-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 0 0 0.95rem 0;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid var(--border-light, rgba(255, 255, 255, 0.05));
}

[data-theme="light"] .sidebar-title {
  border-bottom: 1px solid #f1f5f9;
}

/* Flawless Key-Value Alignment (Eliminates Text Collisions) */
.spec-table {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.52rem 0;
  border-bottom: 1px solid var(--border-light, rgba(255, 255, 255, 0.05));
  font-size: 0.82rem;
}

[data-theme="light"] .spec-row {
  border-bottom: 1px solid #f1f5f9;
}

.spec-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.spec-row:first-child {
  padding-top: 0;
}

.spec-key {
  color: var(--text-dim);
  font-weight: 600;
  flex-shrink: 0;
  min-width: 85px;
}

.spec-val {
  color: var(--text-main);
  font-weight: 600;
  text-align: right;
  word-break: break-word;
}

.sidebar-quick-links {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.sidebar-action-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 0.85rem;
  border-radius: 8px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  text-decoration: none !important;
  transition: all 0.15s ease;
}

[data-theme="light"] .sidebar-action-item {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.sidebar-action-item:hover {
  background: var(--bg-card-hover);
  border-color: var(--primary);
}

[data-theme="light"] .sidebar-action-item:hover {
  background: #f1f5f9;
  border-color: #059669;
}

.action-item-icon {
  font-size: 1.15rem;
}

.sidebar-action-item strong {
  display: block;
  font-size: 0.84rem;
  color: var(--text-main);
}

.sidebar-action-item small {
  font-size: 0.74rem;
  color: var(--text-dim);
}

.safety-points-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.safety-point {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.safety-icon {
  color: #10b981;
  font-weight: 800;
  font-size: 0.85rem;
  margin-top: 0.1rem;
}

.safety-icon-blue {
  color: #38bdf8;
}

[data-theme="light"] .safety-icon {
  color: #047857 !important;
}

[data-theme="light"] .safety-icon-blue {
  color: #0369a1 !important;
}

.safety-point strong {
  display: block;
  font-size: 0.82rem;
  color: var(--text-main);
}

.safety-point p {
  font-size: 0.76rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin: 0.15rem 0 0;
}

.tags-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.tag-pill {
  font-size: 0.74rem;
  padding: 0.2rem 0.55rem;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text-muted) !important;
  text-decoration: none !important;
  transition: all 0.15s;
}

[data-theme="light"] .tag-pill {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #475569 !important;
}

.tag-pill:hover {
  border-color: var(--primary);
  color: var(--primary) !important;
}

[data-theme="light"] .tag-pill:hover {
  border-color: #059669;
  color: #059669 !important;
  background: rgba(2, 132, 199, 0.06);
}
/* ============================================================
   10. HWID TRIAL KEY GENERATOR SUITE (FULL DUAL-THEME WCAG AAA)
   ============================================================ */
.trial-activation-section {
  margin-bottom: 2.75rem;
  scroll-margin-top: 85px;
}

.post-main section,
#overview,
#screenshots,
#pros-cons,
#system-requirements,
#specifications,
#trial-activation,
#faq,
#reviews {
  scroll-margin-top: 85px;
}

.ngs-trial-card {
  background: linear-gradient(180deg, rgba(20, 30, 50, 0.7) 0%, rgba(13, 19, 33, 0.95) 100%), var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.75rem 2rem;
  margin: 1.25rem 0 0 0;
  box-shadow: 0 4px 24px -2px rgba(0, 0, 0, 0.35);
  position: relative;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

/* Trial Key Generator Promo Callout Card */
.trial-promo-card {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(56, 189, 248, 0.05) 100%), var(--bg-card);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 14px;
  padding: 2rem 2.25rem;
  margin: 1.25rem 0;
  box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.25);
  transition: all 0.2s ease;
}

[data-theme="light"] .trial-promo-card {
  background: linear-gradient(135deg, #f0fdf4 0%, #f0f9ff 100%);
  border-color: #a7f3d0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.promo-icon-box {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  background-color: #059669;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.35);
}

.promo-content {
  flex: 1;
}

.promo-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

[data-theme="light"] .promo-badge {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #047857;
}

.promo-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
  margin: 0 0 0.4rem 0;
}

.promo-desc {
  font-size: 0.92rem;
  color: var(--text-sub);
  line-height: 1.6;
  margin: 0 0 1rem 0;
}

.promo-features-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.promo-feat-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-main);
}

.promo-feat-item .feat-check {
  color: #10b981;
  font-weight: 800;
}

[data-theme="light"] .promo-feat-item .feat-check {
  color: #047857;
}

.btn-promo-launch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.75rem 1.65rem;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  background-color: #047857;
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.92rem;
  border-radius: 9px;
  text-decoration: none !important;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

[data-theme="light"] .btn-promo-launch {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  background-color: #047857;
  box-shadow: 0 4px 14px rgba(4, 120, 87, 0.3);
}

.btn-promo-launch:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5);
  color: #ffffff !important;
}

[data-theme="light"] .btn-promo-launch:hover {
  background: #065f46;
  box-shadow: 0 6px 20px rgba(6, 95, 70, 0.4);
}

@media (max-width: 768px) {
  .trial-promo-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem;
  }
}

[data-theme="light"] .ngs-trial-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.05);
}

.trial-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.28rem 0.75rem;
  border-radius: var(--radius-full);
  background: rgba(56, 189, 248, 0.12);
  color: #10b981;
  border: 1px solid rgba(56, 189, 248, 0.25);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}

[data-theme="light"] .trial-pill {
  background: #ecfdf5;
  color: #047857 !important;
  border: 1px solid #a7f3d0;
}

.trial-heading {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-main);
  margin: 0 0 0.5rem 0;
  letter-spacing: -0.02em;
}

[data-theme="light"] .trial-heading {
  color: #0f172a;
}

.trial-desc {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-sub);
  margin: 0 0 1.35rem 0;
}

[data-theme="light"] .trial-desc {
  color: #475569;
}

.ngs-trial-box-action {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.35rem 1.5rem;
}

[data-theme="light"] .ngs-trial-box-action {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.trial-label {
  display: block;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.55rem;
}

[data-theme="light"] .trial-label {
  color: #1e293b;
}

.trial-textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  background: rgba(15, 23, 42, 0.9);
  color: #ffffff;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.88rem;
  resize: vertical;
  box-sizing: border-box;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.trial-textarea:focus {
  outline: none;
  border-color: #10b981;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2);
}

[data-theme="light"] .trial-textarea {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #0f172a;
}

[data-theme="light"] .trial-textarea:focus {
  border-color: #059669;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.trial-btn-row {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.btn-trial-generate {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.7rem 1.6rem;
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: 8px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff !important;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(16, 185, 129, 0.3);
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.btn-trial-generate:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.45);
}

.btn-trial-generate:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.btn-trial-open {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.7rem 1.6rem;
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: 8px;
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  color: #ffffff !important;
  border: none;
  cursor: pointer;
  transition: all 0.15s ease;
}

.trial-status {
  margin-top: 0.85rem;
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--text-dim);
  transition: all 0.2s ease;
}

[data-theme="light"] .trial-status {
  color: #475569;
}

/* Notice / Active Trial Warning Alert */
.trial-status.is-notice {
  margin-top: 1rem;
  padding: 0.85rem 1.15rem;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.55;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: #fde68a;
  text-align: left;
}

[data-theme="light"] .trial-status.is-notice {
  background: #fffbeb !important;
  border: 1px solid #fde68a !important;
  color: #92400e !important;
  box-shadow: 0 1px 3px rgba(180, 83, 9, 0.08);
}

/* Error Alert */
.trial-status.is-error {
  margin-top: 1rem;
  padding: 0.85rem 1.15rem;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.55;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #fca5a5;
  text-align: left;
}

[data-theme="light"] .trial-status.is-error {
  background: #fef2f2 !important;
  border: 1px solid #fecaca !important;
  color: #b91c1c !important;
  box-shadow: 0 1px 3px rgba(185, 28, 28, 0.08);
}

/* Success Alert */
.trial-status.is-success {
  margin-top: 1rem;
  padding: 0.85rem 1.15rem;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.55;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #6ee7b7;
  text-align: left;
}

[data-theme="light"] .trial-status.is-success {
  background: #ecfdf5 !important;
  border: 1px solid #a7f3d0 !important;
  color: #065f46 !important;
  box-shadow: 0 1px 3px rgba(5, 150, 105, 0.08);
}

/* Loading State */
.trial-status.is-loading {
  color: #38bdf8;
  font-weight: 600;
}

[data-theme="light"] .trial-status.is-loading {
  color: #0284c7 !important;
  font-weight: 600;
}

.trial-countdown-wrap {
  margin-top: 1.5rem;
  background: var(--bg-surface);
  border: 1px solid #059669;
  border-radius: 12px;
  padding: 1.75rem;
  text-align: center;
}

[data-theme="light"] .trial-countdown-wrap {
  background: #f0f9ff;
  border-color: #bae6fd;
}

.countdown-label {
  font-size: 0.8rem;
  color: #f59e0b;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

[data-theme="light"] .countdown-label {
  color: #b45309;
}

.countdown-timer {
  font-size: 3.5rem;
  font-weight: 900;
  color: #10b981;
  line-height: 1;
  margin-bottom: 0.25rem;
}

[data-theme="light"] .countdown-timer {
  color: #059669;
}

.countdown-sub {
  font-size: 0.78rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
}

[data-theme="light"] .countdown-sub {
  color: #64748b;
}

.trial-key-box {
  background: var(--bg-card);
  border: 1px solid #059669;
  border-radius: 10px;
  padding: 1.25rem;
  max-width: 480px;
  margin: 0 auto;
}

[data-theme="light"] .trial-key-box {
  background: #ffffff;
  border: 1px solid #10b981;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.key-box-title {
  font-size: 0.85rem;
  color: #34d399;
  font-weight: 700;
  margin-bottom: 0.45rem;
}

[data-theme="light"] .key-box-title {
  color: #059669;
}

.key-box-val {
  font-size: 1.2rem;
  font-weight: 800;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  color: var(--text-main);
  letter-spacing: 0.05em;
  margin-bottom: 0.85rem;
  word-break: break-all;
  user-select: all;
  -webkit-user-select: all;
  cursor: pointer;
}

[data-theme="light"] .key-box-val {
  color: #0f172a;
}

.btn-trial-copy {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 1.4rem;
  font-size: 0.86rem;
  font-weight: 700;
  border-radius: 6px;
  background: #059669;
  color: #ffffff !important;
  border: none;
  cursor: pointer;
  transition: background 0.15s ease;
}

.btn-trial-copy:hover {
  background: #047857;
}

.trial-footer-note {
  margin: 1.25rem 0 0 0;
  font-size: 0.82rem;
  color: var(--text-dim);
  line-height: 1.5;
}

[data-theme="light"] .trial-footer-note {
  color: #64748b;
}

/* ==========================================================
   🔒 Trial Closed & Direct In-App License Purchase Card
   ========================================================== */
.trial-closed-card {
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.8) 0%, rgba(15, 23, 42, 0.95) 100%), var(--bg-card);
  border: 1px solid rgba(245, 158, 11, 0.35);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

[data-theme="light"] .trial-closed-card {
  background: linear-gradient(180deg, #fffbeb 0%, #ffffff 100%);
  border: 1px solid #fde68a;
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.08);
}

.trial-pill-closed {
  background: rgba(245, 158, 11, 0.15) !important;
  color: #f59e0b !important;
  border-color: rgba(245, 158, 11, 0.35) !important;
}

[data-theme="light"] .trial-pill-closed {
  background: #fef3c7 !important;
  color: #d97706 !important;
  border-color: #fde68a !important;
}

.trial-closed-instructions {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  margin: 1.25rem 0;
}

[data-theme="light"] .trial-closed-instructions {
  background: #f8fafc;
  border-color: #e2e8f0;
}

.instructions-header {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.15rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

[data-theme="light"] .instructions-header {
  border-bottom-color: #e2e8f0;
}

.instructions-icon {
  font-size: 1.5rem;
}

.instructions-header h4 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.01em;
}

[data-theme="light"] .instructions-header h4 {
  color: #0f172a;
}

.instructions-steps {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.instruction-step {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.65rem 0.85rem;
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.04);
  transition: all 0.15s ease;
}

[data-theme="light"] .instruction-step {
  background: #ffffff;
  border-color: #e2e8f0;
}

.instruction-step:hover {
  border-color: rgba(56, 189, 248, 0.4);
  background: rgba(15, 23, 42, 0.6);
}

[data-theme="light"] .instruction-step:hover {
  border-color: #059669;
  background: #f1f5f9;
}

.step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.step-body strong {
  display: block;
  font-size: 0.88rem;
  color: var(--text-main);
  margin-bottom: 0.15rem;
}

[data-theme="light"] .step-body strong {
  color: #1e293b;
}

.step-body p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-sub);
  line-height: 1.45;
}

[data-theme="light"] .step-body p {
  color: #475569;
}

.trial-closed-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.25rem;
  align-items: center;
}

.btn-trial-download {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.75rem 1.6rem;
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: 8px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff !important;
  text-decoration: none !important;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
  transition: all 0.15s ease;
}

.btn-trial-download:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5);
}

.btn-trial-contact {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.75rem 1.4rem;
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: 8px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  color: var(--text-main) !important;
  text-decoration: none !important;
  transition: all 0.15s ease;
}

[data-theme="light"] .btn-trial-contact {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #1e293b !important;
}

.btn-trial-contact:hover {
  border-color: var(--primary);
  color: var(--primary) !important;
}



/* ==========================================================
   📥 Download Button Live Counter & Countdown Progress Pill
   ========================================================== */
.dl-btn-counter-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.28rem 0.65rem;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  color: #f8fafc;
  letter-spacing: 0.02em;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.25);
  margin-left: 0.45rem;
  flex-shrink: 0;
  backdrop-filter: blur(4px);
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.btn-download-primary:hover .dl-btn-counter-pill {
  background: rgba(0, 0, 0, 0.35);
  border-color: rgba(255, 255, 255, 0.35);
  transform: scale(1.02);
}

.dl-pulse-dot {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  display: inline-block;
  flex-shrink: 0;
}

.dl-pulse-dot::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: #10b981;
  opacity: 0.7;
  animation: dlPulseDot 2s infinite cubic-bezier(0.66, 0, 0, 1);
  pointer-events: none;
  will-change: transform, opacity;
}

@keyframes dlPulseDot {
  0% {
    transform: scale(0.8);
    opacity: 0.7;
  }
  70% {
    transform: scale(2.2);
    opacity: 0;
  }
  100% {
    transform: scale(2.2);
    opacity: 0;
  }
}

.dl-timer-num {
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
  font-family: inherit;
  animation: dlTimerBounce 1s ease infinite;
}

@keyframes dlTimerBounce {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.18);
    color: #10b981;
  }
}

.dl-progress-bar-fill {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3.5px;
  background: linear-gradient(90deg, #10b981, #34d399, #6ee7b7);
  width: 0%;
  transition: width 0.3s ease;
  z-index: 2;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.8);
}

.btn-download-primary.is-counting {
  background: linear-gradient(180deg, #064e3b 0%, #022c22 100%) !important;
  border-color: #34d399 !important;
  box-shadow: 0 4px 20px rgba(5, 150, 105, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
}

.btn-download-primary.is-completed,
.btn-download-primary.is-ready {
  background: linear-gradient(180deg, #10b981 0%, #047857 100%) !important;
  border-color: #6ee7b7 !important;
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.25) !important;
  cursor: pointer !important;
}

.btn-download-primary.is-ready {
  animation: dlReadyPulse 2s infinite ease-in-out;
}

@keyframes dlReadyPulse {
  0%, 100% {
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.25);
    transform: translateY(0);
  }
  50% {
    box-shadow: 0 6px 28px rgba(16, 185, 129, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.35);
    transform: translateY(-1px);
  }
}

.dl-countdown-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 0.65rem;
  font-size: 0.82rem;
  color: var(--text-dim, #94a3b8);
  animation: dlFadeIn 0.25s ease-out;
}

.dl-status-text strong {
  color: #10b981;
  font-weight: 700;
}

.dl-skip-link {
  background: none;
  border: none;
  color: #10b981;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
  transition: color 0.15s;
}

.dl-skip-link:hover {
  color: #93c5fd;
}

@keyframes dlFadeIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 640px) {
  .hero-stat-sep {
    display: none !important;
  }
  .os-segmented-control {
    width: 100%;
    max-width: 100%;
    display: flex;
    box-sizing: border-box;
    padding: 4px;
    gap: 4px;
  }
  .os-segment-btn {
    flex: 1;
    justify-content: center;
    padding: 0.55rem 0.35rem;
    font-size: 0.84rem;
    gap: 0.35rem;
  }
  .btn-download-primary {
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    padding: 0.75rem 0.95rem;
    gap: 0.65rem;
  }
  .dl-btn-icon-wrap {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
  }
  .dl-btn-text-wrap {
    flex: 1;
    min-width: 140px;
  }
  .dl-btn-counter-pill {
    width: 100%;
    box-sizing: border-box;
    justify-content: center;
    margin: 0.2rem 0 0 0;
    padding: 0.28rem 0.6rem;
    font-size: 0.74rem;
    background: rgba(0, 0, 0, 0.22);
  }
  .dl-countdown-status {
    flex-direction: column;
    gap: 0.35rem;
    text-align: center;
  }
}

@media (max-width: 380px) {
  .os-segment-btn {
    font-size: 0.76rem;
    padding: 0.48rem 0.25rem;
    gap: 0.25rem;
  }
  .os-svg-icon {
    width: 14px;
    height: 14px;
  }
}


/* ============================================================
   Prominent Download Stats / Counter Display Styles
   ============================================================ */
.hero-stat-sep {
  color: var(--border);
  font-size: 0.9rem;
  margin: 0 0.15rem;
  user-select: none;
}

.hero-dl-stat {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  color: var(--text-sub);
  background: rgba(56, 189, 248, 0.08);
  padding: 0.18rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(56, 189, 248, 0.22);
  transition: border-color 0.2s, background 0.2s;
}

.hero-dl-stat:hover {
  background: rgba(56, 189, 248, 0.14);
  border-color: rgba(56, 189, 248, 0.35);
}

.hero-dl-stat strong {
  color: #10b981;
  font-weight: 700;
}

.hero-chip-dl {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(16, 185, 129, 0.12) !important;
  color: #34d399 !important;
  border: 1px solid rgba(16, 185, 129, 0.3) !important;
  font-weight: 700 !important;
  border-radius: 999px;
  padding: 0.22rem 0.65rem;
  font-size: 0.76rem;
}

[data-theme="light"] .hero-chip-dl {
  background: #ecfdf5 !important;
  color: #047857 !important;
  border: 1px solid #a7f3d0 !important;
}

.hero-chip-dl strong {
  color: #10b981;
}

[data-theme="light"] .hero-chip-dl strong {
  color: #047857 !important;
}

.hero-view-stat {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  color: var(--text-sub);
  background: rgba(168, 85, 247, 0.08);
  padding: 0.18rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(168, 85, 247, 0.22);
  transition: border-color 0.2s, background 0.2s;
}

.hero-view-stat:hover {
  background: rgba(168, 85, 247, 0.14);
  border-color: rgba(168, 85, 247, 0.35);
}

.hero-view-stat strong {
  color: #c084fc;
  font-weight: 700;
}

[data-theme="light"] .hero-view-stat {
  background: #fdf4ff;
  border: 1px solid #e9d5ff;
  color: #6b21a8;
}

[data-theme="light"] .hero-view-stat strong {
  color: #9333ea;
}

.hero-chip-views {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(168, 85, 247, 0.12) !important;
  color: #c084fc !important;
  border: 1px solid rgba(168, 85, 247, 0.3) !important;
  font-weight: 700 !important;
  border-radius: 999px;
  padding: 0.22rem 0.65rem;
  font-size: 0.76rem;
}

[data-theme="light"] .hero-chip-views {
  background: #faf5ff !important;
  color: #7e22ce !important;
  border: 1px solid #d8b4fe !important;
}

.hero-chip-views strong {
  color: #a855f7;
}

[data-theme="light"] .hero-chip-views strong {
  color: #7e22ce !important;
}

.dl-counter-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95) !important;
  margin-left: 0.15rem;
  letter-spacing: 0.02em;
}

[data-theme="light"] .dl-counter-label {
  color: rgba(255, 255, 255, 0.95) !important;
}

.dl-btn-counter-pill .dl-counter-val,
.dl-btn-counter-pill .dl-counter-label {
  color: #ffffff !important;
}


/* Real-time Counter Bump Animation */
@keyframes dlCountBumpAnim {
  0% {
    transform: scale(1);
  }
  40% {
    transform: scale(1.3);
    color: #10b981 !important;
  }
  100% {
    transform: scale(1);
  }
}

.dl-count-bump {
  display: inline-block;
  animation: dlCountBumpAnim 0.4s ease-out;
}

/* ============================================================
   11. DEDICATED HWID KEY GENERATOR PAGE SUITE (Zero-CLS & Themed)
   ============================================================ */
.hwid-hero-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2.25rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

[data-theme="light"] .hwid-hero-block {
  background: #ffffff;
  border-color: #e2e8f0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.hwid-hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
}

.hwid-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  background: rgba(16, 185, 129, 0.12);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

[data-theme="light"] .hwid-chip {
  background: #ecfdf5;
  color: #047857 !important;
  border-color: #a7f3d0;
}

.hwid-chip-blue {
  background: rgba(56, 189, 248, 0.12);
  color: #38bdf8;
  border-color: rgba(56, 189, 248, 0.3);
}

[data-theme="light"] .hwid-chip-blue {
  background: #f0f9ff;
  color: #0369a1 !important;
  border-color: #bae6fd;
}

.hwid-page-title {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--text-main);
  margin: 0 0 0.75rem 0;
  letter-spacing: -0.025em;
}

.hwid-page-desc {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text-sub);
  margin: 0;
  max-width: 820px;
}

/* 4-Step Process Visual Grid */
.generator-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 1.75rem 0 2rem 0;
}

@media (max-width: 900px) {
  .generator-steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 540px) {
  .generator-steps-grid {
    grid-template-columns: 1fr;
  }
}

.generator-step-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.18s ease, border-color 0.18s ease;
}

[data-theme="light"] .generator-step-card {
  background: #f8fafc;
  border-color: #e2e8f0;
}

.generator-step-card:hover {
  transform: translateY(-2px);
  border-color: #10b981;
}

.step-num-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.step-card-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 0 0 0.35rem 0;
}

.step-card-desc {
  font-size: 0.82rem;
  color: var(--text-sub);
  line-height: 1.5;
  margin: 0;
}

/* Feature Matrix Table */
.feature-matrix-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  margin: 1.5rem 0 2rem 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

[data-theme="light"] .feature-matrix-card {
  background: #ffffff;
  border-color: #e2e8f0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.feature-matrix-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.feature-matrix-table th {
  background: var(--bg-surface);
  padding: 0.85rem 1rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-dim);
  border-bottom: 1px solid var(--border);
}

[data-theme="light"] .feature-matrix-table th {
  background: #f1f5f9;
  color: #475569;
  border-bottom-color: #e2e8f0;
}

.feature-matrix-table td {
  padding: 0.85rem 1rem;
  font-size: 0.88rem;
  color: var(--text-sub);
  border-bottom: 1px solid var(--border-light, rgba(255, 255, 255, 0.05));
  vertical-align: middle;
}

[data-theme="light"] .feature-matrix-table td {
  border-bottom-color: #f1f5f9;
  color: #334155;
}

.feature-matrix-table tr:last-child td {
  border-bottom: none;
}

.feature-matrix-table .col-feat {
  font-weight: 600;
  color: var(--text-main);
}

.matrix-check {
  color: #10b981;
  font-weight: 800;
}

[data-theme="light"] .matrix-check {
  color: #047857 !important;
}

.matrix-pro-val {
  color: #10b981;
  font-weight: 700;
}

[data-theme="light"] .matrix-pro-val {
  color: #047857 !important;
}

/* Informational Callout Boxes */
.info-callout-box {
  background: rgba(56, 189, 248, 0.06);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-left: 4px solid #38bdf8;
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}

[data-theme="light"] .info-callout-box {
  background: #f0f9ff;
  border-color: #bae6fd;
  border-left-color: #0284c7;
}

.info-callout-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 0 0 0.4rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.info-callout-desc {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-sub);
  margin: 0;
}

/* Troubleshooting Cards */
.troubleshoot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 1.5rem 0 2rem 0;
}

@media (max-width: 840px) {
  .troubleshoot-grid {
    grid-template-columns: 1fr;
  }
}

.troubleshoot-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.35rem 1.25rem;
}

[data-theme="light"] .troubleshoot-card {
  background: #f8fafc;
  border-color: #e2e8f0;
}

.troubleshoot-err-code {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 800;
  padding: 0.18rem 0.6rem;
  border-radius: 6px;
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.3);
  margin-bottom: 0.65rem;
}

[data-theme="light"] .troubleshoot-err-code {
  background: #fef2f2;
  color: #b91c1c !important;
  border-color: #fecaca;
}

.troubleshoot-card-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 0 0 0.45rem 0;
}

.troubleshoot-card-fix {
  font-size: 0.84rem;
  color: var(--text-sub);
  line-height: 1.55;
  margin: 0;
}

/* Sleek Sidebar Download Button */
.btn-sidebar-download {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.65rem;
  width: 100%;
  padding: 0.75rem 1.15rem;
  border-radius: 9px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff !important;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none !important;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  box-sizing: border-box;
}

.btn-sidebar-download:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5);
  color: #ffffff !important;
}

.btn-sidebar-download .dl-icon {
  font-size: 1.15rem;
  flex-shrink: 0;
}

.btn-sidebar-download .dl-arrow {
  margin-left: auto;
  font-size: 1rem;
  transition: transform 0.18s ease;
  flex-shrink: 0;
}

.btn-sidebar-download:hover .dl-arrow {
  transform: translateX(3px);
}

/* ============================================================
   Article Section Figures & Visual Media
   ============================================================ */
.article-section-figure {
  margin: 1.5rem 0 1.85rem;
  padding: 0;
  border-radius: 14px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  box-shadow: 0 10px 26px -6px rgba(15, 23, 42, 0.08), 0 2px 6px rgba(15, 23, 42, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

[data-theme="dark"] .article-section-figure {
  background: #1e293b;
  border-color: rgba(148, 163, 184, 0.2);
  box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.35);
}

.article-section-figure:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -6px rgba(15, 23, 42, 0.13);
}

.article-img-responsive {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 13px 13px 0 0;
  object-fit: cover;
}

.article-figure-caption {
  padding: 0.75rem 1.15rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: #334155;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
}

[data-theme="dark"] .article-figure-caption {
  color: #cbd5e1;
  background: rgba(15, 23, 42, 0.55);
  border-top-color: rgba(148, 163, 184, 0.18);
}

/* ============================================================
   Official Browser Companion Extensions Strip & Badges
   ============================================================ */
.extension-install-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(56, 189, 248, 0.08) 100%);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: var(--radius-md, 12px);
  padding: 1.15rem 1.4rem;
  margin: 1.25rem 0 1.5rem;
  backdrop-filter: blur(8px);
}

[data-theme="light"] .extension-install-strip {
  background: linear-gradient(135deg, #f0fdf4 0%, #f0f9ff 100%);
  border-color: #a7f3d0;
}

.ext-strip-content {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex: 1 1 320px;
  min-width: 240px;
}

.ext-strip-text {
  min-width: 0;
}

.ext-strip-icon {
  font-size: 1.85rem;
  line-height: 1;
  flex-shrink: 0;
}

.ext-strip-text strong {
  display: block;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.2rem;
}

.ext-strip-text p {
  margin: 0;
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.ext-strip-buttons {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.75rem;
  row-gap: 0.6rem;
  flex: 0 1 auto;
}

.btn-ext-store {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 1.05rem;
  border-radius: 8px;
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: none !important;
  color: var(--text-main) !important;
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.btn-ext-store:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.btn-ext-chrome {
  border-color: rgba(34, 197, 94, 0.35);
}
.btn-ext-chrome:hover {
  border-color: #22c55e;
  background: rgba(34, 197, 94, 0.12);
  color: #22c55e !important;
}

.btn-ext-edge {
  border-color: rgba(56, 189, 248, 0.35);
}
.btn-ext-edge:hover {
  border-color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  color: #38bdf8 !important;
}

.btn-ext-firefox {
  border-color: rgba(249, 115, 22, 0.35);
}
.btn-ext-firefox:hover {
  border-color: #f97316;
  background: rgba(249, 115, 22, 0.12);
  color: #fb923c !important;
}

[data-theme="light"] .btn-ext-store {
  background: #ffffff;
  border-color: #cbd5e1;
}

[data-theme="light"] .btn-ext-edge:hover {
  background: #f0f9ff;
  border-color: #0284c7;
  color: #0284c7 !important;
}

[data-theme="light"] .btn-ext-chrome:hover {
  background: #f0fdf4;
  border-color: #16a34a;
  color: #16a34a !important;
}

[data-theme="light"] .btn-ext-firefox:hover {
  background: #fff7ed;
  border-color: #ea580c;
  color: #ea580c !important;
}

@media (max-width: 1100px) {
  .ext-strip-content {
    flex: 1 1 100%;
  }
  .ext-strip-buttons {
    width: 100%;
    justify-content: flex-start;
  }
  .btn-ext-store {
    flex: 1 1 auto;
    justify-content: center;
    min-width: 165px;
  }
}

@media (max-width: 860px) {
  .extension-install-strip {
    flex-direction: column;
    align-items: flex-start;
  }
  .ext-strip-buttons {
    width: 100%;
    flex-wrap: wrap;
  }
  .btn-ext-store {
    flex: 1;
    min-width: 180px;
    justify-content: center;
  }
}





