@font-face {
  font-family: poppins;
  src: url(assets/font/Poppins-Regular.woff);
}

@font-face {
  font-family: poppins-ExtraBold;
  src: url(assets/font/Poppins-ExtraBold.woff);
}

@font-face {
  font-family: poppins-Medium;
  src: url(assets/font/poppins-medium-webfont.woff);
}

@font-face {
  font-family: poppins-Semibold;
  src: url(assets/font/poppins-semibold-webfont.woff);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

a {
  text-decoration: none;
}

body,
html {
  font-family: "Outfit", "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  margin: 0;
  color: #111827;
  height: 100%;
  display: flex;
  flex-direction: column;
  scroll-behavior: smooth;
  background-color: #fafafa;
}

input,
button,
select,
textarea {
  font-family: inherit;
}

.navbar-toggler {
  background-color: white;
}

.icon-bar {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  z-index: 1000;
}

.icon-bar a i {
  font-size: 30px;
}

.icon-bar a {
  margin: 12px;
  transition: 500ms;
}

/* Magnific Theme Card Section */
.section-bg {
  background-color: #f5f4f2;
  padding: 40px;
  border-radius: 20px;
  border: 1px solid #eaeaea;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.faq-card-section {
  background-color: #f5f4f2;
  padding: 45px 40px;
  border-radius: 24px;
  border: 1px solid rgba(216, 27, 96, 0.15);
  box-shadow: 0 15px 40px rgba(216, 27, 96, 0.08), 0 2px 10px rgba(0, 0, 0, 0.02);
}

@media (max-width: 767.98px) {
  .section-bg, .faq-card-section {
    padding: 24px 18px;
    border-radius: 16px;
  }
  .icon-bar {
    transform: unset;
    top: unset;
    left: 0;
    bottom: 0;
    width: 100%;
    flex-direction: row;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    padding: 8px 0;
    justify-content: center;
    gap: 20px;
    z-index: 1000;
    background: #fff;
  }

  .icon-bar a {
    margin: 0;
  }
}

form {
  margin-top: 20px;
}

.navbar-brand {
  font-weight: 700;
}

#image-container {
  margin-top: 20px;
}

h1 {
  font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  color: #111827;
  font-size: 46px;
}

/* Primary Button (Magnific Magenta Accent) */
.submit-btn {
  background: linear-gradient(135deg, #e91e63 0%, #d81b60 100%);
  color: white;
  font-weight: 600;
  border-radius: 50px;
  padding: 14px 28px;
  border: none;
  box-shadow: 0 6px 20px rgba(216, 27, 96, 0.3);
  transition: all 0.3s ease;
}

.submit-btn:hover {
  background: linear-gradient(135deg, #d81b60 0%, #c2185b 100%);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(216, 27, 96, 0.45);
}

/* Bookmarklet Card & Button */
.bookmarklet-card {
  background-color: #ffffff !important;
  border-radius: 18px !important;
  border: 1.5px solid rgba(216, 27, 96, 0.2) !important;
  box-shadow: 0 8px 25px rgba(216, 27, 96, 0.06) !important;
}

.btn-outline-magenta {
  color: #d81b60 !important;
  border: 2px solid #d81b60 !important;
  background-color: transparent !important;
  transition: all 0.3s ease !important;
}

.btn-outline-magenta:hover {
  color: #ffffff !important;
  background: linear-gradient(135deg, #e91e63 0%, #d81b60 100%) !important;
  border-color: #d81b60 !important;
  box-shadow: 0 6px 20px rgba(216, 27, 96, 0.35) !important;
  transform: translateY(-2px) !important;
}

.section-bg h2 {
  font-size: 26px;
  color: #111827;
  padding-bottom: 10px;
  font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
}

.section-bg h3 {
  font-size: 20px;
  color: #111827;
  padding-bottom: 10px;
}

.step-title,
.section-bg .step-title,
h3.step-title,
.text-primary {
  color: #d81b60 !important;
}

span {
  font-size: 14px;
  font-weight: bold;
}

/* Dark Navbar & Footer (Magnific Aesthetic) */
.cust-navbar {
  background-color: #111319;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.cust-navbar .navbar-nav .nav-link {
  color: #d1d5db;
  transition: color 0.2s ease;
}

.cust-navbar .navbar-nav .nav-link:hover,
.cust-navbar .navbar-nav .nav-link.active {
  color: #ffffff;
}

.cust-navbar .navbar-brand {
  color: white;
}

.nav-link::after {
  content: "";
  display: block;
  background-color: #d81b60;
  height: 2px;
  width: 0;
  transition: width .3s linear;
}

.nav-link:hover::after {
  width: 100%;
}

.foot {
  margin-top: auto;
  background-color: #111319;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-link {
  color: #9ca3af !important;
  transition: color 0.2s ease;
  display: inline-block;
}

.footer-link:hover {
  color: #ffffff !important;
}

.text-gradient-magenta {
  background: linear-gradient(135deg, #e91e63 0%, #d81b60 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.foot-gradient-border {
  border-top: 2px solid transparent !important;
  border-image: linear-gradient(135deg, #e91e63 0%, #d81b60 100%) 1 !important;
}

.foot .copy {
  font-size: 14px;
}

.foot p {
  margin: 0px;
}

/* Scrollbar */
body::-webkit-scrollbar {
  width: 12px;
}

body::-webkit-scrollbar-track {
  background-color: #f1f1f1;
}

body::-webkit-scrollbar-thumb {
  background-color: #d81b60;
  border-radius: 100px;
  border: 2px solid transparent;
  background-clip: content-box;
}

/* Magnific.ai Inspired Custom FAQ Accordion */
#faqAccordion {
  margin-top: 10px;
}

#faqAccordion .accordion-item {
  background-color: #ffffff;
  border-radius: 14px !important;
  border: 1px solid #e5e7eb;
  margin-bottom: 16px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
  overflow: hidden;
  transition: all 0.25s ease;
}

#faqAccordion .accordion-item:hover {
  border-color: rgba(216, 27, 96, 0.35);
  box-shadow: 0 6px 20px rgba(216, 27, 96, 0.08);
}

#faqAccordion .accordion-button {
  background-color: #ffffff;
  color: #111827;
  font-size: 17px;
  font-weight: 600;
  padding: 22px 24px;
  border: none;
  box-shadow: none !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  text-align: left !important;
  width: 100%;
}

#faqAccordion .accordion-button:not(.collapsed) {
  background-color: #ffffff;
  color: #111827;
}

/* Magnific Magenta Plus (+) / Minus (-) Toggle Icon */
#faqAccordion .accordion-button::after {
  content: "+";
  background-image: none !important;
  width: auto !important;
  height: auto !important;
  font-size: 26px;
  font-weight: 400;
  line-height: 1;
  color: #d81b60;
  margin-left: 15px;
  flex-shrink: 0;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, color 0.3s ease;
}

#faqAccordion .accordion-button:not(.collapsed)::after {
  content: "−";
  color: #d81b60;
  transform: rotate(180deg);
}

#faqAccordion .accordion-body {
  padding: 0 24px 22px 24px;
  color: #4b5563;
  font-size: 15.5px;
  line-height: 1.65;
  text-align: left;
}

@media (max-width: 767.98px) {
  h1 {
    font-size: 34px;
  }

  footer {
    display: flex;
    justify-content: center;
  }

  .foot {
    margin-bottom: 50px;
  }

  #faqAccordion .accordion-button {
    font-size: 15px;
    padding: 16px 18px;
  }

  #faqAccordion .accordion-body {
    padding: 0 18px 18px 18px;
    font-size: 14px;
  }
}

/* Premium Light Blog Tables */
.custom-blog-table {
  background-color: #ffffff !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  border: 1px solid #e5e7eb !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03) !important;
  margin-bottom: 1.5rem !important;
}

.custom-blog-table thead {
  background-color: #111319 !important;
}

.custom-blog-table thead th {
  background-color: #111319 !important;
  color: #ffffff !important;
  font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.6px !important;
  padding: 16px 18px !important;
  border-bottom: 3px solid #d81b60 !important;
  border-top: none !important;
}

.custom-blog-table tbody tr {
  background-color: #ffffff !important;
  transition: background-color 0.2s ease !important;
}

.custom-blog-table tbody tr:nth-of-type(even) {
  background-color: #f9fafb !important;
}

.custom-blog-table tbody tr:hover {
  background-color: #f3f4f6 !important;
}

.custom-blog-table tbody td {
  padding: 15px 18px !important;
  border-color: #e5e7eb !important;
  color: #4b5563 !important;
  font-size: 14.5px !important;
  line-height: 1.6 !important;
  vertical-align: middle !important;
}

.custom-blog-table tbody tr:last-child td {
  border-bottom: none !important;
}

.custom-blog-table tbody td:first-child,
.custom-blog-table tbody td strong {
  color: #111827 !important;
  font-weight: 700 !important;
}

/* ==========================================================================
   Editorial & E-E-A-T Reusable Components (Magnific Design System)
   ========================================================================== */

/* Article Header & Metadata Bar */
.article-header {
  margin-bottom: 2rem;
}

.article-header .lead {
  font-size: 1.15rem;
  line-height: 1.7;
  color: #4b5563;
}

.article-meta-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 12px 18px;
  font-size: 0.875rem;
  color: #6b7280;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.article-meta-bar .meta-sep {
  color: #cbd5e1;
  user-select: none;
}

@media (max-width: 575.98px) {
  .article-meta-bar {
    padding: 10px 14px;
    gap: 8px 12px;
    font-size: 0.8125rem;
  }
  .article-meta-bar .meta-sep {
    display: none;
  }
  .article-meta-bar .text-nowrap {
    white-space: normal !important;
  }
}

.author-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: #111827;
}

.author-pill .author-avatar-mini {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e91e63 0%, #d81b60 100%);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
}

.author-pill a {
  color: #111827;
  text-decoration: none;
}

.author-pill a:hover {
  color: #d81b60;
  text-decoration: underline;
}

/* Article Table of Contents (TOC) */
.article-toc {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-left: 4px solid #d81b60;
  border-radius: 14px;
  padding: 20px 24px;
  margin: 1.75rem 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.article-toc h5 {
  font-size: 1rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.article-toc ol {
  margin-bottom: 0;
  padding-left: 1.25rem;
}

.article-toc li {
  margin-bottom: 6px;
  font-size: 0.92rem;
}

.article-toc a {
  color: #4b5563;
  text-decoration: none;
  transition: color 0.2s ease;
}

.article-toc a:hover {
  color: #d81b60;
  text-decoration: underline;
}


/* "Before and After" Visual Component */
.before-after-container {
  margin: 2.25rem 0;
}

.before-after-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 16px;
}

@media (max-width: 767.98px) {
  .before-after-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.comparison-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
}

.comparison-header {
  padding: 12px 18px;
  background: #111319;
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
  letter-spacing: 0.5px;
}

.comparison-header.header-before {
  border-bottom: 3px solid #6b7280;
}

.comparison-header.header-after {
  border-bottom: 3px solid #d81b60;
}

.comparison-badge {
  font-size: 0.72rem;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  font-weight: 700;
}

.comparison-badge.badge-before {
  background: #374151;
  color: #e5e7eb;
}

.comparison-badge.badge-after {
  background: #d81b60;
  color: #ffffff;
}

.comparison-media-placeholder {
  min-height: 220px;
  background: #f3f4f6;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #6b7280;
  padding: 20px;
  text-align: center;
  border-bottom: 1px solid #e5e7eb;
  position: relative;
}

.comparison-media-placeholder i {
  font-size: 38px;
  color: #9ca3af;
  margin-bottom: 8px;
}

.comparison-media-placeholder .placeholder-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: #374151;
}

.comparison-media-placeholder .placeholder-filename {
  font-family: monospace;
  font-size: 0.78rem;
  color: #9ca3af;
  margin-top: 4px;
}

.comparison-media-placeholder img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}

.comparison-media-placeholder .media-caption-overlay {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(17, 19, 25, 0.85);
  color: #ffffff;
  padding: 4px 10px;
  border-radius: 6px;
  font-family: monospace;
  font-size: 0.72rem;
  backdrop-filter: blur(4px);
}

.comparison-specs {
  padding: 14px 18px;
  background: #ffffff;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  border-bottom: 1px solid #f3f4f6;
  font-size: 0.82rem;
}

.spec-block {
  text-align: center;
}

.spec-block span {
  display: block;
  font-size: 0.7rem;
  color: #6b7280;
  text-transform: uppercase;
  font-weight: 600;
}

.spec-block strong {
  color: #111827;
  font-size: 0.85rem;
}

.comparison-body {
  padding: 14px 18px;
  font-size: 0.88rem;
  color: #4b5563;
  line-height: 1.55;
  flex-grow: 1;
}

.observations-box {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 18px 22px;
  margin-top: 14px;
}

.observations-box h6 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.observations-box ul {
  margin-bottom: 0;
  padding-left: 1.25rem;
  color: #4b5563;
  font-size: 0.9rem;
}

.observations-box li {
  margin-bottom: 6px;
  line-height: 1.5;
}

/* "What Actually Changed?" Observation Cards Grid */
.change-analysis-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin: 1.75rem 0;
}

.change-metric-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 16px 18px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.change-metric-card:hover {
  border-color: rgba(216, 27, 96, 0.35);
  transform: translateY(-2px);
}

.metric-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.metric-icon-badge {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(216, 27, 96, 0.1);
  color: #d81b60;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.metric-card-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #111827;
  margin: 0;
}

.change-metric-card p {
  font-size: 0.88rem;
  color: #4b5563;
  margin-bottom: 0;
  line-height: 1.55;
}

/* Key Takeaway Box */
.key-takeaway-box {
  background: linear-gradient(135deg, rgba(233, 30, 99, 0.06) 0%, rgba(17, 19, 25, 0.03) 100%);
  border: 1px solid rgba(216, 27, 96, 0.25);
  border-left: 5px solid #d81b60;
  border-radius: 14px;
  padding: 22px 26px;
  margin: 2.25rem 0;
  box-shadow: 0 4px 16px rgba(216, 27, 96, 0.04);
}

.key-takeaway-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.key-takeaway-header h5 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #111827;
  margin: 0;
}

.key-takeaway-box p {
  font-size: 0.95rem;
  line-height: 1.65;
  color: #374151;
  margin-bottom: 0;
}

/* Screenshot Figure Component */
.screenshot-figure {
  margin: 2rem 0;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

.figure-placeholder-box {
  background: #f8fafc;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
  border-bottom: 1px solid #e5e7eb;
}

.figure-placeholder-box i {
  font-size: 42px;
  color: #94a3b8;
  margin-bottom: 10px;
}

.figure-placeholder-filename {
  font-family: monospace;
  font-size: 0.82rem;
  color: #64748b;
  background: #e2e8f0;
  padding: 3px 10px;
  border-radius: 6px;
  margin-top: 6px;
}

.screenshot-figcaption {
  padding: 14px 20px;
  background: #ffffff;
  font-size: 0.88rem;
  color: #475569;
  display: flex;
  align-items: baseline;
  gap: 10px;
  line-height: 1.5;
}

.figure-step-badge {
  background: #111319;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.75rem;
  padding: 3px 8px;
  border-radius: 6px;
  flex-shrink: 0;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

/* Sources & References Box */
.sources-references-box {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 22px 24px;
  margin: 2.5rem 0 1.5rem 0;
}

.sources-references-box h5 {
  font-size: 1rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.reference-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.reference-item {
  padding: 8px 0;
  border-bottom: 1px solid #f3f4f6;
  font-size: 0.88rem;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.reference-item:last-child {
  border-bottom: none;
}

.reference-item a {
  color: #d81b60;
  text-decoration: none;
  font-weight: 600;
  word-break: break-all;
}

.reference-item a:hover {
  text-decoration: underline;
}

.reference-desc {
  color: #6b7280;
  font-size: 0.82rem;
  margin-left: 4px;
}

/* Author Bio Box */
.author-bio-box {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 24px;
  margin: 2.5rem 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

@media (max-width: 575.98px) {
  .author-bio-box {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

.author-bio-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e91e63 0%, #d81b60 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  font-weight: 700;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(216, 27, 96, 0.3);
}

.author-bio-content {
  flex-grow: 1;
}

.author-bio-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 2px;
}

.author-bio-role {
  font-size: 0.82rem;
  font-weight: 600;
  color: #d81b60;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.author-bio-text {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #4b5563;
  margin-bottom: 12px;
}

.author-bio-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
}

.author-bio-links a {
  color: #111827;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.author-bio-links a:hover {
  color: #d81b60;
  text-decoration: underline;
}

/* Editorial Disclosure */
.editorial-disclosure {
  background: #f9fafb;
  border: 1px dashed #d1d5db;
  border-radius: 12px;
  padding: 16px 20px;
  margin: 1.5rem 0;
  font-size: 0.82rem;
  color: #6b7280;
  line-height: 1.55;
}

.editorial-disclosure strong {
  color: #374151;
}

/* Interactive DPI Calculator */
.dpi-calculator-card {
  background: #ffffff;
  border: 1.5px solid rgba(216, 27, 96, 0.25);
  border-radius: 18px;
  padding: 26px;
  margin: 2.25rem 0;
  box-shadow: 0 8px 30px rgba(216, 27, 96, 0.05);
}

.dpi-calculator-header {
  margin-bottom: 20px;
  border-bottom: 1px solid #f3f4f6;
  padding-bottom: 14px;
}

.dpi-calculator-header h4 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.calc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

.calc-input-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: #374151;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-bottom: 6px;
}

.calc-input-group .form-control,
.calc-input-group .form-select {
  border-radius: 10px;
  border: 1px solid #d1d5db;
  padding: 10px 14px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #111827;
}

.calc-input-group .form-control:focus,
.calc-input-group .form-select:focus {
  border-color: #d81b60;
  box-shadow: 0 0 0 3px rgba(216, 27, 96, 0.15);
}

.calc-results-panel {
  background: linear-gradient(135deg, #111319 0%, #1a1d27 100%);
  color: #ffffff;
  border-radius: 14px;
  padding: 20px;
  margin-top: 10px;
}

.calc-results-title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #9ca3af;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.calc-results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
}

.calc-result-box {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 12px 16px;
}

.calc-result-label {
  font-size: 0.72rem;
  color: #9ca3af;
  text-transform: uppercase;
  font-weight: 600;
  display: block;
  margin-bottom: 4px;
}

.calc-result-value {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
}

.calc-result-value.highlight-val {
  color: #ff4081;
}

/* Workflow Step Diagram Cards */
.workflow-step-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 18px 20px;
  margin-bottom: 16px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.workflow-step-badge {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #111319;
  color: #ffffff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 15px;
}

.workflow-step-content h5 {
  font-size: 1rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 4px;
}

.workflow-step-content p {
  font-size: 0.9rem;
  color: #4b5563;
  margin-bottom: 0;
  line-height: 1.55;
}

/* Related Guides Section */
.related-guides-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin-top: 1.5rem;
}

.related-guide-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.related-guide-card:hover {
  border-color: rgba(216, 27, 96, 0.35);
  transform: translateY(-3px);
}

.related-guide-card h6 {
  font-size: 0.98rem;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.4;
}

.related-guide-card h6 a {
  color: #111827;
  text-decoration: none;
}

.related-guide-card h6 a:hover {
  color: #d81b60;
}

.related-guide-card p {
  font-size: 0.85rem;
  color: #6b7280;
  flex-grow: 1;
  margin-bottom: 12px;
}

.related-guide-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: #9ca3af;
  border-top: 1px solid #f3f4f6;
  padding-top: 10px;
}

.text-magenta {
  color: #d81b60 !important;
}

.bg-magenta {
  background-color: #d81b60 !important;
  color: #ffffff !important;
}

/* Homepage Example Workflow & Format Comparison */
.workflow-example-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03);
  margin-bottom: 2rem;
}

@media (max-width: 575.98px) {
  .workflow-example-card {
    padding: 16px;
  }
}

.workflow-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  background: #f8fafc;
  border: 1px solid #edf2f7;
  border-radius: 14px;
  padding: 16px;
  margin: 1.25rem 0;
}

@media (max-width: 991.98px) {
  .workflow-meta-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
}

@media (max-width: 575.98px) {
  .workflow-meta-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 12px;
  }
}

.workflow-meta-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.workflow-meta-item:hover {
  border-color: #cbd5e1;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.04);
}

.workflow-meta-item .meta-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
  font-weight: 700;
  margin-bottom: 4px;
  line-height: 1.2;
}

.workflow-meta-item .meta-val {
  font-size: 0.92rem;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.35;
  word-break: break-word;
}

.workflow-img-container {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  background: #0f172a;
  position: relative;
  max-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.workflow-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.workflow-img-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(17, 19, 25, 0.85);
  color: #ffffff;
  backdrop-filter: blur(6px);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

@media (max-width: 575.98px) {
  .workflow-img-badge {
    top: 8px;
    left: 8px;
    font-size: 0.72rem;
    padding: 4px 10px;
  }
}

.workflow-step-box {
  background: #ffffff !important;
  border: 1px solid #e5e7eb !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.workflow-step-box:hover {
  transform: translateY(-2px);
  border-color: #cbd5e1 !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.format-comparison-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03);
}

@media (max-width: 575.98px) {
  .format-comparison-card {
    padding: 16px;
  }
}

/* On This Page Navigation Pills */
.on-this-page-container {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 16px 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.on-this-page-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.on-this-page-pills .pill-link {
  display: inline-flex;
  align-items: center;
  font-size: 0.82rem;
  font-weight: 600;
  color: #4b5563;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 6px 14px;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.on-this-page-pills .pill-link:hover {
  color: #d81b60;
  background: #ffffff;
  border-color: #d81b60;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(216, 27, 96, 0.15);
}

/* Troubleshooting Accordion */
#troubleshootAccordion .accordion-item {
  background-color: #ffffff;
  border-radius: 14px !important;
  border: 1px solid #e5e7eb;
  margin-bottom: 14px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
  overflow: hidden;
  transition: all 0.25s ease;
}

#troubleshootAccordion .accordion-item:hover {
  border-color: rgba(216, 27, 96, 0.35);
  box-shadow: 0 4px 16px rgba(216, 27, 96, 0.06);
}

#troubleshootAccordion .accordion-button {
  background-color: #ffffff;
  color: #111827;
  font-size: 16px;
  font-weight: 600;
  padding: 18px 20px;
  border: none;
  box-shadow: none !important;
  text-align: left;
}

#troubleshootAccordion .accordion-button::after {
  content: "+";
  background-image: none !important;
  width: auto !important;
  height: auto !important;
  font-size: 22px;
  font-weight: 400;
  color: #d81b60;
  margin-left: 15px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

#troubleshootAccordion .accordion-button:not(.collapsed)::after {
  content: "−";
  color: #d81b60;
  transform: rotate(180deg);
}

#troubleshootAccordion .accordion-body {
  padding: 0 20px 18px 20px;
  color: #4b5563;
  font-size: 14.5px;
  line-height: 1.6;
}

/* Feature & Principle Cards */
.principle-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 22px;
  height: 100%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.principle-card:hover {
  transform: translateY(-2px);
  border-color: #cbd5e1;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
}

/* Maintainer Card Avatar */
.maintainer-avatar {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: linear-gradient(135deg, #111319 0%, #1f2937 100%);
  color: #ffffff;
  font-family: 'Outfit', sans-serif;
  font-size: 28px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid #d81b60;
  box-shadow: 0 4px 14px rgba(216, 27, 96, 0.25);
  flex-shrink: 0;
}

/* Author / Guide Cards */
.guide-card-v2 {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  border-left: 4px solid #d81b60 !important;
}

.guide-card-v2:hover {
  transform: translateY(-3px);
  border-color: #cbd5e1;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

/* TuneFetch Featured Tool Card */
.tunefetch-card {
  background: linear-gradient(135deg, #ffffff 0%, #fffaf5 100%) !important;
  border-radius: 20px !important;
  border: 1.5px solid rgba(255, 85, 0, 0.25) !important;
  box-shadow: 0 10px 30px rgba(255, 85, 0, 0.07) !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  overflow: hidden;
  position: relative;
}

.tunefetch-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 85, 0, 0.45) !important;
  box-shadow: 0 14px 34px rgba(255, 85, 0, 0.12) !important;
}

.tunefetch-icon-circle {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, #ff5500 0%, #ff7700 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(255, 85, 0, 0.3);
  flex-shrink: 0;
}

.tunefetch-btn {
  background: linear-gradient(135deg, #ff5500 0%, #ff7700 100%) !important;
  color: #ffffff !important;
  border: none !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 4px 14px rgba(255, 85, 0, 0.25) !important;
}

.tunefetch-btn:hover {
  background: linear-gradient(135deg, #e64c00 0%, #f06700 100%) !important;
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(255, 85, 0, 0.4) !important;
}

.tunefetch-badge {
  background: rgba(255, 85, 0, 0.08);
  color: #c93e00;
  font-weight: 600;
  border: 1px solid rgba(255, 85, 0, 0.2);
}