/* ===== RESET & BASE ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body {
  font-family: 'Poppins', 'Inter', sans-serif;
  line-height: 1.7;
  color: #333;
  background: #fff;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

/* ===== CONTAINER ===== */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container--narrow {
  max-width: 780px;
}

/* ===== TEXT GRADIENT ===== */
.text-gradient {
  background: linear-gradient(135deg, #fbbf24, #FF6B6B);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== ARTICLE GRID ===== */
.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
}

@media (max-width: 768px) {
  .article-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== FLOATING SHAPES ===== */
.hero-shapes {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.12;
}

.hero-shape--1 {
  width: 300px;
  height: 300px;
  background: linear-gradient(135deg, #FF6B6B, #6C63FF);
  top: -80px;
  right: -60px;
  animation: float 8s ease-in-out infinite;
}

.hero-shape--2 {
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, #4ECDC4, #6C63FF);
  bottom: -50px;
  left: -40px;
  animation: float 6s ease-in-out infinite reverse;
}

.hero-shape--3 {
  width: 150px;
  height: 150px;
  background: linear-gradient(135deg, #fbbf24, #f97316);
  top: 30%;
  left: 60%;
  animation: float 10s ease-in-out infinite;
}

.hero-shape--4 {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, #FF6B6B, #4ECDC4);
  bottom: 20%;
  right: 15%;
  animation: float 7s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  33% { transform: translateY(-20px) rotate(5deg); }
  66% { transform: translateY(10px) rotate(-3deg); }
}

@keyframes bounceIn {
  0% { transform: scale(0.3); opacity: 0; }
  50% { transform: scale(1.05); }
  70% { transform: scale(0.95); }
  100% { transform: scale(1); opacity: 1; }
}

/* ===== READING PROGRESS BAR ===== */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, #6C63FF, #4ECDC4);
  z-index: 9999;
  transition: width 0.1s linear;
}

.reading-progress--vedic {
  background: linear-gradient(90deg, #9333ea, #f5a623);
}

/* ===== NAV LOGO ===== */
.nav-logo {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

/* ===== BLOG NAV (landing page) ===== */
.blog-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  background: transparent;
  transition: all 0.3s ease;
}

.blog-nav.nav-scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
}

.blog-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.blog-nav__brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'Poppins', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  transition: color 0.3s ease;
}

.blog-nav.nav-scrolled .blog-nav__brand {
  color: #1A1A2E;
}

.blog-nav__brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.blog-nav__links {
  display: flex;
  gap: 1rem;
}

.blog-nav__links a {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.blog-nav__links a:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.blog-nav.nav-scrolled .blog-nav__links a {
  color: #555;
}

.blog-nav.nav-scrolled .blog-nav__links a:hover {
  background: rgba(108, 99, 255, 0.08);
  color: #6C63FF;
}

/* ===== LANDING HERO ===== */
.landing-hero {
  background: linear-gradient(135deg, #6C63FF 0%, #5A4CC4 40%, #4ECDC4 100%);
  padding: 10rem 0 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.landing-hero__content {
  position: relative;
  z-index: 2;
}

.landing-hero__logo {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  margin-bottom: 1.5rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  animation: bounceIn 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.landing-title {
  font-family: 'Poppins', sans-serif;
  font-size: 3.8rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 1rem;
  letter-spacing: -1.5px;
  line-height: 1.15;
}

.landing-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 400;
  max-width: 500px;
  margin: 0 auto 2.5rem;
}

.landing-hero__ctas {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
  border: none;
}

.btn--tech {
  background: #fff;
  color: #6C63FF;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.btn--tech:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.btn--vedic {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(10px);
}

.btn--vedic:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.7);
}

/* ===== LANDING SECTIONS ===== */
.landing-sections {
  padding: 5rem 0 6rem;
  background: linear-gradient(180deg, #f8f9ff 0%, #fff 100%);
}

.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

/* ===== SPLIT CARDS ===== */
.split-card {
  display: flex;
  flex-direction: column;
  padding: 2.5rem;
  border-radius: 24px;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
}

.split-card__glow {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  top: var(--mouse-y, 50%);
  left: var(--mouse-x, 50%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.split-card:hover .split-card__glow {
  opacity: 1;
}

.split-card:hover {
  transform: translateY(-10px);
}

/* Tech Card */
.split-card--tech {
  background: #fff;
  border: 1px solid #e8e8f0;
  box-shadow: 0 8px 30px rgba(108, 99, 255, 0.06);
}

.split-card--tech:hover {
  box-shadow: 0 25px 60px rgba(108, 99, 255, 0.15);
  border-color: rgba(108, 99, 255, 0.3);
}

.split-card--tech .split-card__glow {
  background: radial-gradient(circle, rgba(108, 99, 255, 0.08), transparent 70%);
}

.split-card--tech .split-card__icon {
  width: 70px;
  height: 70px;
  border-radius: 18px;
  background: linear-gradient(135deg, #6C63FF, #4ECDC4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: #fff;
  margin-bottom: 1.5rem;
  box-shadow: 0 8px 20px rgba(108, 99, 255, 0.25);
  transition: transform 0.3s ease;
}

.split-card--tech:hover .split-card__icon {
  transform: rotate(-5deg) scale(1.05);
}

.split-card--tech .split-card__title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: #1A1A2E;
  margin-bottom: 0.75rem;
}

.split-card--tech .split-card__desc {
  color: #6B7280;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.split-card--tech .split-card__cta {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: #6C63FF;
  margin-top: auto;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.split-card--tech .split-card__cta i {
  transition: transform 0.3s ease;
}

.split-card--tech:hover .split-card__cta i {
  transform: translateX(6px);
}

/* Vedic Card */
.split-card--vedic {
  background: linear-gradient(135deg, #fffcf5, #fff8f0);
  border: 1px solid #f0e6d2;
  box-shadow: 0 8px 30px rgba(245, 166, 35, 0.06);
}

.split-card--vedic:hover {
  box-shadow: 0 25px 60px rgba(147, 51, 234, 0.12);
  border-color: rgba(245, 166, 35, 0.4);
}

.split-card--vedic .split-card__glow {
  background: radial-gradient(circle, rgba(245, 166, 35, 0.08), transparent 70%);
}

.split-card--vedic .split-card__icon {
  width: 70px;
  height: 70px;
  border-radius: 18px;
  background: linear-gradient(135deg, #9333ea, #f5a623);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: #fff;
  margin-bottom: 1.5rem;
  box-shadow: 0 8px 20px rgba(147, 51, 234, 0.2);
  transition: transform 0.3s ease;
}

.split-card--vedic:hover .split-card__icon {
  transform: rotate(5deg) scale(1.05);
}

.split-card--vedic .split-card__title {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: #1a0a2e;
  margin-bottom: 0.75rem;
}

.split-card--vedic .split-card__desc {
  color: #6B7280;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.split-card--vedic .split-card__cta {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  color: #9333ea;
  margin-top: auto;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.split-card--vedic .split-card__cta i {
  transition: transform 0.3s ease;
}

.split-card--vedic:hover .split-card__cta i {
  transform: translateX(6px);
}

/* Recent Posts */
.split-card__posts {
  margin-bottom: 1.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  padding-top: 1rem;
}

.split-card__post-item {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  padding: 0.5rem 0;
  transition: padding-left 0.3s ease;
}

.split-card:hover .split-card__post-item {
  padding-left: 0.5rem;
}

.split-card__post-date {
  font-size: 0.8rem;
  color: #999;
  white-space: nowrap;
  min-width: 75px;
}

.split-card__post-title {
  font-size: 0.9rem;
  font-weight: 500;
  color: #444;
}

/* ===== FOOTER ===== */
.site-footer {
  position: relative;
  background: transparent;
}

.footer-wave {
  color: #1A1A2E;
  line-height: 0;
  margin-bottom: -1px;
}

.footer-wave svg {
  width: 100%;
  height: 60px;
}

.footer-content {
  background: #1A1A2E;
  padding: 3rem 0 2rem;
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.footer-logo {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.footer-brand span {
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-links a:hover {
  color: #4ECDC4;
  transform: translateY(-2px);
}

.footer-copy {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.85rem;
}

/* ===== PAGINATION ===== */
.pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 3rem;
  padding-bottom: 2rem;
  list-style: none;
}

.page-item .page-link {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  color: #555;
  background: #f0f0f5;
  transition: all 0.3s ease;
}

.page-item.active .page-link,
.page-item .page-link:hover {
  background: linear-gradient(135deg, #6C63FF, #4ECDC4);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(108, 99, 255, 0.25);
}

/* ===== DARK MODE TOGGLE ===== */
.dark-mode-toggle {
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: rgba(255, 255, 255, 0.85);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.dark-mode-toggle:hover {
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
  transform: rotate(20deg);
}

.blog-nav .dark-mode-toggle {
  color: rgba(255, 255, 255, 0.7);
}

.blog-nav.nav-scrolled .dark-mode-toggle {
  color: #555;
  background: rgba(0, 0, 0, 0.05);
}

.blog-nav.nav-scrolled .dark-mode-toggle:hover {
  background: rgba(108, 99, 255, 0.1);
  color: #6C63FF;
}

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6C63FF, #4ECDC4);
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 999;
  box-shadow: 0 4px 15px rgba(108, 99, 255, 0.3);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(108, 99, 255, 0.4);
}

.section-vedicjivan .back-to-top {
  background: linear-gradient(135deg, #9333ea, #f5a623);
  box-shadow: 0 4px 15px rgba(147, 51, 234, 0.3);
}

.section-vedicjivan .back-to-top:hover {
  box-shadow: 0 8px 25px rgba(147, 51, 234, 0.4);
}

/* ===== LANGUAGE TOGGLE ===== */
.lang-toggle {
  display: inline-flex;
  gap: 0.5rem;
  margin-top: 1rem;
}

.lang-toggle__btn {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.85rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid #555;
  color: #333;
  background: rgba(0, 0, 0, 0.05);
}

.lang-toggle__btn:hover {
  background: rgba(0, 0, 0, 0.1);
  border-color: #222;
  color: #111;
  transform: translateY(-2px);
}

.lang-toggle__btn--hi {
  font-family: 'Noto Sans Devanagari', 'Poppins', sans-serif;
}

[data-theme="dark"] .lang-toggle__btn {
  border: 2px solid rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .lang-toggle__btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
}

/* Hindi font stack — set on body so icons inherit Font Awesome */
[lang="hi"] body {
  font-family: 'Noto Sans Devanagari', 'Poppins', sans-serif;
}

/* ===== ARTICLE HERO IMAGE ===== */
.article-hero-image {
  background: #f4f4f8;
  padding: 1rem 0;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.section-vedicjivan .article-hero-image {
  background: #fdf8f2;
  border-color: #f0e6d2;
}

.article-hero-image__img {
  display: block;
  max-width: 100%;
  max-height: 95vh;
  width: auto;
  height: auto;
  margin: 0 auto;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .article-hero-image {
  background: #141420;
  border-color: #1e1e30;
}

@media (max-width: 768px) {
  .article-hero-image {
    padding: 0.75rem 0.5rem;
  }

  .article-hero-image__img {
    border-radius: 12px;
  }
}

/* ===== ARTICLE WITH TOC LAYOUT ===== */
.article-with-toc {
  display: flex;
  gap: 2.5rem;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.article-with-toc > .container {
  flex: 1;
  min-width: 0;
  padding: 0;
}

/* ===== TABLE OF CONTENTS SIDEBAR ===== */
.toc-sidebar {
  width: 250px;
  flex-shrink: 0;
  position: sticky;
  top: 80px;
  order: 2;
}

.toc-sidebar__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid rgba(108, 99, 255, 0.1);
}

.toc-sidebar__title {
  font-family: 'Poppins', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: #1A1A2E;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.toc-sidebar__title i {
  margin-right: 0.4rem;
  color: #6C63FF;
}

.section-vedicjivan .toc-sidebar__title i {
  color: #9333ea;
}

.section-vedicjivan .toc-sidebar__header {
  border-bottom-color: rgba(245, 166, 35, 0.15);
}

.toc-sidebar__toggle {
  background: none;
  border: none;
  color: #999;
  cursor: pointer;
  font-size: 0.75rem;
  padding: 0.25rem;
  transition: transform 0.3s ease;
  display: none;
}

.toc-sidebar__nav {
  transition: max-height 0.3s ease, opacity 0.3s ease;
}

.toc-sidebar__nav.collapsed {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
}

.toc-sidebar__nav nav > ul,
.toc-sidebar__nav > ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.toc-sidebar__nav li {
  margin-bottom: 0.25rem;
}

.toc-sidebar__nav a {
  display: block;
  font-size: 0.82rem;
  color: #6B7280;
  padding: 0.35rem 0.75rem;
  border-left: 2px solid transparent;
  border-radius: 0 6px 6px 0;
  transition: all 0.2s ease;
  line-height: 1.4;
}

.toc-sidebar__nav a:hover {
  color: #6C63FF;
  background: rgba(108, 99, 255, 0.04);
  border-left-color: rgba(108, 99, 255, 0.3);
}

.toc-sidebar__nav a.active {
  color: #6C63FF;
  font-weight: 600;
  background: rgba(108, 99, 255, 0.06);
  border-left-color: #6C63FF;
}

.section-vedicjivan .toc-sidebar__nav a:hover {
  color: #9333ea;
  background: rgba(147, 51, 234, 0.04);
  border-left-color: rgba(147, 51, 234, 0.3);
}

.section-vedicjivan .toc-sidebar__nav a.active {
  color: #9333ea;
  background: rgba(147, 51, 234, 0.06);
  border-left-color: #9333ea;
}

.toc-sidebar__nav ul ul {
  list-style: none;
  padding-left: 0.75rem;
}

/* ===== ENGAGEMENT BAR (Reactions + Share) ===== */
/* ===== FLOATING ENGAGEMENT SIDEBAR ===== */
.engagement-bar {
  position: fixed;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 998;
  padding: 0;
  background: none;
  border: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.engagement-bar.hidden {
  opacity: 0;
  transform: translateY(-50%) translateX(100%);
  pointer-events: none;
}

.engagement-bar .container {
  padding: 0;
  max-width: none;
}

.engagement-bar__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.section-vedicjivan .engagement-bar__inner {
  border-color: rgba(147, 51, 234, 0.1);
}

/* ===== REACTIONS ===== */
.reactions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
}

.reactions__label {
  display: none;
}

.reactions__buttons {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.reaction-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  padding: 0.5rem;
  border: 2px solid transparent;
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
  min-width: 44px;
}

.reaction-btn:hover {
  border-color: #6C63FF;
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(108, 99, 255, 0.15);
  background: rgba(108, 99, 255, 0.05);
}

.section-vedicjivan .reaction-btn:hover {
  border-color: #9333ea;
  box-shadow: 0 4px 12px rgba(147, 51, 234, 0.15);
  background: rgba(147, 51, 234, 0.05);
}

.reaction-btn.reacted {
  border-color: #6C63FF;
  background: rgba(108, 99, 255, 0.08);
}

.section-vedicjivan .reaction-btn.reacted {
  border-color: #9333ea;
  background: rgba(147, 51, 234, 0.08);
}

.reaction-btn__emoji {
  font-size: 1.2rem;
  line-height: 1;
}

.reaction-btn__count {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.7rem;
  color: #555;
  line-height: 1;
}

.reaction-btn--pop {
  animation: reactionPop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes reactionPop {
  0% { transform: scale(1); }
  40% { transform: scale(1.25); }
  100% { transform: scale(1); }
}

/* Divider between reactions and share */
.engagement-bar__inner .share-buttons {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding-top: 0.4rem;
}

/* ===== SHARE BUTTONS ===== */
.share-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
}

.share-buttons__label {
  display: none;
}

.share-buttons__list {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.share-btn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: #fff;
  transition: all 0.3s ease;
}

.share-btn:hover {
  transform: scale(1.15);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.share-btn--twitter {
  background: #1DA1F2;
  box-shadow: 0 2px 8px rgba(29, 161, 242, 0.3);
}

.share-btn--linkedin {
  background: #0A66C2;
  box-shadow: 0 2px 8px rgba(10, 102, 194, 0.3);
}

.share-btn--whatsapp {
  background: #25D366;
  box-shadow: 0 2px 8px rgba(37, 211, 102, 0.3);
}

.share-btn--copy {
  background: linear-gradient(135deg, #6C63FF, #4ECDC4);
  box-shadow: 0 2px 8px rgba(108, 99, 255, 0.3);
}

.section-vedicjivan .share-btn--copy {
  background: linear-gradient(135deg, #9333ea, #f5a623);
  box-shadow: 0 2px 8px rgba(147, 51, 234, 0.3);
}

.share-btn--copied {
  background: #10B981 !important;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3) !important;
}

/* ===== RELATED ARTICLES ===== */
.related-articles {
  padding: 3rem 0;
  background: #fff;
}

.related-articles__title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #1A1A2E;
  margin-bottom: 1.5rem;
}

.related-articles__title i {
  margin-right: 0.5rem;
  color: #6C63FF;
}

.section-vedicjivan .related-articles__title {
  font-family: 'Playfair Display', serif;
}

.section-vedicjivan .related-articles__title i {
  color: #f5a623;
}

.related-articles__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.25rem;
}

.related-card {
  display: flex;
  flex-direction: column;
  padding: 1.25rem;
  border-radius: 16px;
  background: #f9f9ff;
  border: 1px solid #eee;
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
}

.section-vedicjivan .related-card {
  background: #fdf9f2;
  border-color: #f0e6d2;
}

.related-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(108, 99, 255, 0.1);
  border-color: rgba(108, 99, 255, 0.2);
}

.section-vedicjivan .related-card:hover {
  box-shadow: 0 10px 30px rgba(147, 51, 234, 0.1);
  border-color: rgba(245, 166, 35, 0.3);
}

.related-card__date {
  font-size: 0.75rem;
  color: #999;
  margin-bottom: 0.5rem;
}

.related-card__title {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #1A1A2E;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.section-vedicjivan .related-card__title {
  font-family: 'Playfair Display', serif;
}

.related-card__excerpt {
  font-size: 0.82rem;
  color: #6B7280;
  line-height: 1.6;
  flex-grow: 1;
  margin-bottom: 0.75rem;
}

.related-card__link {
  font-size: 0.82rem;
  font-weight: 600;
  color: #6C63FF;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.section-vedicjivan .related-card__link {
  color: #9333ea;
}

.related-card:hover .related-card__link i {
  transform: translateX(4px);
}

.related-card__link i {
  font-size: 0.7rem;
  transition: transform 0.3s ease;
}

/* ===== NEWSLETTER CTA ===== */
.newsletter-cta {
  padding: 2.5rem 0;
  background: #fff;
}

.newsletter-cta__card {
  background: linear-gradient(135deg, #f0eeff, #e8f8f7);
  border-radius: 20px;
  padding: 2.5rem;
  text-align: center;
  border: 1px solid rgba(108, 99, 255, 0.1);
}

.section-vedicjivan .newsletter-cta__card {
  background: linear-gradient(135deg, #fef9f0, #f5f0ff);
  border-color: rgba(245, 166, 35, 0.15);
}

.newsletter-cta__card--subscribed {
  background: linear-gradient(135deg, #e8f7ef, #f0fdf4) !important;
  border-color: rgba(16, 185, 129, 0.2) !important;
}

.newsletter-cta__icon {
  font-size: 2rem;
  color: #6C63FF;
  margin-bottom: 0.75rem;
}

.section-vedicjivan .newsletter-cta__icon {
  color: #9333ea;
}

.newsletter-cta__card--subscribed .newsletter-cta__icon {
  color: #10B981;
}

.newsletter-cta__title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #1A1A2E;
  margin-bottom: 0.5rem;
}

.section-vedicjivan .newsletter-cta__title {
  font-family: 'Playfair Display', serif;
}

.newsletter-cta__desc {
  font-size: 0.95rem;
  color: #6B7280;
  margin-bottom: 1.5rem;
  max-width: 450px;
  margin-left: auto;
  margin-right: auto;
}

.newsletter-cta__form {
  display: flex;
  max-width: 440px;
  margin: 0 auto;
  gap: 0.5rem;
}

.newsletter-cta__input {
  flex: 1;
  padding: 0.75rem 1.25rem;
  border: 2px solid #e0e0e0;
  border-radius: 50px;
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: border-color 0.3s ease;
  background: #fff;
  color: #333;
}

.newsletter-cta__input:focus {
  border-color: #6C63FF;
}

.section-vedicjivan .newsletter-cta__input:focus {
  border-color: #9333ea;
}

.newsletter-cta__btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  border: none;
  background: linear-gradient(135deg, #6C63FF, #4ECDC4);
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.section-vedicjivan .newsletter-cta__btn {
  background: linear-gradient(135deg, #9333ea, #f5a623);
}

.newsletter-cta__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(108, 99, 255, 0.3);
}

.section-vedicjivan .newsletter-cta__btn:hover {
  box-shadow: 0 5px 15px rgba(147, 51, 234, 0.3);
}

.newsletter-cta__btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.newsletter-cta__status {
  font-size: 0.85rem;
  margin-top: 0.75rem;
  color: #6B7280;
}

.newsletter-cta__status--error {
  color: #EF4444;
}

/* ===== COMMENTS SECTION ===== */
.comments-section {
  padding: 2.5rem 0 3rem;
  background: #fff;
}

.comments-section__title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #1A1A2E;
  margin-bottom: 1.5rem;
}

.comments-section__title i {
  margin-right: 0.5rem;
  color: #6C63FF;
}

.section-vedicjivan .comments-section__title {
  font-family: 'Playfair Display', serif;
}

.section-vedicjivan .comments-section__title i {
  color: #9333ea;
}

/* ===== FIREBASE COMMENTS (VedicJivan) ===== */
.comment-form {
  margin-bottom: 2rem;
}

.comment-form__fields {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.comment-form__input {
  flex: 1;
  min-width: 180px;
  padding: 0.75rem 1rem;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  background: #fafafa;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.comment-form__input:focus {
  outline: none;
  border-color: #9333ea;
  box-shadow: 0 0 0 3px rgba(147, 51, 234, 0.1);
}

.comment-form__input--website {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  pointer-events: none;
}

.comment-form__textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  background: #fafafa;
  resize: vertical;
  min-height: 100px;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.comment-form__textarea:focus {
  outline: none;
  border-color: #9333ea;
  box-shadow: 0 0 0 3px rgba(147, 51, 234, 0.1);
}

.comment-form__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.75rem;
}

.comment-form__note {
  font-size: 0.8rem;
  color: #888;
}

.comment-form__note i {
  margin-right: 0.3rem;
  color: #9333ea;
}

.comment-form__submit {
  padding: 0.7rem 1.5rem;
  background: linear-gradient(135deg, #9333ea, #7c3aed);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.3s;
}

.comment-form__submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(147, 51, 234, 0.3);
}

.comment-form__submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.comment-form__cancel {
  padding: 0.5rem 1rem;
  background: none;
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.85rem;
  color: #888;
  cursor: pointer;
  transition: border-color 0.3s, color 0.3s;
}

.comment-form__cancel:hover {
  border-color: #999;
  color: #555;
}

.comment-status {
  padding: 0.75rem 1rem;
  border-radius: 10px;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.comment-status--success {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.comment-status--success i {
  color: #10b981;
  margin-right: 0.4rem;
}

.comment-status--error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

.comment-status--error i {
  color: #ef4444;
  margin-right: 0.4rem;
}

.comments-count {
  font-size: 0.9rem;
  font-weight: 600;
  color: #9333ea;
  margin-bottom: 0.5rem;
}

.comments-count i {
  margin-right: 0.3rem;
}

.comments-list__empty {
  text-align: center;
  color: #aaa;
  font-size: 0.95rem;
  padding: 2rem 0;
}

.comments-list__loading {
  text-align: center;
  color: #aaa;
  padding: 2rem 0;
}

/* Comment item */
.comment-item {
  display: flex;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid #f0f0f0;
}

.comment-item:last-child {
  border-bottom: none;
}

.comment-item__avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #9333ea, #ec4899);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.comment-item__body {
  flex: 1;
  min-width: 0;
}

.comment-item__header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.4rem;
  flex-wrap: wrap;
}

.comment-item__name {
  font-weight: 600;
  font-size: 0.95rem;
  color: #1A1A2E;
}

.comment-item__reply-to {
  font-size: 0.8rem;
  color: #9333ea;
}

.comment-item__reply-to i {
  margin-right: 0.2rem;
  font-size: 0.7rem;
}

.comment-item__date {
  font-size: 0.8rem;
  color: #999;
}

.comment-item__text {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
}

/* Comment actions (reactions + reply) */
.comment-item__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.6rem;
}

.comment-reaction {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  border: 1.5px solid #e5e7eb;
  border-radius: 20px;
  background: #fafafa;
  font-family: 'Poppins', sans-serif;
  font-size: 0.85rem;
  color: #888;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
}

.comment-reaction__emoji {
  font-size: 1.1rem;
  line-height: 1;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.comment-reaction:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.comment-reaction:hover .comment-reaction__emoji {
  transform: scale(1.3);
}

.comment-reaction--like:hover,
.comment-reaction--like.comment-reaction--active {
  border-color: #3b82f6;
  background: rgba(59, 130, 246, 0.08);
  color: #3b82f6;
}

.comment-reaction--love:hover,
.comment-reaction--love.comment-reaction--active {
  border-color: #ef4444;
  background: rgba(239, 68, 68, 0.08);
  color: #ef4444;
}

.comment-reaction--active {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.comment-reaction--pop {
  animation: commentReactionPop 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes commentReactionPop {
  0% { transform: scale(1); }
  25% { transform: scale(1.3) rotate(-5deg); }
  50% { transform: scale(0.9) rotate(3deg); }
  75% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

.comment-reaction__count {
  font-weight: 700;
  font-size: 0.8rem;
  min-width: 0.5em;
}

.comment-reply-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.3rem 0.65rem;
  border: none;
  border-radius: 20px;
  background: none;
  font-family: 'Poppins', sans-serif;
  font-size: 0.8rem;
  color: #888;
  cursor: pointer;
  transition: color 0.25s;
}

.comment-reply-btn:hover {
  color: #9333ea;
}

/* Threaded replies */
.comment-item--reply {
  padding-left: 0;
}

.comment-item--reply .comment-item__avatar {
  width: 34px;
  height: 34px;
  font-size: 0.9rem;
}

.comment-replies {
  margin-top: 0.5rem;
  padding-left: 0.5rem;
  border-left: 2px solid rgba(147, 51, 234, 0.15);
}

.comment-replies .comment-item {
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.comment-replies .comment-replies {
  border-left-color: rgba(147, 51, 234, 0.08);
}

/* Inline reply form */
.comment-reply-form-wrapper {
  margin-top: 0.75rem;
  padding: 1rem;
  background: #f9f9fb;
  border-radius: 12px;
  border: 1px solid #eee;
}

.comment-form--reply {
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.comment-form--reply .comment-form__input {
  width: 100%;
}

.comment-form--reply .comment-form__textarea {
  min-height: 70px;
}

.comment-form--reply .comment-form__footer {
  justify-content: flex-end;
  gap: 0.5rem;
  margin-top: 0;
}

.comment-form__submit--reply {
  padding: 0.5rem 1.2rem;
  font-size: 0.85rem;
}

@media (max-width: 600px) {
  .comment-form__fields {
    flex-direction: column;
  }

  .comment-form__footer {
    flex-direction: column;
    gap: 0.75rem;
    align-items: stretch;
  }

  .comment-form__submit {
    text-align: center;
  }

  .comment-form__note {
    text-align: center;
  }

  .comment-replies {
    padding-left: 0.25rem;
  }

  .comment-form--reply .comment-form__footer {
    flex-direction: row;
    justify-content: flex-end;
  }
}

/* ===== DARK MODE ===== */
html { transition: background-color 0.3s ease, color 0.3s ease; }

[data-theme="dark"] body {
  background: #0f0f1a;
  color: #e0e0e0;
}

[data-theme="dark"] .engagement-bar__inner {
  background: rgba(26, 26, 46, 0.95);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .engagement-bar__inner .share-buttons {
  border-top-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .reaction-btn {
  background: transparent;
  border-color: transparent;
  color: #e0e0e0;
}

[data-theme="dark"] .reaction-btn__count { color: #ccc; }

[data-theme="dark"] .reaction-btn:hover { background: #252540; border-color: #6C63FF; }

[data-theme="dark"] .related-articles { background: #0f0f1a; }
[data-theme="dark"] .related-articles__title { color: #e0e0e0; }

[data-theme="dark"] .related-card {
  background: #1a1a2e;
  border-color: #2a2a40;
}

[data-theme="dark"] .related-card:hover { box-shadow: 0 10px 30px rgba(108, 99, 255, 0.15); }
[data-theme="dark"] .related-card__title { color: #e0e0e0; }
[data-theme="dark"] .related-card__excerpt { color: #999; }

[data-theme="dark"] .newsletter-cta { background: #0f0f1a; }

[data-theme="dark"] .newsletter-cta__card {
  background: linear-gradient(135deg, #1a1a2e, #1e2030);
  border-color: #2a2a40;
}

[data-theme="dark"] .newsletter-cta__title { color: #e0e0e0; }
[data-theme="dark"] .newsletter-cta__desc { color: #999; }

[data-theme="dark"] .newsletter-cta__input {
  background: #1e1e30;
  border-color: #2a2a40;
  color: #e0e0e0;
}

[data-theme="dark"] .comments-section { background: #0f0f1a; }
[data-theme="dark"] .comments-section__title { color: #e0e0e0; }

[data-theme="dark"] .comment-form__input,
[data-theme="dark"] .comment-form__textarea {
  background: #1a1a2e;
  border-color: #2a2a40;
  color: #e0e0e0;
}
[data-theme="dark"] .comment-form__input:focus,
[data-theme="dark"] .comment-form__textarea:focus {
  border-color: #9333ea;
  box-shadow: 0 0 0 3px rgba(147, 51, 234, 0.15);
}
[data-theme="dark"] .comment-form__input::placeholder,
[data-theme="dark"] .comment-form__textarea::placeholder { color: #666; }
[data-theme="dark"] .comment-form__note { color: #777; }
[data-theme="dark"] .comment-status--success { background: #064e3b; color: #a7f3d0; border-color: #065f46; }
[data-theme="dark"] .comment-status--error { background: #450a0a; color: #fca5a5; border-color: #991b1b; }
[data-theme="dark"] .comment-item { border-bottom-color: #1e1e30; }
[data-theme="dark"] .comment-item__name { color: #e0e0e0; }
[data-theme="dark"] .comment-item__date { color: #777; }
[data-theme="dark"] .comment-item__text { color: #bbb; }
[data-theme="dark"] .comments-list__empty { color: #666; }
[data-theme="dark"] .comments-count { color: #a78bfa; }
[data-theme="dark"] .comment-form__cancel { border-color: #2a2a40; color: #777; }
[data-theme="dark"] .comment-form__cancel:hover { border-color: #555; color: #bbb; }
[data-theme="dark"] .comment-item__reply-to { color: #a78bfa; }
[data-theme="dark"] .comment-reaction { border-color: #2a2a40; color: #777; background: #1a1a2e; }
[data-theme="dark"] .comment-reaction:hover { box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25); }
[data-theme="dark"] .comment-reaction--like:hover,
[data-theme="dark"] .comment-reaction--like.comment-reaction--active { border-color: #60a5fa; background: rgba(59, 130, 246, 0.15); color: #60a5fa; }
[data-theme="dark"] .comment-reaction--love:hover,
[data-theme="dark"] .comment-reaction--love.comment-reaction--active { border-color: #f87171; background: rgba(239, 68, 68, 0.15); color: #f87171; }
[data-theme="dark"] .comment-reply-btn { color: #777; }
[data-theme="dark"] .comment-reply-btn:hover { color: #a78bfa; }
[data-theme="dark"] .comment-replies { border-left-color: rgba(147, 51, 234, 0.25); }
[data-theme="dark"] .comment-replies .comment-item { border-bottom-color: rgba(255, 255, 255, 0.04); }
[data-theme="dark"] .comment-reply-form-wrapper { background: #1a1a2e; border-color: #2a2a40; }

[data-theme="dark"] .toc-sidebar__title { color: #e0e0e0; }
[data-theme="dark"] .toc-sidebar__header { border-bottom-color: #2a2a40; }
[data-theme="dark"] .toc-sidebar__nav a { color: #999; }

[data-theme="dark"] .toc-sidebar__nav a:hover,
[data-theme="dark"] .toc-sidebar__nav a.active {
  color: #8b80ff;
  background: rgba(108, 99, 255, 0.08);
}

[data-theme="dark"] .footer-content { background: #0a0a14; }
[data-theme="dark"] .footer-wave { color: #0a0a14; }

[data-theme="dark"] .landing-sections {
  background: linear-gradient(180deg, #0f0f1a, #0f0f1a);
}

[data-theme="dark"] .split-card--tech {
  background: #1a1a2e;
  border-color: #2a2a40;
}

[data-theme="dark"] .split-card--tech:hover {
  box-shadow: 0 25px 60px rgba(108, 99, 255, 0.2);
}

[data-theme="dark"] .split-card--tech .split-card__title { color: #e0e0e0; }
[data-theme="dark"] .split-card--tech .split-card__desc { color: #999; }

[data-theme="dark"] .split-card--vedic {
  background: #1a1520;
  border-color: #2a2030;
}

[data-theme="dark"] .split-card--vedic:hover {
  box-shadow: 0 25px 60px rgba(147, 51, 234, 0.15);
}

[data-theme="dark"] .split-card--vedic .split-card__title { color: #e0e0e0; }
[data-theme="dark"] .split-card--vedic .split-card__desc { color: #999; }

[data-theme="dark"] .split-card__posts { border-top-color: rgba(255, 255, 255, 0.08); }
[data-theme="dark"] .split-card__post-title { color: #ccc; }
[data-theme="dark"] .split-card__post-date { color: #777; }

[data-theme="dark"] .blog-nav.nav-scrolled {
  background: rgba(15, 15, 26, 0.95);
}

[data-theme="dark"] .blog-nav.nav-scrolled .blog-nav__brand { color: #e0e0e0; }
[data-theme="dark"] .blog-nav.nav-scrolled .blog-nav__links a { color: #aaa; }

[data-theme="dark"] .blog-nav.nav-scrolled .blog-nav__links a:hover {
  background: rgba(108, 99, 255, 0.15);
  color: #8b80ff;
}

[data-theme="dark"] .blog-nav.nav-scrolled .dark-mode-toggle {
  color: #aaa;
  background: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .page-item .page-link {
  background: #1a1a2e;
  color: #ccc;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .landing-title { font-size: 2.5rem; }
  .landing-hero { padding: 8rem 0 4rem; }
  .split-grid { grid-template-columns: 1fr; }
  .blog-nav__links { gap: 0.5rem; flex-wrap: wrap; justify-content: flex-end; }
  .blog-nav__links a { font-size: 0.85rem; padding: 0.3rem 0.6rem; }
  .landing-hero__ctas { flex-direction: column; align-items: center; }
  .footer-links { flex-direction: column; align-items: center; gap: 1rem; }

  .article-with-toc {
    flex-direction: column;
    padding: 0 1rem;
  }

  .toc-sidebar {
    width: 100%;
    position: relative;
    top: auto;
    max-height: none;
    order: -1;
    margin-bottom: 1.5rem;
    padding: 0;
  }

  .toc-sidebar__toggle { display: block; }

  .toc-sidebar__nav {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
  }

  .toc-sidebar__nav:not(.collapsed) {
    max-height: none;
    opacity: 1;
  }

  .engagement-bar {
    right: 0.5rem;
  }

  .engagement-bar__inner {
    padding: 0.4rem;
    border-radius: 12px;
  }

  .reaction-btn {
    padding: 0.4rem;
    min-width: 38px;
  }

  .reaction-btn__emoji {
    font-size: 1rem;
  }

  .share-btn {
    width: 32px;
    height: 32px;
    font-size: 0.8rem;
    border-radius: 8px;
  }

  .newsletter-cta__form { flex-direction: column; }
  .newsletter-cta__btn { justify-content: center; }
  .newsletter-cta__card { padding: 1.5rem; }
  .related-articles__grid { grid-template-columns: 1fr; }

  .container {
    padding: 0 1rem;
  }

  .split-card {
    padding: 1.75rem;
  }
}

@media (max-width: 480px) {
  .landing-title { font-size: 2rem; }
  .landing-subtitle { font-size: 1.05rem; }

  .reaction-btn {
    padding: 0.4rem 0.75rem;
    font-size: 0.85rem;
  }

  .comment-item {
    gap: 0.75rem;
  }

  .comment-item__avatar {
    width: 36px;
    height: 36px;
    font-size: 0.95rem;
  }

  .comment-item__actions {
    flex-wrap: wrap;
  }

  .comment-item__text {
    word-break: break-word;
  }
}
