.ai-marketing-article-page {
  --aim-primary: #4f46e5;
  --aim-secondary: #6366f1;
  --aim-deep: #1e1b4b;
  --aim-soft: #e0e7ff;
  --aim-light: #f3f4f6;
  --aim-white: #ffffff;
  --aim-text: #25233c;
  --aim-muted: #6b7280;
  --aim-border: rgba(79, 70, 229, 0.13);
  --aim-shadow: 0 18px 45px rgba(30, 27, 75, 0.08);
  padding: 0;
  overflow: hidden;
  color: var(--aim-text);
  background: var(--aim-white);
}

.ai-marketing-article-page,
.ai-marketing-article-page * {
  box-sizing: border-box;
}

.ai-marketing-article-page img {
  max-width: 100%;
}

.ai-marketing-article-page a {
  text-decoration: none;
}

.ai-marketing-article-page p,
.ai-marketing-article-page h1,
.ai-marketing-article-page h2,
.ai-marketing-article-page h3,
.ai-marketing-article-page figure,
.ai-marketing-article-page blockquote {
  margin-top: 0;
}

.aim-section {
  position: relative;
  padding: 82px 0;
}

.aim-section-heading {
  max-width: 820px;
  margin: 0 auto 46px;
}

.aim-section-heading > span,
.aim-eyebrow,
.aim-app-index,
.aim-cta-content > span {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--aim-primary);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.16em;
}

.aim-section-heading h2 {
  margin-bottom: 16px;
  color: var(--aim-deep);
  font-size: 38px;
  font-weight: 800;
  line-height: 1.28;
}

.aim-section-heading p {
  margin-bottom: 0;
  color: var(--aim-muted);
  font-size: 17px;
  line-height: 1.9;
}

.aim-heading-light > span,
.aim-heading-light h2,
.aim-heading-light p {
  color: var(--aim-white);
}

.aim-heading-light p {
  opacity: 0.74;
}

/* Hero */
.aim-hero-section {
  position: relative;
  padding: 78px 0 72px;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 10%, rgba(255, 255, 255, 0.9), transparent 32%),
    radial-gradient(circle at 92% 12%, rgba(99, 102, 241, 0.18), transparent 28%),
    linear-gradient(125deg, #f8f7ff 0%, #eef2ff 55%, #e0e7ff 100%);
}

.aim-hero-section::before,
.aim-hero-section::after {
  position: absolute;
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.aim-hero-section::before {
  top: -150px;
  right: -120px;
  width: 440px;
  height: 440px;
  border: 1px solid rgba(79, 70, 229, 0.15);
  box-shadow: 0 0 0 48px rgba(79, 70, 229, 0.035), 0 0 0 96px rgba(79, 70, 229, 0.025);
}

.aim-hero-section::after {
  bottom: -170px;
  left: -80px;
  width: 330px;
  height: 330px;
  background: rgba(99, 102, 241, 0.08);
  filter: blur(1px);
}

.aim-hero-section .container {
  position: relative;
  z-index: 1;
}

.aim-eyebrow {
  margin-bottom: 17px;
}

.ai-marketing-article-page .page-content-title {
  margin: 0 0 24px;
  color: var(--aim-deep);
  font-size: clamp(38px, 4.1vw, 62px);
  font-weight: 900;
  line-height: 1.16;
  letter-spacing: -0.035em;
  text-align: left;
}

.aim-hero-lead {
  max-width: 760px;
  margin-bottom: 24px;
  color: #52506b;
  font-size: 17px;
  line-height: 2;
}

.aim-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.aim-hero-tags span {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 8px 14px;
  border: 1px solid rgba(79, 70, 229, 0.16);
  border-radius: 999px;
  color: var(--aim-primary);
  background: rgba(255, 255, 255, 0.75);
  font-size: 14px;
  font-weight: 700;
  backdrop-filter: blur(8px);
}

.ai-marketing-article-page .page-content-timeline {
  align-items: center;
  margin: 0;
  padding-top: 23px;
  border-top: 1px solid rgba(79, 70, 229, 0.15);
}

.ai-marketing-article-page .page-content-timeline-left,
.ai-marketing-article-page .page-content-timeline-right {
  padding: 0;
}

.ai-marketing-article-page .page-content-timeline-left p {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  align-items: center;
  margin-bottom: 0;
  color: #78768b;
  font-size: 14px;
  line-height: 1.6;
}

.ai-marketing-article-page .page-content-timeline-left a {
  padding: 6px 13px;
  border: 1px solid rgba(79, 70, 229, 0.2);
  border-radius: 999px;
  color: var(--aim-primary);
  font-weight: 700;
}

.ai-marketing-article-page .page-content-timeline-left i {
  font-style: normal;
}

.ai-marketing-article-page .page-content-timeline-right {
  justify-content: flex-end;
  gap: 12px;
}

.ai-marketing-article-page .page-content-timeline-right > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.72);
}

.ai-marketing-article-page .page-content-timeline-right img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.ai-marketing-article-page .qrcode_ewmimg {
  display: none;
}

.aim-hero-visual {
  position: relative;
  margin-bottom: 0;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.64);
  box-shadow: 0 28px 70px rgba(49, 46, 129, 0.2);
  transform: rotate(1.2deg);
}

.aim-hero-visual::before {
  position: absolute;
  inset: 9% -4% -5% 8%;
  z-index: -1;
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.22), rgba(99, 102, 241, 0.02));
  content: "";
}

.aim-hero-visual img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 510px;
  border-radius: 20px;
  object-fit: cover;
}

.aim-hero-visual figcaption {
  position: absolute;
  right: 28px;
  bottom: 28px;
  padding: 10px 15px;
  border-radius: 999px;
  color: var(--aim-white);
  background: rgba(30, 27, 75, 0.9);
  box-shadow: 0 12px 25px rgba(30, 27, 75, 0.2);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

/* Pain points */
.aim-pain-section {
  background: var(--aim-white);
}

.aim-pain-card {
  position: relative;
  height: 100%;
  min-height: 250px;
  padding: 30px;
  overflow: hidden;
  border: 1px solid #ebeaf4;
  border-radius: 22px;
  background: var(--aim-white);
  box-shadow: 0 12px 32px rgba(30, 27, 75, 0.055);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.aim-pain-card::after {
  position: absolute;
  right: -22px;
  bottom: -45px;
  color: rgba(239, 68, 68, 0.04);
  font-size: 130px;
  font-weight: 900;
  line-height: 1;
  content: "!";
}

.aim-pain-card:hover {
  transform: translateY(-5px);
  border-color: rgba(249, 115, 22, 0.25);
  box-shadow: 0 22px 48px rgba(30, 27, 75, 0.11);
}

.aim-pain-card > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 23px;
  border-radius: 16px;
  color: #ea580c;
  background: #fff1e8;
  font-size: 21px;
}

.aim-pain-card > small {
  position: absolute;
  top: 28px;
  right: 28px;
  color: #dddbea;
  font-size: 30px;
  font-weight: 900;
}

.aim-pain-card h3 {
  position: relative;
  z-index: 1;
  margin-bottom: 13px;
  color: var(--aim-deep);
  font-size: 21px;
  font-weight: 800;
}

.aim-pain-card p {
  position: relative;
  z-index: 1;
  margin-bottom: 0;
  color: var(--aim-muted);
  font-size: 15px;
  line-height: 1.82;
}

/* Blueprint and image placeholders */
.aim-blueprint-section {
  background: var(--aim-light);
}

.aim-blueprint-visual {
  max-width: 1080px;
  margin: 0 auto;
  padding: 24px;
  border: 1px solid var(--aim-border);
  border-radius: 30px;
  background: var(--aim-white);
  box-shadow: var(--aim-shadow);
}

.aim-blueprint-visual > img[src="placeholder"],
.aim-application-visual > img[src="placeholder"] {
  display: none;
}

.aim-blueprint-visual > img:not([src="placeholder"]),
.aim-application-visual > img:not([src="placeholder"]) {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
  object-fit: cover;
}

.aim-placeholder-canvas {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
}

.aim-blueprint-visual > figcaption {
  margin-top: 18px;
  color: var(--aim-muted);
  font-size: 14px;
  line-height: 1.7;
  text-align: center;
}

.aim-blueprint-visual .aim-placeholder-canvas {
  display: flex;
  flex-direction: column;
  gap: 25px;
  min-height: 470px;
  padding: 42px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.92)),
    linear-gradient(90deg, rgba(79, 70, 229, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(79, 70, 229, 0.08) 1px, transparent 1px),
    #eef2ff;
  background-size: auto, 34px 34px, 34px 34px, auto;
}

.aim-blueprint-goals {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 670px;
  margin: 0 auto;
}

.aim-blueprint-goals span {
  padding: 16px 22px;
  border-radius: 14px;
  color: var(--aim-deep);
  background: var(--aim-white);
  box-shadow: 0 10px 24px rgba(30, 27, 75, 0.08);
  font-weight: 800;
  text-align: center;
}

.aim-blueprint-goals b {
  color: var(--aim-primary);
}

.aim-blueprint-engines {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex: 1;
}

.aim-blueprint-engines > div {
  display: flex;
  flex: 0 1 220px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 165px;
  padding: 22px;
  border-radius: 22px;
  color: var(--aim-white);
  background: linear-gradient(145deg, var(--aim-primary), var(--aim-secondary));
  box-shadow: 0 18px 35px rgba(79, 70, 229, 0.24);
}

.aim-blueprint-engines > div > i {
  margin-bottom: 13px;
  font-size: 30px;
}

.aim-blueprint-engines strong {
  margin-bottom: 4px;
  font-size: 18px;
}

.aim-blueprint-engines small {
  opacity: 0.72;
}

.aim-blueprint-engines > i {
  color: var(--aim-primary);
  font-size: 24px;
}

.aim-blueprint-base {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  padding: 18px;
  border-radius: 14px;
  color: var(--aim-white);
  background: var(--aim-deep);
}

.aim-blueprint-base span {
  padding: 6px 14px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

/* Application sections */
.aim-application-section {
  padding: 94px 0;
}

.aim-content-factory,
.aim-smart-sdr {
  background: var(--aim-white);
}

.aim-digital-human {
  background: var(--aim-light);
}

.aim-app-index {
  margin-bottom: 13px;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--aim-soft);
  font-size: 12px;
  letter-spacing: 0.12em;
}

.aim-application-copy > h2 {
  margin-bottom: 8px;
  color: var(--aim-deep);
  font-size: 39px;
  font-weight: 900;
  line-height: 1.22;
}

.aim-application-copy > h3 {
  margin-bottom: 25px;
  color: var(--aim-primary);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.55;
}

.aim-app-pain {
  margin-bottom: 26px;
  padding: 15px 18px;
  border-left: 4px solid #f97316;
  border-radius: 0 12px 12px 0;
  color: #5d5a6f;
  background: #fff7ed;
  font-size: 15px;
  line-height: 1.8;
}

.aim-app-pain > i {
  margin-right: 8px;
  color: #ea580c;
}

.aim-solution-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
}

.aim-solution-list li {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  padding: 17px;
  border: 1px solid #ebeaf4;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.84);
}

.aim-solution-list li > i {
  display: inline-flex;
  flex: 0 0 34px;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  color: var(--aim-primary);
  background: var(--aim-soft);
}

.aim-solution-list strong {
  display: block;
  margin-bottom: 4px;
  color: var(--aim-deep);
  font-size: 15px;
  line-height: 1.45;
}

.aim-solution-list p {
  margin-bottom: 0;
  color: var(--aim-muted);
  font-size: 13px;
  line-height: 1.7;
}

.aim-app-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.aim-app-metrics > div {
  padding: 16px 12px;
  border-radius: 15px;
  background: linear-gradient(145deg, #f3f1ff, #eef2ff);
  text-align: center;
}

.aim-app-metrics b {
  display: block;
  color: var(--aim-primary);
  font-size: 26px;
  font-weight: 900;
  line-height: 1.2;
}

.aim-app-metrics em {
  margin-left: 2px;
  font-size: 14px;
  font-style: normal;
}

.aim-app-metrics span {
  display: block;
  margin-top: 6px;
  color: var(--aim-muted);
  font-size: 12px;
}

.aim-application-visual {
  position: relative;
  min-height: 580px;
  margin-bottom: 0;
  padding: 16px;
  border: 1px solid rgba(79, 70, 229, 0.15);
  border-radius: 30px;
  background: var(--aim-white);
  box-shadow: 0 28px 65px rgba(30, 27, 75, 0.13);
}

.aim-application-visual .aim-placeholder-canvas {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 548px;
  padding: 32px;
  text-align: center;
}

.aim-application-visual .aim-placeholder-canvas::before,
.aim-application-visual .aim-placeholder-canvas::after {
  position: absolute;
  border-radius: 50%;
  content: "";
}

.aim-application-visual .aim-placeholder-canvas::before {
  top: -100px;
  right: -90px;
  width: 280px;
  height: 280px;
  border: 50px solid rgba(255, 255, 255, 0.1);
}

.aim-application-visual .aim-placeholder-canvas::after {
  bottom: -70px;
  left: -40px;
  width: 190px;
  height: 190px;
  background: rgba(255, 255, 255, 0.08);
}

.aim-application-visual .aim-placeholder-canvas > i:first-child {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 92px;
  height: 92px;
  margin-bottom: 23px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 28px;
  color: var(--aim-white);
  background: rgba(255, 255, 255, 0.14);
  font-size: 40px;
  box-shadow: 0 15px 35px rgba(30, 27, 75, 0.18);
}

.aim-application-visual .aim-placeholder-canvas > strong {
  position: relative;
  z-index: 1;
  margin-bottom: 24px;
  color: var(--aim-white);
  font-size: 21px;
  letter-spacing: 0.12em;
}

.aim-application-visual .aim-placeholder-canvas > span,
.aim-application-visual .aim-placeholder-canvas > small {
  position: relative;
  z-index: 1;
  min-width: 200px;
  margin: 5px 0;
  padding: 11px 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: var(--aim-white);
  background: rgba(255, 255, 255, 0.12);
  font-size: 13px;
  font-weight: 700;
}

.aim-application-visual .aim-placeholder-canvas > .fa-long-arrow-right {
  position: relative;
  z-index: 1;
  margin: 3px 0;
  color: rgba(255, 255, 255, 0.72);
}

.aim-content-visual .aim-placeholder-canvas {
  background: linear-gradient(145deg, #312e81, #6366f1);
}

.aim-live-visual .aim-placeholder-canvas {
  background: linear-gradient(145deg, #4338ca, #8b5cf6);
}

.aim-live-visual .aim-placeholder-canvas span .fa-circle {
  margin-right: 6px;
  color: #fb7185;
  font-size: 9px;
}

.aim-sdr-visual .aim-placeholder-canvas {
  background: linear-gradient(145deg, #1e1b4b, #4f46e5);
}

.aim-sdr-visual .aim-placeholder-canvas > span:nth-last-child(2) {
  width: 76%;
}

.aim-sdr-visual .aim-placeholder-canvas > span:last-child {
  width: 58%;
}

/* Closed-loop section */
.aim-loop-section {
  color: var(--aim-white);
  background:
    radial-gradient(circle at 8% 0%, rgba(255, 255, 255, 0.15), transparent 25%),
    radial-gradient(circle at 94% 100%, rgba(255, 255, 255, 0.12), transparent 28%),
    linear-gradient(135deg, var(--aim-primary), var(--aim-secondary));
}

.aim-loop-flow {
  display: flex;
  align-items: stretch;
  justify-content: center;
  margin-bottom: 35px;
}

.aim-loop-flow article {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  padding: 27px 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.11);
  text-align: center;
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease, background 0.3s ease;
}

.aim-loop-flow article:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.18);
}

.aim-loop-flow article > span {
  position: absolute;
  top: 13px;
  right: 15px;
  color: rgba(255, 255, 255, 0.38);
  font-weight: 900;
}

.aim-loop-flow article > i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 55px;
  height: 55px;
  margin-bottom: 16px;
  border-radius: 17px;
  color: var(--aim-primary);
  background: var(--aim-white);
  font-size: 22px;
}

.aim-loop-flow h3 {
  margin-bottom: 9px;
  color: var(--aim-white);
  font-size: 17px;
  font-weight: 800;
}

.aim-loop-flow p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  line-height: 1.7;
}

.aim-loop-arrow {
  align-self: center;
  flex: 0 0 34px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 20px;
  text-align: center;
}

.aim-before-after {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 20px;
  background: rgba(30, 27, 75, 0.25);
}

.aim-before-after > div {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.aim-before-after > div:last-child {
  border-bottom: 0;
}

.aim-before-after span,
.aim-before-after b,
.aim-before-after strong {
  padding: 15px 22px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 14px;
}

.aim-before-after strong {
  border-right: 0;
  color: #fff;
  background: rgba(255, 255, 255, 0.09);
}

.aim-before-after b {
  color: rgba(255, 255, 255, 0.65);
  font-weight: 500;
}

.aim-before-after > div:first-child {
  color: var(--aim-deep);
  background: rgba(255, 255, 255, 0.92);
}

.aim-before-after > div:first-child b,
.aim-before-after > div:first-child strong {
  color: var(--aim-deep);
  font-weight: 800;
}

/* Industries */
.aim-industries-section {
  background: var(--aim-light);
}

.aim-industry-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.aim-industry-grid article {
  height: 100%;
  padding: 28px 20px;
  border: 1px solid #e6e5ef;
  border-radius: 19px;
  background: var(--aim-white);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.aim-industry-grid article:hover {
  transform: translateY(-5px);
  border-color: rgba(79, 70, 229, 0.25);
  box-shadow: var(--aim-shadow);
}

.aim-industry-grid i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  margin-bottom: 18px;
  border-radius: 18px;
  color: var(--aim-primary);
  background: var(--aim-soft);
  font-size: 23px;
}

.aim-industry-grid h3 {
  min-height: 46px;
  margin-bottom: 10px;
  color: var(--aim-deep);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.45;
}

.aim-industry-grid p {
  margin-bottom: 0;
  color: var(--aim-muted);
  font-size: 13px;
  line-height: 1.7;
}

/* Data overview */
.aim-results-section {
  color: var(--aim-white);
  background:
    linear-gradient(rgba(30, 27, 75, 0.96), rgba(30, 27, 75, 0.98)),
    repeating-linear-gradient(90deg, transparent 0 79px, rgba(255, 255, 255, 0.045) 80px),
    repeating-linear-gradient(0deg, transparent 0 79px, rgba(255, 255, 255, 0.045) 80px);
}

.aim-stat-card {
  height: 100%;
  min-height: 190px;
  padding: 30px 20px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.055);
  text-align: center;
  transition: transform 0.3s ease, background 0.3s ease;
}

.aim-stat-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.1);
}

.aim-stat-card > div {
  margin-bottom: 15px;
  color: #a5b4fc;
  line-height: 1;
}

.aim-stat-card .counter {
  font-size: 54px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.aim-stat-card b,
.aim-stat-card em {
  font-size: 22px;
  font-style: normal;
  font-weight: 800;
}

.aim-stat-card h3 {
  margin-bottom: 0;
  color: var(--aim-white);
  font-size: 16px;
  font-weight: 700;
}

/* Services */
.aim-services-section {
  background: var(--aim-white);
}

.aim-service-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 315px;
  padding: 30px;
  border: 1px solid #e8e7f2;
  border-radius: 22px;
  background: var(--aim-white);
  box-shadow: 0 12px 30px rgba(30, 27, 75, 0.055);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.aim-service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(79, 70, 229, 0.25);
  box-shadow: var(--aim-shadow);
}

.aim-service-card > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  margin-bottom: 24px;
  border-radius: 19px;
  color: var(--aim-white);
  background: linear-gradient(145deg, var(--aim-primary), var(--aim-secondary));
  box-shadow: 0 13px 28px rgba(79, 70, 229, 0.22);
  font-size: 25px;
}

.aim-service-card h3 {
  margin-bottom: 13px;
  color: var(--aim-deep);
  font-size: 20px;
  font-weight: 800;
}

.aim-service-card p {
  flex: 1;
  margin-bottom: 23px;
  color: var(--aim-muted);
  font-size: 14px;
  line-height: 1.8;
}

.aim-service-card a {
  color: var(--aim-primary);
  font-size: 14px;
  font-weight: 800;
}

.aim-service-card a i {
  margin-left: 5px;
  transition: transform 0.2s ease;
}

.aim-service-card a:hover i {
  transform: translateX(4px);
}

/* Quote and CTA */
.aim-quote-section {
  padding: 72px 0;
  background: var(--aim-soft);
}

.aim-quote-section blockquote {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
  padding: 28px 90px;
  border: 0;
  text-align: center;
}

.aim-quote-section blockquote > i {
  position: absolute;
  top: -15px;
  left: 28px;
  color: rgba(79, 70, 229, 0.16);
  font-size: 92px;
}

.aim-quote-section blockquote p {
  position: relative;
  z-index: 1;
  margin-bottom: 16px;
  color: var(--aim-deep);
  font-size: 28px;
  font-weight: 800;
  line-height: 1.65;
}

.aim-quote-section cite {
  color: var(--aim-primary);
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
}

.aim-cta-section {
  position: relative;
  padding: 88px 0;
  overflow: hidden;
  color: var(--aim-white);
  background: linear-gradient(130deg, #1e1b4b 0%, #3730a3 52%, #6366f1 100%);
}

.aim-cta-section::before,
.aim-cta-section::after {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 50%;
  content: "";
}

.aim-cta-section::before {
  top: -230px;
  left: -100px;
  width: 470px;
  height: 470px;
}

.aim-cta-section::after {
  right: -100px;
  bottom: -250px;
  width: 520px;
  height: 520px;
  box-shadow: 0 0 0 55px rgba(255, 255, 255, 0.025), 0 0 0 110px rgba(255, 255, 255, 0.02);
}

.aim-cta-content {
  position: relative;
  z-index: 1;
}

.aim-cta-content > span {
  color: #c7d2fe;
}

.aim-cta-content h2 {
  margin-bottom: 15px;
  color: var(--aim-white);
  font-size: 42px;
  font-weight: 900;
}

.aim-cta-content p {
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 18px;
}

.aim-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  justify-content: center;
}

.aim-cta-actions a {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  padding: 14px 24px;
  border: 1px solid var(--aim-white);
  border-radius: 999px;
  font-size: 15px;
  font-weight: 800;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.aim-cta-actions a:hover {
  transform: translateY(-3px);
}

.aim-cta-primary {
  color: var(--aim-primary);
  background: var(--aim-white);
}

.aim-cta-secondary {
  color: var(--aim-white);
  background: transparent;
}

.aim-cta-secondary:hover {
  color: var(--aim-primary);
  background: var(--aim-white);
}

/* Related articles */
.aim-related-section {
  background: var(--aim-white);
}

.aim-related-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid #e8e7f2;
  border-radius: 22px;
  color: inherit;
  background: var(--aim-white);
  box-shadow: 0 12px 30px rgba(30, 27, 75, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.aim-related-card:hover {
  color: inherit;
  transform: translateY(-5px);
  box-shadow: var(--aim-shadow);
}

.aim-related-image {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 180px;
  color: var(--aim-white);
  background:
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.2), transparent 25%),
    linear-gradient(145deg, #4338ca, #818cf8);
}

.aim-related-image > i {
  margin-bottom: 12px;
  font-size: 42px;
}

.aim-related-image small {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.aim-related-geo {
  background: linear-gradient(145deg, #1e3a8a, #2563eb);
}

.aim-related-video {
  background: linear-gradient(145deg, #0f766e, #14b8a6);
}

.aim-related-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px;
}

.aim-related-content h3 {
  margin-bottom: 12px;
  color: var(--aim-deep);
  font-size: 19px;
  font-weight: 800;
  line-height: 1.5;
}

.aim-related-content p {
  flex: 1;
  margin-bottom: 20px;
  color: var(--aim-muted);
  font-size: 14px;
  line-height: 1.75;
}

.aim-related-content b {
  color: var(--aim-primary);
  font-size: 14px;
}

/* CMS navigation */
.aim-article-navigation {
  padding: 0 0 82px;
  background: var(--aim-white);
}

.ai-marketing-article-page .page-content-detags {
  margin-bottom: 25px;
  padding: 22px 25px;
  border: 1px solid #e8e7f2;
  border-radius: 16px;
  background: var(--aim-light);
}

.ai-marketing-article-page .page-content-detags p {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 0;
  color: var(--aim-muted);
}

.ai-marketing-article-page .page-content-detags span {
  color: var(--aim-deep);
  font-weight: 800;
}

.ai-marketing-article-page .page-content-detags a {
  padding: 5px 11px;
  border-radius: 999px;
  color: var(--aim-primary);
  background: var(--aim-soft);
  font-size: 13px;
}

.ai-marketing-article-page .next-prev {
  gap: 18px;
  margin: 0;
}

.ai-marketing-article-page .next-prev-left,
.ai-marketing-article-page .next-prev-right {
  padding: 0;
}

.ai-marketing-article-page .next-prev a,
.ai-marketing-article-page .next-prev p {
  display: flex;
  align-items: center;
  min-height: 76px;
  margin-bottom: 0;
  padding: 17px 22px;
  border: 1px solid #e8e7f2;
  border-radius: 16px;
  color: var(--aim-deep);
  background: var(--aim-white);
  line-height: 1.6;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.ai-marketing-article-page .next-prev a:hover {
  transform: translateY(-3px);
  border-color: rgba(79, 70, 229, 0.28);
  box-shadow: 0 14px 30px rgba(30, 27, 75, 0.08);
}

@media (max-width: 1199.98px) {
  .aim-industry-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .aim-solution-list {
    grid-template-columns: 1fr;
  }

  .aim-loop-flow article {
    padding-right: 14px;
    padding-left: 14px;
  }
}

@media (max-width: 991.98px) {
  .aim-section,
  .aim-application-section {
    padding: 70px 0;
  }

  .aim-hero-section {
    padding: 64px 0;
  }

  .ai-marketing-article-page .page-content-title {
    font-size: 46px;
  }

  .aim-hero-visual {
    max-width: 650px;
    margin-right: auto;
    margin-left: auto;
    transform: none;
  }

  .aim-application-visual {
    min-height: 470px;
  }

  .aim-application-visual .aim-placeholder-canvas {
    min-height: 438px;
  }

  .aim-loop-flow {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .aim-loop-arrow {
    display: none;
  }
}

@media (max-width: 767.98px) {
  .aim-section,
  .aim-application-section {
    padding: 58px 0;
  }

  .aim-section-heading {
    margin-bottom: 34px;
  }

  .aim-section-heading > span,
  .aim-eyebrow,
  .aim-app-index,
  .aim-cta-content > span {
    font-size: 11px;
    letter-spacing: 0.12em;
  }

  .aim-section-heading h2 {
    font-size: 29px;
  }

  .aim-section-heading p {
    font-size: 15px;
    line-height: 1.8;
  }

  .aim-hero-section {
    padding: 50px 0 55px;
  }

  .ai-marketing-article-page .page-content-title {
    margin-bottom: 18px;
    font-size: 34px;
    line-height: 1.28;
  }

  .aim-hero-lead {
    font-size: 15px;
    line-height: 1.85;
  }

  .aim-hero-tags {
    gap: 7px;
  }

  .aim-hero-tags span {
    padding: 7px 10px;
    font-size: 12px;
  }

  .aim-hero-visual {
    padding: 9px;
    border-radius: 21px;
  }

  .aim-hero-visual img {
    border-radius: 15px;
  }

  .aim-hero-visual figcaption {
    right: 18px;
    bottom: 18px;
    padding: 7px 10px;
    font-size: 9px;
  }

  .aim-pain-card {
    min-height: auto;
    padding: 24px;
  }

  .aim-blueprint-visual {
    padding: 12px;
    border-radius: 22px;
  }

  .aim-blueprint-visual .aim-placeholder-canvas {
    gap: 18px;
    min-height: auto;
    padding: 24px 16px;
  }

  .aim-blueprint-goals {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .aim-blueprint-engines {
    flex-direction: column;
    width: 100%;
  }

  .aim-blueprint-engines > div {
    flex: none;
    width: 100%;
    min-height: 120px;
  }

  .aim-blueprint-engines > i {
    transform: rotate(90deg);
  }

  .aim-blueprint-base {
    padding: 14px 10px;
  }

  .aim-application-copy > h2 {
    font-size: 31px;
  }

  .aim-application-copy > h3 {
    font-size: 17px;
  }

  .aim-app-pain {
    font-size: 14px;
  }

  .aim-solution-list {
    grid-template-columns: 1fr;
  }

  .aim-app-metrics {
    grid-template-columns: 1fr;
  }

  .aim-application-visual {
    min-height: 400px;
    padding: 10px;
    border-radius: 22px;
  }

  .aim-application-visual .aim-placeholder-canvas {
    min-height: 378px;
    padding: 22px;
  }

  .aim-loop-flow {
    grid-template-columns: 1fr;
  }

  .aim-before-after > div {
    grid-template-columns: repeat(2, 1fr);
  }

  .aim-before-after span {
    grid-column: 1 / -1;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    font-weight: 800;
  }

  .aim-before-after b,
  .aim-before-after strong {
    padding: 13px;
    font-size: 12px;
    text-align: center;
  }

  .aim-industry-grid {
    grid-template-columns: 1fr;
  }

  .aim-industry-grid h3 {
    min-height: 0;
  }

  .aim-stat-card {
    min-height: 155px;
    padding: 23px 12px;
  }

  .aim-stat-card .counter {
    font-size: 40px;
  }

  .aim-stat-card b,
  .aim-stat-card em {
    font-size: 16px;
  }

  .aim-stat-card h3 {
    font-size: 13px;
  }

  .aim-service-card {
    min-height: auto;
    padding: 25px;
  }

  .aim-quote-section {
    padding: 52px 0;
  }

  .aim-quote-section blockquote {
    padding: 20px 12px;
  }

  .aim-quote-section blockquote > i {
    top: -7px;
    left: 0;
    font-size: 62px;
  }

  .aim-quote-section blockquote p {
    font-size: 21px;
    line-height: 1.7;
  }

  .aim-cta-section {
    padding: 65px 0;
  }

  .aim-cta-content h2 {
    font-size: 31px;
  }

  .aim-cta-content p {
    font-size: 15px;
  }

  .aim-cta-actions {
    flex-direction: column;
  }

  .aim-cta-actions a {
    width: 100%;
  }

  .aim-related-image {
    height: 155px;
  }

  .aim-article-navigation {
    padding-bottom: 60px;
  }

  .ai-marketing-article-page .next-prev {
    gap: 12px;
  }
}

@media (max-width: 399.98px) {
  .ai-marketing-article-page .page-content-title {
    font-size: 30px;
  }

  .aim-stat-card {
    min-height: 145px;
  }

  .aim-stat-card .counter {
    font-size: 35px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ai-marketing-article-page *,
  .ai-marketing-article-page *::before,
  .ai-marketing-article-page *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
