/* Growby Blog Article Layout & Table of Contents Styles */
.blog-reading-layout {
  --ink: #0f172a;
  --muted: #475569;
  --light-muted: #64748b;
  --blue: #2563eb;
  --blue-hover: #1d4ed8;
  --cyan: #00c2cc;
  --pale: #f0f7ff;
  --line: #e2e8f0;
  --radius-outer: 16px;
  --radius-inner: 10px;
  --radius-pill: 9999px;
  --ease-spring: cubic-bezier(0.2, 0, 0, 1);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
  font-size: 17px !important;
  line-height: 1.75 !important;
  font-weight: 400 !important;
  color: var(--ink);
  background: #ffffff;
  padding: 0 0 80px;
}

.blog-reading-layout *,
.blog-reading-layout *::before,
.blog-reading-layout *::after {
  box-sizing: border-box;
}

.blog-reading-layout a {
  text-decoration: none;
  color: var(--blue);
  transition: color 0.2s ease;
}

.blog-reading-layout a:hover {
  color: var(--blue-hover);
}

/* Reading Progress Indicator */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  z-index: 99999;
  pointer-events: none;
  background: transparent;
}

.reading-progress div {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--blue) 0%, var(--cyan) 100%);
  transition: width 0.08s linear;
}

/* Hero Header */
.article-hero {
  background: linear-gradient(135deg, #f0f7ff 0%, #ffffff 50%, #f8fafc 100%);
  border-bottom: 1px solid var(--line);
  padding: 48px 0 40px;
  margin-bottom: 48px;
}

.hero-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.hero-copy {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.article-breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 13px;
  margin-bottom: 24px;
  color: var(--light-muted);
}

.article-breadcrumb a {
  color: var(--light-muted);
}

.article-breadcrumb a:hover {
  color: var(--blue);
}

.article-category {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
  background: var(--pale);
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.category-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
}

.hero-read-time {
  margin-left: 8px;
  padding-left: 10px;
  border-left: 1px solid #cbd5e1;
  font-weight: 500;
  color: var(--light-muted);
}

.blog-reading-layout h1 {
  font-size: clamp(30px, 3.6vw, 44px) !important;
  line-height: 1.25 !important;
  font-weight: 800 !important;
  letter-spacing: -0.6px;
  color: var(--ink) !important;
  margin: 0 0 20px;
  text-wrap: balance;
}

.article-deck {
  font-size: 17px !important;
  line-height: 1.7 !important;
  font-weight: 400 !important;
  color: var(--muted) !important;
  margin: 0 auto 30px;
  max-width: 760px;
}

/* Byline */
.article-byline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-size: 13px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.byline-avatar {
  border-radius: 50%;
  object-fit: cover;
  outline: 2px solid var(--line);
  padding: 2px;
  background: #ffffff;
}

.byline-author-text {
  text-align: left;
}

.byline-author-text a {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}

.byline-author-text span {
  display: block;
  font-size: 12px;
  color: var(--light-muted);
}

.byline-date {
  border-left: 1px solid var(--line);
  margin-left: 8px;
  padding-left: 16px;
  text-align: left;
}

.byline-date span {
  display: block;
  font-size: 11px;
  color: var(--light-muted);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.byline-date time {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

/* Layout Grid: Left Sticky Rail + Main Reading Column */
.article-grid {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 56px;
}

.article-grid-no-toc {
  grid-template-columns: minmax(0, 1fr);
}

.article-grid-no-toc .guide-rail {
  display: none;
}

.guide-rail {
  min-width: 0;
}

.rail-sticky {
  position: sticky;
  top: 100px;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  scrollbar-width: thin;
  padding-right: 12px;
}

/* Table of Contents */
.rail-title {
  font-size: 12px !important;
  font-weight: 750 !important;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--light-muted) !important;
  margin: 0 0 16px;
}

.article-toc ol {
  list-style: none;
  padding: 0;
  margin: 0;
}

.article-toc li {
  margin-bottom: 2px;
}

.article-toc a {
  display: block;
  font-size: 13.5px !important;
  line-height: 1.5 !important;
  font-weight: 500 !important;
  padding: 8px 12px;
  border-left: 3px solid var(--line);
  color: var(--muted) !important;
  border-radius: 0 6px 6px 0;
  transition: all 0.2s var(--ease-spring);
}

.article-toc a:hover {
  color: var(--blue) !important;
  background: var(--pale);
  text-decoration: none;
}

.article-toc a[aria-current="location"] {
  border-left-color: var(--cyan);
  color: var(--blue) !important;
  font-weight: 700 !important;
  background: var(--pale);
}

/* Promo Card in Sidebar */
.blog-rail-promo {
  margin-top: 32px;
  padding: 20px;
  background: linear-gradient(135deg, #f8fafc 0%, #f0f7ff 100%);
  border: 1px solid #dbeafe;
  border-radius: var(--radius-inner);
}

.promo-brand img {
  height: 32px;
  width: auto;
  margin-bottom: 12px;
}

.blog-rail-promo h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 8px;
}

.blog-rail-promo p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0 0 16px;
}

.design-button {
  display: block;
  width: 100%;
  text-align: center;
  background: var(--blue);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 16px;
  border-radius: 8px;
  transition: transform 0.2s var(--ease-spring), background 0.2s ease;
}

.design-button:hover {
  background: var(--blue-hover);
  text-decoration: none;
  transform: translateY(-2px);
}

.design-button:active {
  transform: scale(0.96);
}

.promo-secondary {
  display: block;
  text-align: center;
  margin-top: 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--blue);
}

/* Main Prose Content */
.article-main {
  min-width: 0;
  max-width: 780px;
}

.article-prose {
  font-size: 17px;
  line-height: 1.8;
  color: #334155;
  overflow-wrap: anywhere;
}

.blog-reading-layout .article-prose h2 {
  font-size: 26px !important;
  font-weight: 800 !important;
  line-height: 1.3 !important;
  letter-spacing: -0.4px;
  color: var(--ink) !important;
  margin: 44px 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 110px;
}

.blog-reading-layout .article-prose h3 {
  font-size: 20px !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
  letter-spacing: -0.2px;
  color: var(--ink) !important;
  margin: 32px 0 14px;
  scroll-margin-top: 110px;
}

.blog-reading-layout .article-prose h4 {
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1.45 !important;
  color: var(--ink) !important;
  margin: 24px 0 10px;
}

.blog-reading-layout p,
.blog-reading-layout .article-prose p {
  font-size: 17px !important;
  line-height: 1.8 !important;
  font-weight: 400 !important;
  color: #334155 !important;
  margin: 0 0 24px;
}

.blog-reading-layout .article-prose ul,
.blog-reading-layout .article-prose ol {
  margin: 0 0 28px;
  padding-left: 26px;
}

.blog-reading-layout .article-prose li {
  font-size: 17px !important;
  line-height: 1.75 !important;
  font-weight: 400 !important;
  color: #334155 !important;
  margin-bottom: 10px;
}

.blog-reading-layout .article-prose blockquote {
  border-left: 4px solid var(--cyan);
  background: var(--pale);
  padding: 20px 24px;
  margin: 28px 0;
  border-radius: 0 var(--radius-inner) var(--radius-inner) 0;
  font-style: italic;
  color: #1e293b;
}

.blog-reading-layout .article-prose blockquote p {
  font-size: 17px !important;
  line-height: 1.75 !important;
  color: #1e293b !important;
  margin-bottom: 0 !important;
}

/* Table styling with responsive scroll */
.table-scroll {
  overflow-x: auto;
  margin: 32px 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-inner);
}

.table-scroll table,
.blog-reading-layout .article-prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px !important;
  line-height: 1.6 !important;
}

.blog-reading-layout .article-prose th,
.blog-reading-layout .article-prose td {
  padding: 13px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.blog-reading-layout .article-prose th {
  background: #f8fafc;
  font-weight: 700 !important;
  font-size: 13.5px !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--ink) !important;
}

.blog-reading-layout .article-prose td {
  font-size: 15px !important;
  font-weight: 400 !important;
  color: #334155 !important;
}

.article-prose tbody tr:nth-child(even) {
  background: #fafbfc;
}

/* ========================================================
   Modern Code Card & Interactive Copy Button
   ======================================================== */
.code-card {
  margin: 32px 0;
  background: #090e1a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 1px 0 0 rgba(255, 255, 255, 0.08) inset, 0 16px 36px -10px rgba(15, 23, 42, 0.35);
  position: relative;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.code-card:hover {
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 1px 0 0 rgba(255, 255, 255, 0.12) inset, 0 20px 40px -10px rgba(15, 23, 42, 0.45);
}

.code-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: #060a14;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.code-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.code-dots {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.code-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.code-dot.red { background: #ef4444; }
.code-dot.yellow { background: #f59e0b; }
.code-dot.green { background: #10b981; }

.code-lang-badge {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #94a3b8;
  padding: 2px 8px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.code-copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.2, 0, 0, 1);
  user-select: none;
}

.code-copy-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.25);
}

.code-copy-btn:active {
  transform: scale(0.96);
}

.code-copy-btn.copied {
  background: rgba(16, 185, 129, 0.18);
  border-color: rgba(16, 185, 129, 0.45);
  color: #34d399;
}

.copy-icon-wrap {
  position: relative;
  width: 14px;
  height: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.icon-copy,
.icon-check {
  transition: opacity 0.25s cubic-bezier(0.2, 0, 0, 1),
              transform 0.25s cubic-bezier(0.2, 0, 0, 1),
              filter 0.25s cubic-bezier(0.2, 0, 0, 1);
}

.icon-copy {
  opacity: 1;
  transform: scale(1);
  filter: blur(0px);
}

.icon-check {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transform: scale(0.25);
  filter: blur(4px);
}

.code-copy-btn.copied .icon-copy {
  opacity: 0;
  transform: scale(0.25);
  filter: blur(4px);
}

.code-copy-btn.copied .icon-check {
  opacity: 1;
  transform: scale(1);
  filter: blur(0px);
}

.code-card-body {
  position: relative;
}

.code-card pre.astro-code {
  background: transparent !important;
  margin: 0 !important;
  padding: 18px 22px !important;
  font-size: 14px !important;
  line-height: 1.65 !important;
  border-radius: 0 !important;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

.code-card pre.astro-code::-webkit-scrollbar {
  height: 8px;
}
.code-card pre.astro-code::-webkit-scrollbar-track {
  background: transparent;
}
.code-card pre.astro-code::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.18);
  border-radius: 4px;
}
.code-card pre.astro-code::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* Fallback for unwrapped pre */
.article-prose pre {
  background: #090e1a;
  color: #f8fafc;
  padding: 20px 24px;
  border-radius: var(--radius-inner);
  overflow-x: auto;
  margin: 28px 0;
  font-size: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.article-prose code {
  background: #f1f5f9;
  color: #0f172a;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.9em;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.article-prose pre code {
  background: transparent;
  color: inherit;
  padding: 0;
}

/* ========================================================
   SendZen-Robofy Interactive Visual Pipeline Architecture
   ======================================================== */
.integration-pipeline-card {
  margin: 36px 0 44px;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(15, 23, 42, 0.04);
  overflow: hidden;
  position: relative;
}

.pipeline-card-header {
  padding: 32px 32px 24px;
  border-bottom: 1px solid #f1f5f9;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.04) 0%, rgba(0, 194, 204, 0.04) 100%);
}

.pipeline-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #e0f2fe;
  color: #0284c7;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.pipeline-title {
  font-size: 24px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.4px;
  margin: 0 0 8px;
  line-height: 1.3;
}

.pipeline-desc {
  font-size: 15px;
  color: #64748b;
  margin: 0;
  line-height: 1.6;
}

.pipeline-flow-steps {
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.pipeline-step-node {
  width: 100%;
  max-width: 640px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 20px 22px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  box-shadow: 0 2px 8px -1px rgba(15, 23, 42, 0.04);
  transition: transform 0.2s cubic-bezier(0.2, 0, 0, 1), box-shadow 0.2s cubic-bezier(0.2, 0, 0, 1), border-color 0.2s ease;
  position: relative;
}

.pipeline-step-node:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px -4px rgba(37, 99, 235, 0.08);
  border-color: #cbd5e1;
}

.pipeline-step-node.highlight {
  background: linear-gradient(135deg, #f8faff 0%, #ffffff 100%);
  border-color: #93c5fd;
  box-shadow: 0 8px 24px -4px rgba(37, 99, 235, 0.12);
}

.pipeline-step-node.success {
  background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%);
  border-color: #86efac;
}

.node-icon-wrap {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}

.node-icon-wrap.whatsapp {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.node-icon-wrap.sendzen {
  background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.node-icon-wrap.connector {
  background: linear-gradient(135deg, #00c2cc 0%, #0891b2 100%);
  box-shadow: 0 4px 12px rgba(0, 194, 204, 0.3);
}

.node-icon-wrap.robofy {
  background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.node-icon-wrap.check {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.node-content {
  flex-grow: 1;
  min-width: 0;
}

.node-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 6px;
}

.node-tag.inbound {
  background: #dcfce7;
  color: #15803d;
}

.node-tag.gateway {
  background: #ede9fe;
  color: #6d28d9;
}

.node-tag.middleware {
  background: #e0f9fb;
  color: #0e7490;
}

.node-tag.ai {
  background: #dbeafe;
  color: #1d4ed8;
}

.node-tag.delivered {
  background: #d1fae5;
  color: #047857;
}

.node-content h4 {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 6px;
}

.node-content p {
  font-size: 13.5px;
  color: #64748b;
  margin: 0;
  line-height: 1.5;
}

.node-chat-bubble {
  margin-top: 10px;
  background: #f1f5f9;
  border-left: 3px solid #25d366;
  padding: 10px 14px;
  border-radius: 0 8px 8px 0;
  font-size: 13px;
  color: #1e293b;
  font-style: italic;
}

.node-chat-bubble.agent {
  background: #ecfdf5;
  border-left-color: #10b981;
  color: #065f46;
}

.chat-sender {
  font-weight: 700;
  font-style: normal;
  margin-right: 4px;
}

.node-meta-pills {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.node-meta-pills .pill {
  font-size: 11px;
  font-weight: 600;
  background: #eff6ff;
  color: #2563eb;
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid #bfdbfe;
}

/* Pipeline Connector Arrow with Animated Glow */
.pipeline-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0;
  color: #94a3b8;
  position: relative;
}

.pipeline-arrow .arrow-line {
  width: 2px;
  height: 20px;
  background: linear-gradient(180deg, #cbd5e1 0%, #3b82f6 50%, #cbd5e1 100%);
  position: relative;
  overflow: hidden;
}

.pipeline-arrow .arrow-line::after {
  content: '';
  position: absolute;
  top: -20px;
  left: 0;
  width: 100%;
  height: 20px;
  background: #2563eb;
  animation: arrowPulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes arrowPulse {
  0% { transform: translateY(0); }
  100% { transform: translateY(40px); }
}

.pipeline-arrow .arrow-label {
  font-size: 11px;
  font-weight: 600;
  color: #475569;
  background: #f1f5f9;
  padding: 3px 10px;
  border-radius: 9999px;
  margin: 4px 0;
  border: 1px solid #e2e8f0;
}

.pipeline-arrow svg {
  color: #3b82f6;
}

/* Metrics Footer */
.pipeline-metrics-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #0f172a;
  color: #ffffff;
  padding: 20px 24px;
  text-align: center;
}

.pipeline-metric {
  padding: 0 12px;
}

.pipeline-metric:not(:last-child) {
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.pipeline-metric .metric-val {
  display: block;
  font-size: 20px;
  font-weight: 800;
  color: #00c2cc;
  letter-spacing: -0.5px;
  margin-bottom: 2px;
}

.pipeline-metric .metric-lbl {
  display: block;
  font-size: 12px;
  color: #94a3b8;
  font-weight: 500;
}

@media (max-width: 640px) {
  .pipeline-card-header {
    padding: 24px 20px 18px;
  }
  .pipeline-title {
    font-size: 20px;
  }
  .pipeline-flow-steps {
    padding: 24px 16px;
  }
  .pipeline-step-node {
    padding: 16px 14px;
    gap: 12px;
  }
  .node-icon-wrap {
    width: 38px;
    height: 38px;
  }
  .pipeline-metrics-bar {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .pipeline-metric:not(:last-child) {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 14px;
  }
}

/* Article Footer & Controls */
.article-footer {
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.article-end {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.article-end p {
  font-size: 14px;
  color: var(--light-muted);
  margin: 0;
}

.copy-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  background: #ffffff;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  padding: 8px 16px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.copy-link:hover {
  background: var(--pale);
}

.copy-link:active {
  transform: scale(0.96);
}

.copy-status {
  font-size: 13px;
  color: #16a34a;
  font-weight: 600;
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 36px;
}

.article-tags a {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  background: #f1f5f9;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
}

.article-tags a:hover {
  color: var(--blue);
  background: var(--pale);
  text-decoration: none;
}

/* Author Section Box */
.design-author {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 32px;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: var(--radius-outer);
  margin: 40px 0;
  scroll-margin-top: 120px;
}

.author-photo {
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  outline: 2px solid #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.author-caption {
  font-size: 11px !important;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--light-muted) !important;
  font-weight: 750 !important;
  margin: 0 0 4px;
}

.design-author h2 {
  font-size: 22px !important;
  font-weight: 800 !important;
  color: var(--ink) !important;
  margin: 0 0 6px;
}

.author-tagline {
  font-size: 13.5px !important;
  font-weight: 600 !important;
  color: var(--blue) !important;
  margin: 0 0 12px;
}

.author-bio {
  font-size: 14.5px !important;
  line-height: 1.65 !important;
  color: var(--muted) !important;
  font-weight: 400 !important;
  margin: 0 0 16px;
}

.author-expertise {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
}

.author-expertise li {
  font-size: 12px !important;
  font-weight: 500 !important;
  padding: 4px 10px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: #334155 !important;
}

.author-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.author-links a {
  font-size: 13px !important;
  font-weight: 700 !important;
}

.article-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  color: var(--blue) !important;
  margin-top: 20px;
}

/* Bottom CTA Banner */
.article-bottom-cta {
  max-width: 1140px;
  margin: 60px auto 40px;
  padding: 44px 48px;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border-radius: var(--radius-outer);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  color: #ffffff;
}

.article-bottom-cta p {
  font-size: 12px !important;
  font-weight: 750 !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--cyan) !important;
  margin: 0 0 8px;
}

.article-bottom-cta h2 {
  font-size: 26px !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  margin: 0 0 8px;
}

.article-bottom-cta span {
  font-size: 14.5px !important;
  color: #94a3b8 !important;
  line-height: 1.5;
}

.cta-button-cyan {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  background: var(--cyan);
  color: #0f172a !important;
  font-weight: 700 !important;
  font-size: 14.5px !important;
  border-radius: var(--radius-inner);
  white-space: nowrap;
  transition: transform 0.2s var(--ease-spring), filter 0.2s ease;
}

.cta-button-cyan:hover {
  filter: brightness(1.1);
  text-decoration: none;
  transform: translateY(-2px);
}

.cta-button-cyan:active {
  transform: scale(0.96);
}

/* Related Articles Section */
.related-articles {
  max-width: 1140px;
  margin: 60px auto 0;
  padding: 0 24px;
}

.related-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
}

.related-heading h2 {
  font-size: 24px;
  font-weight: 800;
  color: var(--ink);
  margin: 0;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.related-article {
  display: flex;
  flex-direction: column;
  padding: 24px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-inner);
  transition: transform 0.2s var(--ease-spring), box-shadow 0.2s var(--ease-spring);
}

.related-article:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.08);
  text-decoration: none;
}

.related-cat {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 10px;
}

.related-article h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.4;
  margin: 0 0 16px;
}

.related-read {
  margin-top: auto;
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .article-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .rail-sticky {
    position: static;
    max-height: none;
    overflow: visible;
  }
  .article-toc {
    background: #f8fafc;
    border-radius: var(--radius-inner);
    padding: 20px;
    border: 1px solid var(--line);
  }
  .article-toc ol {
    max-height: 240px;
    overflow-y: auto;
  }
  .blog-rail-promo {
    display: none;
  }
  .article-bottom-cta {
    flex-direction: column;
    text-align: center;
    padding: 32px 24px;
  }
  .related-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .design-author {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .author-links {
    justify-content: center;
  }
  .author-expertise {
    justify-content: center;
  }
}

/* ========================================================
   Robofy.ai Platform Spotlight Highlight Section
   ======================================================== */
.robofy-spotlight-card {
  margin: 36px 0 44px;
  background: linear-gradient(145deg, #f0f7ff 0%, #ffffff 50%, #f4fbfb 100%);
  border: 1px solid #bfdbfe;
  border-radius: var(--radius-outer);
  padding: 32px 36px;
  box-shadow: 0 4px 20px -2px rgba(37, 99, 235, 0.08), 0 1px 3px rgba(15, 23, 42, 0.04);
  position: relative;
  overflow: hidden;
  transition: transform 0.25s var(--ease-spring), box-shadow 0.25s var(--ease-spring), border-color 0.2s ease;
}

.robofy-spotlight-card:hover {
  transform: translateY(-2px);
  border-color: #93c5fd;
  box-shadow: 0 12px 32px -4px rgba(37, 99, 235, 0.14), 0 2px 6px rgba(15, 23, 42, 0.06);
}

.robofy-spotlight-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #2563eb 0%, #00c2cc 100%);
}

.spotlight-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
}

.spotlight-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.spotlight-logo {
  height: 38px;
  width: auto;
  display: block;
}

.spotlight-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px !important;
  font-weight: 700 !important;
  color: #0369a1 !important;
  background: #e0f2fe;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.4px;
  text-transform: uppercase;
  border: 1px solid #bae6fd;
}

.spotlight-badge svg {
  width: 13px;
  height: 13px;
  color: #0284c7;
}

.spotlight-lead {
  font-size: 16.5px !important;
  line-height: 1.7 !important;
  color: #334155 !important;
  font-weight: 400 !important;
  margin: 0 0 22px !important;
}

.spotlight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 26px;
}

.spotlight-feature {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-inner);
  padding: 18px 16px;
  transition: transform 0.2s var(--ease-spring), border-color 0.2s ease, box-shadow 0.2s ease;
}

.spotlight-feature:hover {
  transform: translateY(-2px);
  border-color: #93c5fd;
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.08);
}

.feature-icon-wrap {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: linear-gradient(135deg, #eff6ff 0%, #e0f2fe 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2563eb;
  margin-bottom: 12px;
}

.feature-icon-wrap svg {
  width: 18px;
  height: 18px;
}

.spotlight-feature h4 {
  font-size: 15px !important;
  font-weight: 750 !important;
  color: #0f172a !important;
  margin: 0 0 6px !important;
  line-height: 1.35 !important;
}

.spotlight-feature p {
  font-size: 13px !important;
  line-height: 1.6 !important;
  color: #64748b !important;
  font-weight: 400 !important;
  margin: 0 !important;
}

.spotlight-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  padding-top: 6px;
}

.spotlight-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff !important;
  font-size: 14.5px !important;
  font-weight: 700 !important;
  padding: 11px 22px;
  border-radius: 8px;
  text-decoration: none !important;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
  transition: transform 0.2s var(--ease-spring), box-shadow 0.2s ease, filter 0.2s ease;
}

.spotlight-btn-primary:hover {
  filter: brightness(1.08);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
  transform: translateY(-1px);
}

.spotlight-btn-primary:active {
  transform: scale(0.96);
}

.spotlight-link-secondary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px !important;
  font-weight: 650 !important;
  color: #2563eb !important;
  text-decoration: none !important;
  transition: color 0.2s ease;
}

.spotlight-link-secondary:hover {
  color: #1d4ed8 !important;
  text-decoration: underline !important;
}

@media (max-width: 768px) {
  .robofy-spotlight-card {
    padding: 24px 20px;
  }
  .spotlight-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .spotlight-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .spotlight-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .spotlight-btn-primary {
    justify-content: center;
  }
}
