/* Approved ScaleWithSEO AI Blog Specialist mascot placement */
.employee-copy h2 {
  font-size: clamp(2.05rem, 3.35vw, 3.25rem);
  line-height: 1.035;
  max-width: 640px;
  text-wrap: balance;
}

.employee-grid {
  grid-template-columns: 1fr 1fr;
  gap: 46px;
}

.employee-visual {
  min-height: 650px;
  padding-top: 176px;
}

.employee-mascot {
  top: 8px;
  right: 26px;
  width: 250px;
  max-width: 46%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 24px 38px rgba(91, 20, 216, 0.3));
  animation: mascot-breathe 5.5s ease-in-out infinite;
}

.employee-profile {
  min-height: 92px;
  padding-right: 28px;
}

/* Keep the How BlogScaleSystem Works section clean without clipping the section itself. */
.workflow-grid {
  position: relative;
}

.dashboard-shell {
  position: relative;
  overflow: hidden !important;
}

.workflow-mascot,
.workflow-bubble {
  display: none !important;
}

.dashboard-top,
.dashboard-body,
.dashboard-notice,
.article-list,
.dashboard-summary {
  position: relative;
  z-index: 1;
}

/* Prevent the animated journey from widening the page while preserving natural shadows and spacing. */
.product-journey-shell,
.journey-tabs,
.journey-panels,
.journey-panel,
.journey-copy,
.journey-preview-card {
  min-width: 0;
  max-width: 100%;
}

.product-journey-shell {
  width: 100%;
}

.journey-panels {
  min-height: 370px;
}

.journey-panel {
  width: 100%;
}

.journey-preview-card {
  overflow: hidden;
}

/* Keep the other mascot helpers balanced inside their own sections. */
.proof-mascot-wrap {
  left: auto !important;
  right: 22px !important;
  top: auto !important;
  bottom: 22px !important;
}

.proof-mascot-wrap img {
  transform: rotate(-8deg) !important;
}

.proof-helper-card {
  right: 20px !important;
  top: 20px !important;
  bottom: auto !important;
}

.cta-mascot {
  right: -18px !important;
  top: -44px !important;
  transform: rotate(5deg) !important;
}

/* Pricing trust details: compact, recognisable payment marks without fake oversized badges. */
.price-card .payment-badges,
.pricing-card .payment-badges {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 7px !important;
  min-height: 22px;
  margin: 10px 0 16px !important;
  opacity: 0.88;
}

.price-card .payment-badges::after,
.pricing-card .payment-badges::after {
  content: "Visa & Mastercard";
  margin-left: 2px;
  color: #8f8498;
  font-size: 0.61rem;
  font-weight: 750;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.price-card .payment-badges span,
.pricing-card .payment-badges span {
  min-width: 0 !important;
  width: auto !important;
  height: 20px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.price-card .payment-badges .visa,
.pricing-card .payment-badges .visa {
  width: 37px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 5px !important;
  border-radius: 4px !important;
  background: #fff !important;
  color: #172274 !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 0.63rem !important;
  font-style: italic;
  font-weight: 950 !important;
  letter-spacing: -0.075em !important;
  line-height: 1 !important;
}

.price-card .payment-badges .mc,
.pricing-card .payment-badges .mc {
  position: relative;
  width: 30px !important;
  flex: 0 0 30px;
  overflow: hidden;
  color: transparent !important;
  font-size: 0 !important;
}

.price-card .payment-badges .mc::before,
.price-card .payment-badges .mc::after,
.pricing-card .payment-badges .mc::before,
.pricing-card .payment-badges .mc::after {
  content: "";
  position: absolute;
  top: 3px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
}

.price-card .payment-badges .mc::before,
.pricing-card .payment-badges .mc::before {
  left: 3px;
  background: #eb001b;
}

.price-card .payment-badges .mc::after,
.pricing-card .payment-badges .mc::after {
  right: 3px;
  background: #f79e1b;
  box-shadow: -5px 0 0 rgba(255, 95, 0, 0.82);
}

.price-card .payment-badges .card,
.price-card .payment-badges .secure,
.pricing-card .payment-badges .card,
.pricing-card .payment-badges .secure {
  display: none !important;
}

/* The final CTA starts with a free audit, so do not imply payment is required there. */
.final-owner-content .cta-trust-pill:first-of-type {
  display: none !important;
}

.final-owner-content .cta-trust-row {
  margin-top: 14px !important;
  margin-bottom: 6px !important;
}

.final-owner-content .cta-trust-pill {
  min-height: 26px !important;
  padding: 0 9px !important;
  font-size: 0.65rem !important;
}

/* Keep the opening truth cards balanced, compact and fully visible. */
.story-section {
  padding: 84px 0 !important;
}

.story-head {
  margin-bottom: 34px !important;
}

.race-grid {
  grid-template-columns: 1fr 1fr !important;
  gap: 18px !important;
}

.race-card {
  min-height: 0 !important;
  padding: 26px !important;
  border-radius: 24px !important;
}

.race-card h3 {
  margin-top: 14px !important;
  font-size: clamp(1.55rem, 2.35vw, 2.08rem) !important;
  line-height: 1.07 !important;
}

.race-card > p {
  margin-top: 13px !important;
  font-size: 0.88rem !important;
  line-height: 1.62 !important;
}

.gap-list {
  margin-top: 20px !important;
  gap: 8px !important;
}

.gap-item {
  gap: 10px !important;
  padding: 12px 13px !important;
  border-radius: 13px !important;
}

.gap-item strong {
  font-size: 0.79rem !important;
}

.gap-item span {
  margin-top: 2px !important;
  font-size: 0.67rem !important;
  line-height: 1.42 !important;
}

.warning-line {
  position: static !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  margin-top: 18px !important;
  padding-top: 14px !important;
  font-size: 0.69rem !important;
  line-height: 1.48 !important;
}

.momentum-stats {
  margin-top: 20px !important;
  gap: 8px !important;
}

.momentum-stat {
  min-height: 88px !important;
  padding: 14px 15px !important;
  border-radius: 14px !important;
}

.momentum-stat strong {
  font-size: clamp(1.2rem, 1.75vw, 1.5rem) !important;
  line-height: 1 !important;
}

.momentum-stat span {
  margin-top: 6px !important;
  font-size: 0.64rem !important;
  line-height: 1.38 !important;
}

.momentum-proof {
  margin-top: 10px !important;
  padding: 14px 15px !important;
  border-radius: 14px !important;
}

.momentum-proof strong {
  font-size: 0.76rem !important;
  line-height: 1.4 !important;
}

.momentum-proof p {
  margin-top: 5px !important;
  font-size: 0.68rem !important;
  line-height: 1.48 !important;
}

.example-note {
  margin-top: 7px !important;
  font-size: 0.6rem !important;
  line-height: 1.42 !important;
}

/* Real product dashboard preview for the weekly workflow section. */
.dashboard-shell.dashboard-shell--live {
  min-width: 0;
  border: 1px solid rgba(165, 98, 255, 0.42) !important;
  border-radius: 25px !important;
  background: linear-gradient(180deg, #120821, #08030f) !important;
  box-shadow: 0 28px 90px rgba(63, 15, 119, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.035) !important;
}

.live-dashboard {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  min-height: 590px;
  color: #f7f2fb;
  background: radial-gradient(circle at 74% 0%, rgba(124, 44, 255, 0.1), transparent 36%);
}

.live-dashboard__sidebar {
  min-width: 0;
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid rgba(255, 255, 255, 0.07);
  background: linear-gradient(180deg, rgba(15, 7, 27, 0.96), rgba(8, 3, 15, 0.94));
}

.live-dashboard__brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: #fff;
  font-size: 0.66rem;
  font-weight: 950;
  letter-spacing: -0.025em;
  white-space: nowrap;
}

.live-dashboard__brand > span:last-child span {
  color: #c99aff;
}

.live-dashboard__brand-mark {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: linear-gradient(145deg, #8c42ef, #421171);
  border: 1px solid rgba(214, 177, 255, 0.28);
  box-shadow: 0 8px 22px rgba(117, 39, 204, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 0.93rem;
  font-weight: 950;
  transform: skewX(-8deg);
}

.live-dashboard__nav {
  margin-top: 20px;
  display: grid;
  gap: 5px;
}

.live-dashboard__nav-item {
  width: 100%;
  min-height: 34px;
  padding: 0 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 10px;
  background: transparent;
  color: #a99db3;
  font-size: 0.61rem;
  font-weight: 760;
  text-align: left;
  transition: background 0.28s ease, color 0.28s ease, transform 0.28s ease;
}

.live-dashboard__nav-item::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border: 1px solid currentColor;
  border-radius: 2px;
  opacity: 0.72;
}

.live-dashboard__nav-item.is-active {
  color: #f2e7ff;
  background: linear-gradient(135deg, rgba(139, 53, 255, 0.3), rgba(78, 22, 146, 0.2));
  box-shadow: inset 0 0 0 1px rgba(183, 126, 255, 0.12);
  transform: translateX(2px);
}

.live-dashboard__specialist {
  margin-top: auto;
  padding: 12px 10px;
  border-radius: 13px;
  border: 1px solid rgba(177, 126, 255, 0.16);
  background: linear-gradient(145deg, rgba(37, 19, 61, 0.78), rgba(15, 8, 27, 0.86));
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.2);
}

.live-dashboard__specialist strong {
  display: block;
  font-size: 0.63rem;
}

.live-dashboard__specialist span {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 5px;
  color: #55e9a7;
  font-size: 0.55rem;
  font-weight: 850;
}

.live-dashboard__specialist span::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #43e5a2;
  box-shadow: 0 0 10px rgba(67, 229, 162, 0.82);
  animation: live-dashboard-pulse 1.8s ease-in-out infinite;
}

.live-dashboard__main {
  min-width: 0;
  padding: 17px;
}

.live-dashboard__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.live-dashboard__top h3 {
  margin: 0;
  font-size: 1.02rem;
  letter-spacing: -0.035em;
}

.live-dashboard__top p {
  margin-top: 4px;
  color: #8f8299;
  font-size: 0.57rem;
  line-height: 1.45;
}

.live-dashboard__range {
  display: flex;
  gap: 4px;
  padding: 3px;
  border: 1px solid rgba(177, 126, 255, 0.12);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.025);
}

.live-dashboard__range span {
  min-width: 31px;
  height: 25px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  color: #8f8398;
  font-size: 0.51rem;
  font-weight: 850;
}

.live-dashboard__range span.is-active {
  color: #fff;
  background: linear-gradient(145deg, rgba(139, 53, 255, 0.45), rgba(80, 22, 145, 0.32));
}

.live-dashboard__stats {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
}

.live-dashboard__stat {
  min-width: 0;
  min-height: 78px;
  padding: 11px;
  border-radius: 12px;
  border: 1px solid rgba(176, 116, 255, 0.16);
  background: linear-gradient(160deg, rgba(28, 14, 47, 0.84), rgba(13, 7, 24, 0.88));
  transition: transform 0.28s ease, border-color 0.28s ease, background 0.28s ease;
}

.live-dashboard__stat.is-changing {
  transform: translateY(-3px);
  border-color: rgba(186, 126, 255, 0.42);
  background: linear-gradient(160deg, rgba(48, 21, 82, 0.9), rgba(17, 8, 31, 0.9));
}

.live-dashboard__stat label {
  display: block;
  color: #a99db3;
  font-size: 0.49rem;
  line-height: 1.25;
}

.live-dashboard__stat strong {
  display: block;
  margin-top: 8px;
  color: #fff;
  font-size: 1.16rem;
  line-height: 1;
  letter-spacing: -0.045em;
}

.live-dashboard__stat span {
  display: block;
  margin-top: 5px;
  color: #57e7a9;
  font-size: 0.49rem;
  font-weight: 850;
}

.live-dashboard__chart {
  position: relative;
  margin-top: 10px;
  padding: 13px;
  border-radius: 15px;
  border: 1px solid rgba(176, 116, 255, 0.15);
  background: linear-gradient(180deg, rgba(21, 10, 37, 0.88), rgba(11, 5, 20, 0.88));
  overflow: hidden;
}

.live-dashboard__chart-head {
  display: flex;
  align-items: center;
  gap: 7px;
}

.live-dashboard__chart-head strong {
  font-size: 0.69rem;
}

.live-dashboard__chart-head span {
  color: #52e4a5;
  font-size: 0.56rem;
  font-weight: 900;
}

.live-dashboard__chart svg {
  width: 100%;
  height: 160px;
  margin-top: 5px;
  display: block;
  overflow: visible;
}

.live-dashboard__grid-line {
  stroke: rgba(255, 255, 255, 0.055);
  stroke-width: 1;
}

.live-dashboard__area {
  fill: url(#liveDashboardArea);
  opacity: 0.8;
  transition: d 0.72s cubic-bezier(0.16, 1, 0.3, 1);
}

.live-dashboard__line {
  fill: none;
  stroke: #a65eff;
  stroke-width: 3.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 7px rgba(166, 94, 255, 0.52));
  transition: d 0.72s cubic-bezier(0.16, 1, 0.3, 1);
}

.live-dashboard__point {
  fill: #c79aff;
  stroke: #7d32d5;
  stroke-width: 2;
  transition: cx 0.72s cubic-bezier(0.16, 1, 0.3, 1), cy 0.72s cubic-bezier(0.16, 1, 0.3, 1);
}

.live-dashboard__tooltip {
  position: absolute;
  right: 18px;
  top: 42px;
  min-width: 52px;
  padding: 6px 8px;
  border-radius: 8px;
  background: linear-gradient(145deg, #7530c9, #491181);
  color: #fff;
  font-size: 0.52rem;
  font-weight: 900;
  text-align: center;
  box-shadow: 0 10px 24px rgba(74, 16, 129, 0.36);
  transition: transform 0.5s ease, opacity 0.5s ease;
}

.live-dashboard__pipeline {
  margin-top: 10px;
  padding: 12px;
  border-radius: 15px;
  border: 1px solid rgba(176, 116, 255, 0.15);
  background: rgba(255, 255, 255, 0.018);
}

.live-dashboard__pipeline-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.live-dashboard__pipeline-head strong {
  font-size: 0.69rem;
}

.live-dashboard__pipeline-head span {
  padding: 5px 8px;
  border-radius: 8px;
  background: rgba(124, 44, 255, 0.18);
  color: #d7baff;
  font-size: 0.49rem;
  font-weight: 850;
}

.live-dashboard__pipeline-grid {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
}

.live-dashboard__pipeline-item {
  min-width: 0;
  padding: 8px 7px;
  border-radius: 9px;
  border: 1px solid rgba(177, 126, 255, 0.1);
  background: rgba(255, 255, 255, 0.025);
  transition: transform 0.28s ease, background 0.28s ease, border-color 0.28s ease;
}

.live-dashboard__pipeline-item.is-active {
  transform: translateY(-2px);
  border-color: rgba(105, 229, 168, 0.28);
  background: rgba(67, 229, 162, 0.07);
}

.live-dashboard__pipeline-item strong {
  display: block;
  color: #e9dff1;
  font-size: 0.48rem;
  line-height: 1.2;
}

.live-dashboard__pipeline-item span {
  display: block;
  margin-top: 4px;
  color: #81758a;
  font-size: 0.44rem;
  line-height: 1.25;
}

.live-dashboard__progress {
  position: relative;
  height: 3px;
  margin-top: 11px;
  border-radius: 999px;
  background: rgba(143, 74, 217, 0.18);
  overflow: hidden;
}

.live-dashboard__progress span {
  display: block;
  width: 72%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #7c2cff, #bd7cff, #58e7aa);
  box-shadow: 0 0 14px rgba(166, 94, 255, 0.5);
  transition: width 0.72s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes live-dashboard-pulse {
  0%, 100% { opacity: 0.52; transform: scale(0.86); }
  50% { opacity: 1; transform: scale(1.12); }
}

@media (max-width: 1100px) {
  .live-dashboard {
    grid-template-columns: 112px minmax(0, 1fr);
  }

  .live-dashboard__sidebar {
    padding-inline: 10px;
  }

  .live-dashboard__brand {
    font-size: 0.58rem;
  }

  .live-dashboard__brand-mark {
    width: 31px;
    height: 31px;
    flex-basis: 31px;
  }

  .live-dashboard__main {
    padding: 14px;
  }

  .live-dashboard__stat {
    padding: 9px;
  }

  .live-dashboard__pipeline-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

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

  .employee-copy {
    max-width: 760px;
  }

  .employee-visual {
    min-height: 620px;
    padding-top: 168px;
  }

  .employee-mascot {
    right: 38px;
    width: 235px;
    max-width: 42%;
  }

  .journey-tabs {
    overflow-x: auto !important;
    overflow-y: hidden;
  }

  .journey-panels {
    min-height: 0;
  }

  .proof-mascot-wrap {
    position: absolute !important;
    right: 14px !important;
    bottom: 12px !important;
  }

  .proof-helper-card {
    position: relative !important;
    right: auto !important;
    top: auto !important;
  }

  .race-grid {
    grid-template-columns: 1fr !important;
  }

  .dashboard-shell.dashboard-shell--live {
    width: min(100%, 760px);
    margin: 0 auto;
  }

  .live-dashboard {
    grid-template-columns: 142px minmax(0, 1fr);
  }
}

@media (max-width: 700px) {
  .live-dashboard {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .live-dashboard__sidebar {
    padding: 11px 12px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  }

  .live-dashboard__nav {
    min-width: 0;
    margin-top: 0;
    display: flex;
    gap: 5px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .live-dashboard__nav::-webkit-scrollbar {
    display: none;
  }

  .live-dashboard__nav-item {
    width: auto;
    min-width: max-content;
    padding: 0 9px;
  }

  .live-dashboard__nav-item:nth-child(n + 5) {
    display: none;
  }

  .live-dashboard__specialist {
    display: none;
  }
}

@media (max-width: 640px) {
  .employee-copy h2 {
    font-size: clamp(2rem, 10vw, 2.75rem);
  }

  .employee-visual {
    min-height: auto;
    padding-top: 142px;
  }

  .employee-mascot {
    top: 8px;
    right: 14px;
    width: 188px;
    max-width: 58%;
  }

  .employee-profile,
  .employee-body {
    padding: 18px;
  }

  .proof-mascot-wrap {
    position: relative !important;
    right: auto !important;
    bottom: auto !important;
    margin-bottom: 12px !important;
  }

  .cta-mascot {
    right: -4px !important;
    top: -26px !important;
    width: 108px !important;
  }

  .price-card .payment-badges,
  .pricing-card .payment-badges {
    justify-content: center !important;
    margin: 9px 0 14px !important;
  }

  .price-card .payment-badges::after,
  .pricing-card .payment-badges::after {
    font-size: 0.58rem;
  }

  .story-section {
    padding: 68px 0 !important;
  }

  .race-card {
    padding: 22px !important;
  }

  .momentum-stats {
    grid-template-columns: 1fr 1fr !important;
  }

  .live-dashboard__main {
    padding: 12px;
  }

  .live-dashboard__top {
    align-items: center;
  }

  .live-dashboard__top p {
    max-width: 210px;
  }

  .live-dashboard__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .live-dashboard__chart svg {
    height: 136px;
  }

  .live-dashboard__pipeline-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

  .live-dashboard__brand > span:last-child {
    display: none;
  }

  .live-dashboard__range span {
    min-width: 27px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .employee-mascot,
  .live-dashboard__specialist span::before {
    animation: none !important;
  }
}
