:root {

  /* --- Brand Colors --- */
  --primary:        #2563eb;
  --primary-dark:   #1d4ed8;

  /* --- Navy Palette --- */
  --navy:           #121630;
  --navy-mid:       #1c2444;

  /* --- Blue Palette --- */
  --blue:           #2b749e;
  --blue-light:     #4a90bb;
  --blue-faint:     #edf5fa;

  /* --- Text Colors --- */
  --text-dark:      #0f172a;
  --text-body:      #475569;
  --ink:            #141824;
  --ink-soft:       #2e3550;
  --body-text:      #475069;
  --muted:          #8892aa;

  /* --- Surface & Border Colors --- */
  --bg-light:       #f8fafc;
  --surface:        #f6f8fc;
  --white:          #ffffff;
  --border:         #e2e8f0;
  --rule:           #dde3ed;

  /* --- Typography --- */
  --font-primary:   "Kumbh Sans", sans-serif;

  /* --- Border Radius --- */
  --radius:         14px;
  --radius-lg:      16px;

  /* --- Box Shadows --- */
  --shadow-soft:    0 10px 25px rgba(15, 23, 42, 0.08);
  --shadow-sm:      0 2px 10px rgba(20, 26, 48, 0.06);
  --shadow-md:      0 8px 32px rgba(20, 26, 48, 0.10);
  --shadow-lg:      0 20px 56px rgba(20, 26, 48, 0.14);

  /* --- Transitions --- */
  --transition:     0.32s cubic-bezier(0.4, 0, 0.2, 1);
}


/* =============================================================================
   2. RESET & BASE STYLES
   ============================================================================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-primary);
  background: var(--bg-light);
  color: var(--text-body);
  line-height: 1.7;
}


/* =============================================================================
   3. GLOBAL TYPOGRAPHY — Kumbh Sans on all text elements
   ============================================================================= */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-primary);
}

p,
li,
a,
span,
label,
blockquote,
figcaption,
td,
th {
  font-family: var(--font-primary);
}


/* =============================================================================
   4. BLOG HERO
   ============================================================================= */

.blog-hero {
  background:
    linear-gradient(rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0.75)),
    var(--hero-image);
  background-size: cover;
  background-position: center;
  padding: 120px 20px 70px;
  text-align: center;
  color: #fff;
}

.blog-hero-content {
  max-width: 900px;
  margin: 0 auto;
}

.blog-hero h1 {
  font-family: var(--font-primary);
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.blog-hero .subtitle {
  font-family: var(--font-primary);
  font-size: 1.15rem;
  max-width: 760px;
  margin: 0 auto 1.5rem;
  opacity: 0.95;
  color: rgba(255, 255, 255, 0.8) !important;
}

.blog-meta {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 0.9rem;
  opacity: 0.9;
}


/* =============================================================================
   5. BLOG LAYOUT
   ============================================================================= */

.blog-container {
  max-width: 960px;
  margin: -50px auto 60px;
  padding: 0 16px;
}

.blog-content {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 42px 40px;
}


/* =============================================================================
   6. ARTICLE TYPOGRAPHY
   ============================================================================= */

.blog-content h2 {
  font-family: var(--font-primary);
  font-size: 1.75rem;
  color: var(--text-dark);
  margin: 2.8rem 0 1rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--border);
}

.blog-content h3 {
  font-family: var(--font-primary);
  font-size: 1.4rem;
  margin: 2rem 0 0.8rem;
  color: #1e293b;
}

.blog-content p {
  font-family: var(--font-primary);
  font-size: 1.05rem;
  margin-bottom: 1.1rem;
  text-align: justify;
}

.intro-section p {
  font-family: var(--font-primary);
  font-size: 1.15rem;
  color: #334155;
  text-align: justify;
}

.blog-content a {
  font-family: var(--font-primary);
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}

.blog-content a:hover {
  text-decoration: underline;
}


/* =============================================================================
   7. FEATURE IMAGE
   ============================================================================= */

.feature-image {
  margin: 2rem 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.feature-image img {
  width: 100%;
  height: auto;
  display: block;
}


/* =============================================================================
   8. LISTS
   ============================================================================= */

.blog-content ul {
  font-family: var(--font-primary);
  padding-left: 1.8rem;
  margin: 1.4rem 0;
  list-style-type: disc;
}

.blog-content ul ul {
  list-style-type: circle;
  margin: 0.4rem 0;
}

.blog-content li {
  font-family: var(--font-primary);
  margin-bottom: 0.6rem;
  display: list-item;
  text-align: justify;
}


/* =============================================================================
   9. CALLOUT BOX
   ============================================================================= */

.callout-box {
  position: relative;
  margin: 40px 0;
  padding: 22px 26px 22px 28px;
  background: var(--blue-faint);
  border-left: 3px solid var(--blue);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}

.callout-box p {
  font-family: var(--font-primary);
  margin: 0;
  font-size: 0.935rem;
  color: var(--ink-soft);
  font-style: italic;
  line-height: 1.75;
  text-align: justify;
}

.callout-box strong {
  color: var(--blue);
  font-style: normal;
  font-weight: 700;
}


/* =============================================================================
   10. PROCESS LIST
   ============================================================================= */

.process-list {
  margin: 24px 0 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.process-item {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: 24px 26px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
}

.process-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(180deg, var(--blue), var(--navy));
}

.process-item:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(43, 116, 158, 0.3);
}

.process-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.process-step {
  font-family: var(--font-primary);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--navy);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.process-title {
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.01em;
}

.process-item > p {
  font-family: var(--font-primary);
  font-size: 0.905rem;
  margin: 0;
  color: var(--body-text);
  text-align: justify;
}


/* =============================================================================
   11. TABLE OF CONTENTS (TOC)
   ============================================================================= */

.blog-toc {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 28px;
  margin: 2.5rem 0;
  box-shadow: var(--shadow-soft);
  position: relative;
}

.blog-toc::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 4px;
  background: var(--primary);
  border-top-left-radius: var(--radius);
  border-bottom-left-radius: var(--radius);
}

.toc-header h2 {
  font-family: var(--font-primary);
  margin: 0 0 1rem 0;
  font-size: 1.5rem;
  color: var(--text-dark);
  border: none;
  padding: 0;
}

.toc-list {
  counter-reset: toc-counter;
  list-style: none !important;
  padding-left: 0 !important;
  margin: 0 !important;
}

.toc-list > li {
  counter-increment: toc-counter;
  counter-reset: toc-sub-counter;
  list-style: none !important;
  display: block !important;
  margin-bottom: 0;
}

.toc-list > li > a {
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  display: block;
  padding: 8px 12px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
  text-align: left;
}

.toc-list > li > a::before {
  content: counter(toc-counter) ". ";
  font-weight: 700;
  color: var(--primary);
  margin-right: 2px;
}

.toc-list ul {
  list-style: none !important;
  counter-reset: none;
  padding-left: 16px !important;
  margin: 2px 0 6px !important;
}

.toc-list ul li {
  counter-increment: toc-sub-counter;
  list-style: none !important;
  display: block !important;
}

.toc-list ul li a {
  font-family: var(--font-primary);
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--text-body);
  display: block;
  padding: 8px 12px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
  text-align: left;
}

.toc-list ul li a::before {
  content: counter(toc-counter) "." counter(toc-sub-counter) " ";
  color: var(--primary);
  font-weight: 600;
}

.toc-list a:hover {
  background: var(--bg-light);
  color: var(--primary);
  transform: translateX(4px);
  text-decoration: none;
}

.toc-list a.active {
  background: rgba(37, 99, 235, 0.08);
  color: var(--primary);
  font-weight: 600;
}


/* =============================================================================
   12. DATA TABLE
   ============================================================================= */

.data-table {
  width: 100%;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  overflow-x: auto;
  font-family: var(--font-primary);
  font-size: 0.9rem;
  color: var(--text-dark);
  background: var(--white);
  margin: 10px 0;
}

.table-header {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  background: #0f1e3d;
  border-bottom: none;
}

.table-header .cell {
  font-family: var(--font-primary);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  padding: 14px 16px;
  border-right: 1px solid rgba(255, 255, 255, 0.07);
}

.table-header .cell:last-child {
  border-right: none;
}

.table-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  border-bottom: 1px solid var(--border);
  background: var(--white);
  transition: background 0.2s ease;
}

.table-row:nth-child(even) {
  background: #f9fafd;
}

.table-row:hover {
  background: rgba(37, 99, 235, 0.028);
}

.table-row:last-child {
  border-bottom: none;
}

.cell {
  font-family: var(--font-primary);
  padding: 13px 16px;
  border-right: 1px solid var(--border);
  line-height: 1.55;
  word-break: break-word;
  text-align: left;
  font-weight: 300;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
}

.cell:last-child {
  border-right: none;
}

.table-row .cell:first-child {
  font-weight: 600;
  color: var(--text-dark);
  font-size: 0.88rem;
}

.cell-rating {
  justify-content: center;
}

.rating-badge {
  font-family: var(--font-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  padding: 4px 10px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  background: linear-gradient(135deg, #059669, #10b981);
  color: #fff;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.28);
}

.rating-badge.high {
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.28);
}

.rating-badge.medium {
  background: linear-gradient(135deg, #f59e0b, #fbbf24);
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.28);
}

.cell-check {
  justify-content: center;
  font-size: 0.88rem;
  color: var(--success);
  font-weight: 600;
  letter-spacing: 0.04em;
}


/* =============================================================================
   13. CONCLUSION BLOCK
   ============================================================================= */

.blog-conclusion {
  margin: 3rem 0 1rem;
  padding: 44px 48px;
  background: #0f1e3d;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  color: #ffffff;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.blog-conclusion::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 90% 20%, rgba(37, 99, 235, 0.2) 0%, transparent 65%),
    radial-gradient(ellipse 50% 80% at 5% 90%, rgba(56, 189, 248, 0.09) 0%, transparent 60%);
  z-index: 0;
}

.blog-conclusion::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 36px 36px;
  z-index: 1;
  pointer-events: none;
}

.blog-conclusion h2,
.blog-conclusion p,
.conclusion-divider {
  position: relative;
  z-index: 2;
}

.blog-conclusion h2 {
  font-family: var(--font-primary);
  margin: 0;
  font-size: 1.65rem;
  font-weight: 700;
  color: #ffffff;
  border: none;
  padding: 0;
  letter-spacing: -0.015em;
}

.conclusion-divider {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
  margin: 1.2rem 0 1.6rem;
}

.blog-conclusion p {
  font-family: var(--font-primary);
  margin-bottom: 1.2rem;
  font-size: 1.02rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 300;
  text-align: justify;
}

.blog-conclusion p:last-child {
  margin-bottom: 0;
}

.blog-conclusion strong {
  color: var(--blue-light);
  font-weight: 600;
}


/* =============================================================================
   14. CALL TO ACTION (CTA) BLOCK
   ============================================================================= */

.blog-cta {
  margin: 52px 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--navy);
  box-shadow: var(--shadow-lg);
  position: relative;
}

.blog-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(43, 116, 158, 0.4) 0%, rgba(28, 36, 68, 0.6) 100%);
}

.blog-cta::after {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(43, 116, 158, 0.18);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 1;
  padding: 44px 48px;
}

.cta-content h3 {
  font-family: var(--font-primary);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--white);
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}

.cta-content p {
  font-family: var(--font-primary);
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.94rem;
  max-width: 520px;
  margin: 0 0 28px;
  line-height: 1.72;
  font-weight: 300;
  text-align: justify;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cta-btn {
  font-family: var(--font-primary);
  display: inline-block;
  padding: 11px 26px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 8px;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  letter-spacing: 0.01em;
}

.cta-btn:hover {
  transform: translateY(-2px);
}

.cta-btn.primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 4px 18px rgba(43, 116, 158, 0.5);
}

.cta-btn.primary:hover {
  background: var(--blue-light);
  box-shadow: 0 6px 24px rgba(43, 116, 158, 0.6);
  color: var(--white);
}

.cta-btn.secondary {
  background: rgba(255, 255, 255, 0.09);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
}

.cta-btn.secondary:hover {
  background: rgba(255, 255, 255, 0.16);
  color: var(--white);
}


/* =============================================================================
   15. READING PROGRESS BAR
   ============================================================================= */

.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  width: 100%;
  background: var(--border);
  z-index: 1000;
}

.reading-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--primary), #60a5fa);
}


/* =============================================================================
   16. BACK TO TOP BUTTON
   ============================================================================= */

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
}

.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
}


/* =============================================================================
   17. RESPONSIVE — TABLET (max-width: 768px)
   ============================================================================= */

@media (max-width: 768px) {

  .blog-hero h1 {
    font-size: 2.1rem;
  }

  .blog-content {
    padding: 26px 22px;
  }
}


/* =============================================================================
   18. RESPONSIVE — MOBILE (max-width: 480px)
   ============================================================================= */

@media (max-width: 480px) {

  .blog-hero {
    padding: 90px 16px 50px;
  }

  .blog-hero h1 {
    font-size: 1.8rem;
  }
}
