body {
  position: relative;
  overflow-x: hidden;
}

.page-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page-shell > main {
  flex: 1 0 auto;
}

body::before {
  content: "";
  position: fixed;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 1200px;
  height: 1200px;
  background: radial-gradient(
    circle at center,
    rgba(80, 171, 255, 0.18) 0%,
    rgba(0, 0, 0, 0) 60%
  );
  filter: blur(80px);
  pointer-events: none;
  z-index: -1;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
  font-family: var(--bs-font-sans-serif);
  line-height: 1.4;
  font-weight: 600;
}

@media (min-width: 768px) {
  .navbar {
    max-width: 28rem;
  }
}

header {
  background-color: rgba(0, 0, 0, 0) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background-color 0.3s ease-in-out;
}

.navbar {
  background-color: rgba(0, 0, 0, 0) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background-color 0.3s ease-in-out;
}

/* Default (light mode): use full color */

.theme-logo {
  content: url("../../assets/img/aeriform-logo.png");
}

/* Force dark version when data-bs-theme="dark" */

[data-bs-theme="dark"] .theme-logo {
  content: url("../../assets/img/aeriform-logo-dark.png");
}

/* Optional: force light version when data-bs-theme="light" */

[data-bs-theme="light"] .theme-logo {
  content: url("../../assets/img/aeriform-logo.png");
}

/* Optional override class for white version */

.theme-logo.light {
  content: url("../../assets/img/aeriform-logo.png") !important;
}

/* Optional override class for dark version */

.theme-logo.dark {
  content: url("../../assets/img/aeriform-logo-dark.png") !important;
}

/* Optional override class for full-color version */

.theme-logo.color {
  content: url("../../assets/img/aeriform-logo.png") !important;
}

/* App Store badge color switch */

.theme-mac-app-store-logo {
  content: url("../../assets/img//logos/Download_on_the_Mac_App_Store_Badge_US-UK_RGB_blk_092917.svg") !important;
}

[data-bs-theme="light"] .theme-mac-app-store-logo {
  content: url("../../assets/img//logos/Download_on_the_Mac_App_Store_Badge_US-UK_RGB_blk_092917.svg") !important;
}

[data-bs-theme="dark"] .theme-mac-app-store-logo {
  content: url("../../assets/img/logos/Download_on_the_Mac_App_Store_Badge_US-UK_RGB_wht_092917.svg") !important;
}

.screenshot-wrapper {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.video-wrapper {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.video-bg {
  width: 100%;
  display: block;
  object-fit: cover;
}

.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: #ffffff;
  border: none;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 26px;
  color: var(--bs-primary);
  transition: 0.2s ease;
}

.play-btn:hover {
  transform: translate(-50%, -50%) scale(1.05);
  background: var(--bs-primary);
  color: #ffffff;
}

.modal-backdrop.show {
  background-color: rgba(0, 0, 0, 1);
}

.section-heading {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column !important;
}

.section-paragraph {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.section-paragraph__width {
  max-width: 28rem;
}

.section-paragraph__width__smaller {
  max-width: 25rem;
}

.tns-nav {
  text-align: center;
  margin-top: 10px;
}

.tns-nav button {
  border-radius: 3px;
  background: rgba(18, 51, 171, 0.5) !important;
  -webkit-transition: all 0.5s ease;
  transition: all 0.5s ease;
  border: none;
  margin: 0 5px;
  padding: 5px;
}

.tns-nav button.tns-nav-active {
  background: #1233ab !important;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}

.tns-controls button[data-controls="prev"],
.tns-controls button[data-controls="next"] {
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  font-size: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff;
  color: #212529;
  border: none;
  -webkit-transition: all 0.5s ease;
  transition: all 0.5s ease;
  z-index: 1;
  -webkit-box-shadow: 0 10px 25px rgba(60, 72, 88, 0.15);
  box-shadow: 0 10px 25px rgba(60, 72, 88, 0.15);
}

.tns-controls button[data-controls="prev"]:hover,
.tns-controls button[data-controls="next"]:hover {
  background: #1233ab;
  color: #ffffff;
}

.tns-controls button[data-controls="prev"] {
  left: 0;
}

.tns-controls button[data-controls="next"] {
  right: 0;
}

[data-bs-theme="dark"] h6.text-primary {
  color: #ffffff !important;
}

.bento-grid {
  display: grid;
  gap: 1.75rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.bento-card {
  background: rgba(0, 0, 0, 0.04);
  color: #212529;
  padding: 1.75rem;
  border-radius: 20px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  position: relative;
  transition: 0.25s ease;
}

.bento-card {
  border: 1px solid rgba(0, 0, 0, 0.08);
}

[data-bs-theme="dark"] .bento-card {
  background: rgba(255, 255, 255, 0.03);
  color: #dee2e6;
  padding: 1.75rem;
  border-radius: 20px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  position: relative;
  transition: 0.25s ease;
}

/* Hover lift */

.bento-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.06);
}

.bento-card:hover {
  background: rgba(0, 0, 0, 0.08);
}

[data-bs-theme="dark"] .bento-card:hover {
  background: rgba(255, 255, 255, 0.06);
}

/* Larger cards */

.bento-card.large {
  grid-column: span 2;
  min-height: 280px;
}

.bento-card.wide {
  grid-column: span 2;
}

/* Icon style */

.bento-icon {
  width: 46px;
  height: 46px;
  margin-bottom: 1rem;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

/* Text */

.bento-card h4 {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.bento-card p {
  opacity: 0.8;
  font-size: 0.95rem;
}

/* For screenshot cards */

.bento-card.visual img {
  margin-bottom: 1rem;
  border-radius: 12px;
}

/* Tablet and below: collapse to 1 column */

@media (max-width: 991px) {
  .bento-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 991px) {
  .bento-card,
  .bento-card.large,
  .bento-card.wide {
    grid-column: span 1 !important;
    width: 100%;
  }
}

/* How it Works Styling */

.how-it-works-grid {
  display: grid;
  gap: 1.75rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  width: 85%;
  margin: 0 auto;
}

.how-it-works-card {
  background: rgba(0, 0, 0, 0.04);
  color: #212529;
  padding: 1.75rem;
  border-radius: 20px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  position: relative;
  transition: 0.25s ease;
}

.how-it-works-card {
  border: 1px solid rgba(0, 0, 0, 0.08);
}

[data-bs-theme="dark"] .how-it-works-card {
  background: rgba(255, 255, 255, 0.03);
  color: #dee2e6;
  padding: 1.75rem;
  border-radius: 20px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  position: relative;
  transition: 0.25s ease;
}

/* Hover lift */

.how-it-works-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.06);
}

.how-it-works-card:hover {
  background: rgba(0, 0, 0, 0.08);
}

[data-bs-theme="dark"] .how-it-works-card:hover {
  background: rgba(255, 255, 255, 0.06);
}

/* Larger cards */

.how-it-works-card.large {
  grid-column: span 2;
  min-height: 280px;
}

.how-it-works-card.wide {
  grid-column: span 2;
}

/* Icon style */

.how-it-works-icon {
  width: 46px;
  height: 46px;
  margin-bottom: 1rem;
  /*background-size: contain;*/
  /*background-position: center;*/
  /*background-repeat: no-repeat;*/
  /*color: var(--bs-primary);*/
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.how-it-works-icon svg.hiw-icon {
  width: 100%;
  height: 100%;
  display: block;
}

.how-it-works-icon {
  color: var(--bs-primary);
}

[data-bs-theme="dark"] .how-it-works-icon {
  color: #dee2e6 !important;
}

/* Force sprite icons to follow the container color without adding extra stroke weight */

.how-it-works-icon svg,
.how-it-works-icon svg * {
  fill: currentColor !important;
}

.how-it-works-icon svg[data-icon-set="bootstrap"] * {
  stroke: none !important;
}

/* Text */

.how-it-works-card h4 {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.how-it-works-card p {
  opacity: 0.8;
  font-size: 0.95rem;
}

/* For screenshot cards */

.how-it-works-card.visual img {
  margin-bottom: 1rem;
  border-radius: 12px;
}

/* Tablet and below: collapse to 1 column */

@media (max-width: 991px) {
  .how-it-works-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 991px) {
  .how-it-works-card,
  .how-it-works-card.large,
  .how-it-works-card.wide {
    grid-column: span 1 !important;
    width: 100%;
  }
}

/* Shared styling */

.accordion-item {
  border: none;
  margin-bottom: 1rem;
  border-radius: 14px;
  overflow: hidden;
}

/* Remove bootstrap default background */

.accordion-button,
.accordion-body {
  border: none !important;
  box-shadow: none !important;
}

/* -------------------------------------------------------- */

/* LIGHT THEME */

/* -------------------------------------------------------- */

#faq-list {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.accordion-item {
  background: linear-gradient(180deg, #ffffff, #f7f9ff);
  border: 1px solid rgba(0, 0, 0, 0.07);
  width: 75%;
}

/* Header */

.accordion-button {
  background: linear-gradient(180deg, #f7f7f9, #f4f6fc);
  color: #1a1d29;
  font-weight: 600;
}

/* Header when expanded */

.accordion-button:not(.collapsed) {
  background: linear-gradient(180deg, #f4f6fc, #eef1fa);
  color: #1a1d29;
}

/* Body */

.accordion-body {
  background: linear-gradient(180deg, #ffffff, #fefcfc);
  color: #333;
  padding: 1.25rem 1.5rem;
}

/* -------------------------------------------------------- */

/* DARK THEME */

/* -------------------------------------------------------- */

[data-bs-theme="dark"] .accordion-item {
  background: linear-gradient(180deg, #0c1320, #0a111c);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

/* Header */

[data-bs-theme="dark"] .accordion-button {
  background: linear-gradient(180deg, #0d1524, #0b1421);
  color: #dfe6f5;
  font-weight: 600;
}

/* Header when expanded */

[data-bs-theme="dark"] .accordion-button:not(.collapsed) {
  background: linear-gradient(180deg, #101a2d, #0c1627);
  color: #ffffff;
}

/* Body */

[data-bs-theme="dark"] .accordion-body {
  background: linear-gradient(180deg, #0f1a2b, #0c1624);
  color: #bfc7d8;
  padding: 1.25rem 1.5rem;
}

/* Main button */

.scroll-progress-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--btn-bg, #f3f3f3);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 9999;
}

/* Show when scrolling */

.scroll-progress-btn.visible {
  opacity: 1;
  pointer-events: auto;
}

/* Arrow */

.scroll-progress-btn .arrow {
  position: absolute;
  font-size: 20px;
  color: var(--btn-arrow, #222);
  z-index: 2;
}

/* Progress ring */

.progress-ring {
  position: absolute;
  transform: rotate(-90deg);
}

/* Background circle */

.ring-bg {
  fill: none;
  stroke: rgba(0, 0, 0, 0.1);
  stroke-width: 4;
}

/* Progress circle */

.ring-progress {
  fill: none;
  stroke: #1233ab;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 150;
  stroke-dashoffset: 150;
  transition: stroke-dashoffset 0.15s linear;
}

/* Dark mode (optional) */

@media (prefers-color-scheme: dark) {
  .scroll-progress-btn {
    background: #111;
    --btn-arrow: #fff;
  }
}

@media (prefers-color-scheme: dark) {
  .ring-bg {
    stroke: rgba(255, 255, 255, 0.1);
  }
}

.footer-brand {
  width: 100%;
}

.footer-brand__logo {
  flex-shrink: 0;
}

.footer-brand__logo-img {
  width: 70px;
  height: 90px;
  object-fit: contain;
}

.footer-brand__copy {
  flex: 1 1 240px;
}

@media (max-width: 575.98px) {
  .footer-brand {
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 575.98px) {
  .footer-brand__copy {
    text-align: center;
  }
}

footer {
  position: relative;
  overflow: hidden;
}

.footer-brand {
  width: 100%;
}

.footer-brand__logo {
  flex-shrink: 0;
}

.footer-brand__logo-img {
  width: 70px;
  height: 90px;
  object-fit: contain;
}

.footer-brand__copy {
  flex: 1 1 240px;
}

@media (max-width: 575.98px) {
  .footer-brand {
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 575.98px) {
  .footer-brand__copy {
    text-align: center;
  }
}

#footer-copyright {
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

footer {
  background-color: #202e4f;
  color: #ffff;
}

.page-shell > main {
  margin-bottom: 1.5rem;
}

footer > .container.pb-5 {
  padding-top: 1.5rem;
}

[data-bs-theme="dark"] footer {
  background-color: transparent;
}

/* Soft fade at top of footer */
footer .row.pt-5 .flex-shrink-0 img {
  display: block;

  padding-top: 0 !important;

  margin-top: -8px;
}
/* Darker, higher-positioned fade */

[data-bs-theme="dark"] footer::before {
  content: "";
  position: absolute;
  top: -380px;
  left: 0;
  width: 100%;
  height: 380px;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.9) 0%,
    rgba(0, 0, 0, 0.8) 40%,
    rgba(0, 0, 0, 0) 100%
  );
  pointer-events: none;
  z-index: 0;
}

/* Product Extraction */

.pe-visual {
  width: 100%;
  aspect-ratio: 800 / 500;
  border-radius: 14px;
  position: relative;
  overflow: hidden;
  padding: 18px;
  background:
    radial-gradient(
      900px 500px at 30% 20%,
      rgba(255, 255, 255, 0.35),
      rgba(255, 255, 255, 0) 55%
    ),
    linear-gradient(135deg, var(--pe-bg1, #f0b07a), var(--pe-bg2, #f6d1b8));
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
}

/* Optional: dark theme support if this section is in data-bs-theme="dark" */

[data-bs-theme="dark"] .pe-visual {
  background:
    radial-gradient(
      900px 500px at 30% 20%,
      rgba(255, 255, 255, 0.08),
      rgba(255, 255, 255, 0) 55%
    ),
    linear-gradient(135deg, rgba(20, 26, 34, 1), rgba(14, 18, 24, 1));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.pe-topbar {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: space-between;
  margin-bottom: 14px;
}

.pe-chip {
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.1);
  color: rgba(0, 0, 0, 0.8);
  user-select: none;
}

[data-bs-theme="dark"] .pe-chip {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.85);
}

.pe-engine {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex: 1;
  min-width: 0;
  padding-left: 6px;
}

.pe-engine-name {
  font-size: 16px;
  font-weight: 700;
  color: rgba(0, 0, 0, 0.9);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pe-engine-sub {
  font-size: 13px;
  font-weight: 600;
  color: rgba(0, 0, 0, 0.55);
  white-space: nowrap;
}

[data-bs-theme="dark"] .pe-engine-name {
  color: rgba(255, 255, 255, 0.92);
}

[data-bs-theme="dark"] .pe-engine-sub {
  color: rgba(255, 255, 255, 0.65);
}

.pe-expand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  background: rgba(0, 0, 0, 0.1);
  color: rgba(0, 0, 0, 0.85);
  padding: 8px 10px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  user-select: none;
}

.pe-expand:hover {
  background: rgba(0, 0, 0, 0.14);
}

.pe-expand:focus-visible {
  outline: 2px solid var(--pe-accent, #ff7a18);
  outline-offset: 2px;
}

[data-bs-theme="dark"] .pe-expand {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
}

[data-bs-theme="dark"] .pe-expand:hover {
  background: rgba(255, 255, 255, 0.14);
}

.pe-chevron {
  display: inline-block;
  transition: transform 180ms ease;
  opacity: 0.9;
}

.pe-visual.is-expanded .pe-chevron {
  transform: rotate(180deg);
}

.pe-panel {
  height: calc(100% - 48px);
  border-radius: 16px;
  background: rgba(12, 14, 18, 0.92);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
  overflow: hidden;
  position: relative;
}

[data-bs-theme="dark"] .pe-panel {
  background: rgba(10, 12, 16, 0.96);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
}

.pe-panel-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-family:
    ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
    "Courier New", monospace;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.78);
}

.pe-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  display: inline-block;
}

.pe-dot-red {
  background: rgba(255, 99, 99, 0.95);
}

.pe-dot-yellow {
  background: rgba(255, 208, 76, 0.95);
}

.pe-dot-green {
  background: rgba(76, 217, 100, 0.95);
}

.pe-path {
  margin-left: 8px;
  opacity: 0.95;
  white-space: nowrap;
}

.pe-status {
  margin-left: auto;
  color: rgba(255, 255, 255, 0.7);
  white-space: nowrap;
}

.pe-list {
  list-style: none;
  padding: 14px;
  margin: 0;
  display: grid;
  gap: 8px;
  font-family:
    ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
    "Courier New", monospace;
  font-size: 13px;
  line-height: 1.2;
}

.pe-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.9);
  opacity: 0;
  transform: translateY(6px);
  animation: peIn 260ms ease forwards;
}

.pe-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.85);
  flex-shrink: 0;
}

.pe-filename {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pe-more {
  position: absolute;
  bottom: 12px;
  right: 12px;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.78);
}

.pe-visual.is-expanded .pe-more {
  display: none;
}

.pe-hint {
  position: absolute;
  left: 30px;
  bottom: 14px;
  font-size: 12px;
  color: rgba(21, 122, 223, 1);
  user-select: none;
}

[data-bs-theme="dark"] .pe-hint {
  color: rgba(255, 255, 255, 0.58);
}

@keyframes peIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .pe-item {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pe-chevron {
    transition: none;
  }
}

/* Blog layout */

.blog-hero {
  padding-top: 6rem;
  padding-bottom: 4rem;
}

.blog-hero__intro {
  max-width: 44rem;
}

.featured-image {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.1);
}

[data-bs-theme="dark"] .featured-image {
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}

.featured-image img {
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 1.1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 700;
  background: rgba(18, 51, 171, 0.12);
  color: var(--bs-primary);
}

[data-bs-theme="dark"] .hero-eyebrow {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.article-meta {
  align-items: center;
  gap: 1rem;
  margin-top: 1.75rem;
  color: var(--bs-secondary-color);
  font-size: 0.95rem;
}

.article-meta .meta-item {
  display: inline-flex;
  gap: 0.35rem;
  align-items: center;
}

.article-meta .meta-dot {
  display: inline-block;
  align-self: center;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.5;
}

.blog-tags .badge {
  border: 1px solid rgba(18, 51, 171, 0.22);
  background: rgba(18, 51, 171, 0.08);
  color: var(--bs-primary);
  font-weight: 600;
  padding: 0.45rem 0.95rem;
}

[data-bs-theme="dark"] .blog-tags .badge {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.content-panel {
  position: relative;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 24px;
  padding: 2rem;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.1);
}

[data-bs-theme="dark"] .content-panel {
  background: rgba(15, 23, 42, 0.6);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}

.article-panel blockquote {
  border-left: 4px solid var(--bs-primary);
  padding-left: 1.5rem;
  margin: 2.5rem 0;
  font-style: italic;
}

.callout-panel {
  border-radius: 18px;
  padding: 1.5rem;
  background: rgba(18, 51, 171, 0.08);
  border: 1px solid rgba(18, 51, 171, 0.25);
}

.callout-panel.highlight {
  background: linear-gradient(
    135deg,
    rgba(18, 51, 171, 0.18),
    rgba(18, 51, 171, 0.04)
  );
}

[data-bs-theme="dark"] .callout-panel {
  background: rgba(18, 51, 171, 0.3);
  border-color: rgba(18, 51, 171, 0.55);
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
}

.checklist li {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.checklist li:last-child {
  border-bottom: none;
}

[data-bs-theme="dark"] .checklist li {
  border-color: rgba(255, 255, 255, 0.12);
}

.check-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(18, 51, 171, 0.12);
  color: var(--bs-primary);
  font-weight: 700;
  flex-shrink: 0;
}

[data-bs-theme="dark"] .check-icon {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.progress-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.progress-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.progress-list li:last-child {
  border-bottom: none;
}

[data-bs-theme="dark"] .progress-list li {
  border-color: rgba(255, 255, 255, 0.12);
}

.progress-list .step-index {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(18, 51, 171, 0.12);
  color: var(--bs-primary);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

[data-bs-theme="dark"] .progress-list .step-index {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.progress-list--mini .step-index {
  width: 32px;
  height: 32px;
  font-size: 0.85rem;
}

.key-points li {
  display: flex;
  gap: 0.6rem;
  padding: 0.5rem 0;
  font-weight: 600;
}

.key-points li::before {
  content: "•";
  color: var(--bs-primary);
}

.related-grid {
  display: grid;
  gap: 1.75rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.related-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.related-category {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.related-category::before {
  content: "→";
  color: var(--bs-primary);
  opacity: 0.95;
}

.link-arrow {
  font-weight: 600;
  color: var(--bs-primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.link-arrow::after {
  content: "→";
  transition: transform 0.2s ease;
}

.link-arrow:hover::after {
  transform: translateX(4px);
}

.cta-panel {
  gap: 1.5rem;
  align-items: center;
}

@media (max-width: 767.98px) {
  .article-meta {
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 767.98px) {
  .cta-panel {
    flex-direction: column;
    text-align: center;
  }
}

.blog-feed {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.blog-intro {
  max-width: 48rem;
  margin: 0 auto 2.5rem;
}

.blog-card {
  background: rgba(255, 255, 255, 0.85);
  border-radius: 24px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.1);
}

[data-bs-theme="dark"] .blog-card {
  background: rgba(15, 23, 42, 0.75);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.65);
}

.blog-card .featured-media {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.12);
}

[data-bs-theme="dark"] .blog-card .featured-media {
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.55);
}

.blog-card .featured-media img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.blog-card-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
}

.blog-card h3 {
  font-weight: 600;
}

.blog-card .post-meta {
  font-size: 0.9rem;
}

.blog-tags .badge {
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(18, 51, 171, 0.08);
  color: var(--bs-primary);
  font-weight: 600;
  padding: 0.4rem 0.85rem;
}

[data-bs-theme="dark"] .blog-tags .badge {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.blog-pagination .page-link {
  border-radius: 999px;
  padding: 0.45rem 0.95rem;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: transparent;
  color: inherit;
}

.blog-pagination .page-item.active .page-link {
  background: var(--bs-primary);
  color: #fff;
  border-color: var(--bs-primary);
}

.blog-pagination .page-item.disabled .page-link {
  color: rgba(33, 37, 41, 0.45);
  border-color: rgba(33, 37, 41, 0.15);
}

[data-bs-theme="dark"] .blog-pagination .page-link {
  border-color: rgba(255, 255, 255, 0.25);
}

[data-bs-theme="dark"] .blog-pagination .page-item.disabled .page-link {
  color: rgba(255, 255, 255, 0.4);
}

@media (min-width: 992px) {
  .blog-card {
    flex-direction: row;
    gap: 2rem;
  }
}

@media (min-width: 992px) {
  .blog-card .featured-media {
    width: 360px;
    flex-shrink: 0;
  }
}

@media (min-width: 992px) {
  .blog-card .featured-media img {
    height: 100%;
  }
}

@media (max-width: 991px) {
  .blog-card {
    flex-direction: column;
  }
}

.contact-form-card {
  transition: none;
}

.contact-form-card:hover {
  transform: none;
  background: rgba(0, 0, 0, 0.04);
}

[data-bs-theme="dark"] .contact-form-card:hover {
  background: rgba(255, 255, 255, 0.03);
}

.contact-form-section {
  padding-bottom: 8rem !important;
}

.contact-page-footer {
  padding-bottom: 4rem !important;
}
