.privacy-page {
  padding-bottom: 4rem;
}

.privacy-header {
  background: var(--color-bg-secondary);
  border-bottom: 1px solid var(--color-border);
  padding: 2rem 0;
}

.privacy-header-inner {
  max-width: 48rem;
  margin: 0 auto;
  padding: 0 1rem;
  border-left: 4px solid var(--color-accent);
  padding-left: 1rem;
}

@media (min-width: 640px) {
  .privacy-header-inner {
    padding: 0 1.5rem;
    padding-left: calc(1.5rem + 4px);
  }
}

.privacy-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin: 0 0 0.5rem;
}

@media (min-width: 640px) {
  .privacy-title {
    font-size: 2rem;
  }
}

.privacy-desc {
  font-size: 1rem;
  line-height: 1.5;
  color: var(--color-text-secondary);
  margin: 0 0 0.5rem;
}

.privacy-meta {
  font-size: 0.875rem;
  color: var(--color-text-tertiary);
  margin: 0;
}

.privacy-content {
  padding: 2.5rem 0;
}

.privacy-content-inner {
  max-width: 48rem;
  margin: 0 auto;
  padding: 0 1rem;
  border-left: 2px solid var(--color-border);
  padding-left: 1rem;
}

@media (min-width: 640px) {
  .privacy-content-inner {
    padding: 0 1.5rem;
    padding-left: calc(1.5rem + 2px);
  }
}

.privacy-prose {
  color: var(--color-text-secondary);
}

.privacy-prose h2 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--color-border);
  scroll-margin-top: 6rem;
}

.privacy-prose h2:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.privacy-prose h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.privacy-prose p {
  margin-bottom: 1rem;
  line-height: 1.65;
}

.privacy-prose ul {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.privacy-prose li {
  margin-bottom: 0.35rem;
}

.privacy-prose strong {
  color: var(--color-text-primary);
}

.privacy-prose a {
  color: var(--color-accent);
  text-decoration: none;
  font-weight: 500;
}

.privacy-prose a:hover {
  color: var(--color-accent-hover);
}

[data-theme="dark"] .privacy-header {
  background: var(--color-bg-secondary);
  border-bottom-color: var(--color-border);
}

[data-theme="dark"] .privacy-content-inner {
  border-left-color: var(--color-border);
}

.about-hero {
  position: relative;
  overflow: hidden;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 5rem;
  padding-bottom: 3rem;
}

.about-hero-bg {
  display: none;
}


@keyframes about-orb-purple-move {
  0%, 100% {
    transform: scale(1) translateX(0);
    opacity: 0.05;
  }
  50% {
    transform: scale(1.3) translateX(100px);
    opacity: 0.15;
  }
}

@keyframes about-orb-how-we-work {
  0%, 100% {
    transform: scale(1);
    opacity: 0.1;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.15;
  }
}

@keyframes about-orb-who-we-are {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.08;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 0.12;
  }
}

@keyframes about-orb-why-ql {
  0%, 100% {
    transform: scale(1);
    opacity: 0.08;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.15;
  }
}


.about-section {
  position: relative;
  padding: 5rem 0;
  overflow: hidden;
  background: linear-gradient(to bottom, var(--color-bg-primary), var(--color-bg-secondary), var(--color-bg-primary));
}

@media (min-width: 1024px) {
  .about-section {
    padding: 7rem 0;
  }
}

.about-section-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.about-section-orb {
  position: absolute;
  top: 50%;
  right: 25%;
  width: 600px;
  height: 600px;
  background: var(--ql-blue-primary);
  border-radius: 50%;
  filter: blur(150px);
  pointer-events: none;
  animation: about-orb-how-we-work 8s ease-in-out infinite;
}

.about-section-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(var(--color-accent-003) 1px, transparent 1px),
    linear-gradient(90deg, var(--color-accent-003) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
}

.about-badge {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  border-radius: 9999px;
  background: var(--color-accent-20);
  border: 1px solid var(--color-accent-5);
  box-shadow: 0 0 30px var(--color-accent-3);
  margin-bottom: 1.5rem;
}

.about-badge-text {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ql-blue-lighter);
}

[data-theme="dark"] .about-badge-text {
  color: var(--ql-blue-lighter);
}

.about-card {
  position: relative;
  padding: 2rem;
  border-radius: 1rem;
  background: linear-gradient(to bottom right, var(--color-white-10), var(--color-white-05));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--color-white-20);
  box-shadow: 0 10px 40px var(--color-black-30);
  transition: all 0.3s ease;
  overflow: hidden;
  height: 100%;
}

@media (min-width: 1024px) {
  .about-card {
    padding: 2rem;
  }
}

.about-what-we-do-card {
  padding: 2rem;
}

@media (min-width: 1024px) {
  .about-what-we-do-card {
    padding: 2rem;
  }
}

.about-card:hover {
  transform: scale(1.03);
  border-color: var(--color-accent-5);
  box-shadow: 0 0 60px var(--color-accent-4), 0 20px 60px var(--color-accent-20), inset 0 0 40px var(--color-accent-1);
}

.about-card-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--color-accent-20) 0%, var(--ql-cyan-10) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 1;
}

.about-card:hover .about-card-gradient {
  opacity: 1;
}

.about-card h3,
.about-card p {
  position: relative;
  z-index: 2;
}

.about-icon-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  border-radius: 1rem;
  background: linear-gradient(to bottom right, var(--ql-blue-primary), var(--ql-cyan));
  box-shadow: 0 10px 20px var(--color-accent-4);
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
  z-index: 10;
}

.about-card:hover .about-icon-container {
  transform: scale(1.1);
  box-shadow: 0 0 40px var(--color-accent-8), 0 0 80px var(--ql-cyan-40);
}

.about-icon-container-small {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  margin-bottom: 1rem;
}

.about-icon {
  color: var(--color-white-100);
  position: relative;
  z-index: 10;
}

.about-cta-section {
  position: relative;
  padding: 5rem 0;
  overflow: hidden;
  background: radial-gradient(ellipse at center, var(--ql-blue-primary) 0%, var(--color-bg-primary) 50%, var(--color-bg-primary) 100%);
}

@media (min-width: 1024px) {
  .about-cta-section {
    padding: 7rem 0;
  }
}

.about-cta-orb-1 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: var(--ql-blue-primary);
  filter: blur(200px);
  animation: about-cta-orb-1 20s linear infinite;
}

.about-cta-orb-2 {
  position: absolute;
  top: 25%;
  right: 25%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: var(--ql-cyan);
  filter: blur(120px);
  animation: about-cta-orb-2 10s ease-in-out infinite;
}

@keyframes about-cta-orb-1 {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1) rotate(0deg);
    opacity: 0.15;
  }
  33% {
    transform: translate(-50%, -50%) scale(1.3) rotate(120deg);
    opacity: 0.25;
  }
  66% {
    transform: translate(-50%, -50%) scale(1) rotate(240deg);
    opacity: 0.15;
  }
}

@keyframes about-cta-orb-2 {
  0%, 100% {
    transform: scale(1.2);
    opacity: 0.2;
  }
  50% {
    transform: scale(1);
    opacity: 0.1;
  }
}

.about-cta-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(var(--color-accent-005) 2px, transparent 2px),
    linear-gradient(90deg, var(--color-accent-005) 2px, transparent 2px);
  background-size: 100px 100px;
  pointer-events: none;
}

.about-button-primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  background: linear-gradient(to right, var(--ql-blue-primary), var(--ql-blue-lighter), var(--ql-cyan));
  color: var(--color-white-100);
  font-weight: 500;
  overflow: hidden;
  box-shadow: 0 0 40px var(--color-accent-6), 0 0 80px var(--ql-cyan-30);
  transition: all 0.3s ease;
}

.about-button-primary:hover {
  transform: scale(1.05);
}

.about-button-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--ql-cyan), var(--ql-blue-lighter), var(--ql-blue-primary));
  opacity: 0;
  transition: opacity 0.5s ease;
}

.about-button-primary:hover::after {
  opacity: 1;
}

.about-button-primary span,
.about-button-primary svg {
  position: relative;
  z-index: 10;
}

.about-button-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  background: var(--color-white-05);
  backdrop-filter: blur(12px);
  border: 2px solid var(--color-accent-5);
  color: var(--color-white-100);
  font-weight: 500;
  box-shadow: 0 0 20px var(--color-accent-3);
  transition: all 0.3s ease;
}

.about-button-secondary:hover {
  transform: scale(1.05);
  background: var(--color-white-10);
  border-color: var(--ql-blue-lighter);
}

.about-badge-card {
  padding: 1.5rem;
  border-radius: 1rem;
  background: linear-gradient(to bottom right, var(--color-accent-20), var(--color-accent-10));
  backdrop-filter: blur(8px);
  border: 1px solid var(--color-accent-30);
  box-shadow: 0 10px 40px var(--color-accent-15);
  transition: all 0.3s ease;
}

.about-badge-card:hover {
  transform: scale(1.05);
  border-color: var(--color-accent-5);
}

.about-badge-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.75rem;
  background: linear-gradient(to bottom right, var(--ql-blue-primary), var(--ql-cyan));
  box-shadow: 0 0 30px var(--color-accent-5);
  margin-bottom: 1rem;
}

.about-fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.about-fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.about-fade-in[data-delay="0"] {
  transition-delay: 0s;
}

.about-fade-in[data-delay="0.05"] {
  transition-delay: 0.05s;
}

.about-fade-in[data-delay="0.1"] {
  transition-delay: 0.1s;
}

.about-fade-in[data-delay="0.15"] {
  transition-delay: 0.15s;
}

.about-fade-in[data-delay="0.2"] {
  transition-delay: 0.2s;
}
.about-fade-in[data-delay="0.3"] {
  transition-delay: 0.3s;
}

.about-fade-in[data-delay="0.4"] {
  transition-delay: 0.4s;
}

.about-fade-in[data-delay="0.5"] {
  transition-delay: 0.5s;
}
@media (prefers-reduced-motion: reduce) {
  .about-hero-orb,
  .about-section-orb,
  .about-cta-orb-1,
  .about-cta-orb-2 {
    animation: none;
  }
  
  .about-fade-in {
    opacity: 1;
    transform: none;
  }
}


[data-theme="light"] .about-section {
  background: linear-gradient(to bottom, var(--color-bg-primary), var(--color-bg-secondary), var(--color-bg-primary));
}

[data-theme="light"] .about-section h2 {
  color: var(--color-text-primary);
}

[data-theme="light"] .about-section p:not(.about-card p) {
  color: var(--color-text-secondary);
}

[data-theme="light"] .about-badge {
  background: var(--color-accent-10);
  border-color: var(--color-accent-30);
}

[data-theme="light"] .about-badge-text {
  color: var(--ql-blue-primary);
}

[data-theme="light"] .about-card {
  background: linear-gradient(to bottom right, var(--color-white-95), var(--color-white-85));
  border-color: var(--color-accent-20);
  box-shadow: 0 10px 40px var(--color-black-10);
}

[data-theme="light"] .about-card h3,
[data-theme="light"] .about-card p {
  color: var(--color-text-primary);
}

[data-theme="light"] .about-card-gradient {
  background: linear-gradient(135deg, var(--color-accent-1) 0%, var(--ql-cyan-05) 100%);
}

[data-theme="light"] .about-icon-container {
  background: linear-gradient(to bottom right, var(--ql-blue-primary), var(--ql-cyan));
}

[data-theme="light"] .about-cta-section {
  background: linear-gradient(to bottom right, var(--color-bg-gradient-start), var(--color-bg-secondary));
}

[data-theme="light"] .about-cta-section h2,
[data-theme="light"] .about-cta-section .text-white {
  color: var(--color-text-primary);
}

[data-theme="light"] .about-cta-section p,
[data-theme="light"] .about-cta-section .text-white\/80 {
  color: var(--color-text-secondary);
}

[data-theme="light"] .about-cta-orb-1 {
  background: var(--color-accent-08);
}

[data-theme="light"] .about-cta-orb-2 {
  background: var(--ql-cyan-05);
}

[data-theme="light"] .about-button-secondary {
  background: var(--color-white-100);
  border-color: var(--color-accent-20);
  color: var(--color-accent);
}

[data-theme="light"] .about-button-secondary:hover {
  border-color: var(--color-accent);
  background: var(--color-bg-secondary);
}

[data-theme="light"] .about-badge-card {
  background: var(--color-bg-secondary);
  border-color: var(--color-accent-10);
  box-shadow: 0 10px 40px var(--color-accent-05);
}

[data-theme="light"] .about-badge-card h3 {
  color: var(--color-text-primary);
}

[data-theme="light"] .about-badge-card p {
  color: var(--color-text-secondary);
}

[data-theme="dark"] .about-badge-card h3 {
  color: var(--color-white-100);
}

[data-theme="dark"] .about-badge-card p {
  color: var(--color-white-90);
}

[data-theme="dark"] .about-badge-card {
  background: linear-gradient(to bottom right, var(--color-accent-15), var(--color-accent-008));
  border-color: var(--color-accent-35);
  box-shadow: 0 10px 40px var(--color-accent-20);
}

[data-theme="light"] .about-section-orb {
  opacity: 0.3;
}


[data-theme="light"] .about-section .space-y-6 p,
[data-theme="light"] .about-section .text-white,
[data-theme="light"] .about-section .text-white\/90,
[data-theme="light"] .about-section .text-white\/80,
[data-theme="light"] .about-section .text-white\/70,
[data-theme="light"] .about-section p.text-white\/90,
[data-theme="light"] .about-section p.text-white\/80 {
  color: var(--color-text-primary);
}
[data-theme="light"] .about-section svg.text-white {
  color: var(--color-white-100);
}

[data-theme="light"] .about-section .bg-gradient-to-br {
  background: linear-gradient(to bottom right, var(--color-white-95), var(--color-white-85));
  border-color: var(--color-accent-20);
}

[data-theme="light"] .about-section .border-white\/20 {
  border-color: var(--color-accent-20);
}

[data-theme="light"] .about-section strong.text-\[var\(--ql-blue-lighter\)\] {
  color: var(--ql-blue-primary);
  filter: none;
}

[data-theme="light"] .about-section-grid,
[data-theme="light"] .about-grid-pattern {
  background-image: linear-gradient(var(--color-accent-005) 1px, transparent 1px), linear-gradient(90deg, var(--color-accent-005) 1px, transparent 1px);
}

[data-theme="light"] .about-cta-grid {
  background-image: 
    linear-gradient(var(--color-accent-10) 2px, transparent 2px),
    linear-gradient(90deg, var(--color-accent-10) 2px, transparent 2px);
  opacity: 0.4;
}
.about-gradient-linear {
  background: linear-gradient(to bottom, var(--color-bg-primary), var(--color-bg-secondary), var(--color-bg-primary));
}

.about-why-orb {
  top: 33%;
  left: 25%;
  width: 700px;
  height: 700px;
  background: var(--ql-cyan);
  border-radius: 50%;
  filter: blur(150px);
  pointer-events: none;
  animation: about-orb-why-ql 10s ease-in-out infinite;
  opacity: 0.1;
}

.about-who-we-are-orb {
  top: 50%;
  left: 33.333%;
  width: 600px;
  height: 600px;
  background: var(--ql-blue-primary);
  border-radius: 50%;
  filter: blur(150px);
  pointer-events: none;
  animation: about-orb-who-we-are 8s ease-in-out infinite;
  opacity: 0.1;
}

.about-card-enhanced {
  background: linear-gradient(to bottom right, var(--color-white-10), var(--color-white-05));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--color-white-20);
  box-shadow: 0 0 60px var(--color-accent-20);
}

[data-theme="light"] .about-card-enhanced {
  background: linear-gradient(to bottom right, var(--color-white-95), var(--color-white-85));
  border-color: var(--color-accent-20);
  box-shadow: 0 0 60px var(--color-accent-10);
}

[data-theme="light"] .about-gradient-linear {
  background: linear-gradient(to bottom, var(--color-bg-gradient-start), var(--color-bg-secondary), var(--color-bg-gradient-end));
}
.about-section-orb-purple {
  position: absolute;
  bottom: 25%;
  right: 25%;
  width: 600px;
  height: 600px;
  background: var(--ql-purple);
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.1;
  pointer-events: none;
  animation: about-orb-purple-move 12s ease-in-out infinite;
}

@keyframes about-orb-purple-move {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.1; }
  33% { transform: translate(-10%, 10%) scale(1.1); opacity: 0.15; }
  66% { transform: translate(5%, -5%) scale(0.9); opacity: 0.08; }
}
.blog-hero {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 5rem;
  padding-bottom: 3rem;
  margin-top: -5rem;
}

@media (min-width: 1024px) {
  .blog-hero {
    padding-top: 5rem;
    padding-bottom: 3rem;
  }
}

.blog-hero-bg,
.blog-hero-orb,
.blog-grid-pattern {
  display: none;
}

@keyframes blog-orb-pulse-1 {
  0%, 100% {
    transform: scale(1) translateX(0);
    opacity: 0.08;
  }
  50% {
    transform: scale(1.1) translateX(50px);
    opacity: 0.12;
  }
}

@keyframes blog-orb-pulse-2 {
  0%, 100% {
    transform: scale(1) translateX(0);
    opacity: 0.08;
  }
  50% {
    transform: scale(1.1) translateX(-50px);
    opacity: 0.12;
  }
}

.blog-fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.blog-fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.blog-posts-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(to bottom, var(--color-bg-primary), var(--color-bg-secondary), var(--color-bg-primary));
}

.blog-section-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.blog-section-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
}

.blog-section-orb-1 {
  top: 20%;
  left: 10%;
  width: 400px;
  height: 400px;
  background: var(--ql-purple);
  animation: blog-section-orb-1 12s ease-in-out infinite;
}

.blog-section-orb-2 {
  bottom: 20%;
  right: 10%;
  width: 400px;
  height: 400px;
  background: var(--ql-blue-primary);
  animation: blog-section-orb-2 15s ease-in-out infinite;
  animation-delay: 2s;
}

@keyframes blog-section-orb-1 {
  0%, 100% {
    transform: scale(1) translate(0, 0);
    opacity: 0.06;
  }
  50% {
    transform: scale(1.2) translate(50px, 30px);
    opacity: 0.1;
  }
}

@keyframes blog-section-orb-2 {
  0%, 100% {
    transform: scale(1) translate(0, 0);
    opacity: 0.06;
  }
  50% {
    transform: scale(1.2) translate(-50px, -30px);
    opacity: 0.1;
  }
}

.blog-section-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(var(--color-accent-003) 1px, transparent 1px),
    linear-gradient(90deg, var(--color-accent-003) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
}

.blog-post-card {
  position: relative;
  background: var(--color-card-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--color-card-border);
  border-radius: 1rem;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 0 30px var(--color-card-shadow);
}

.blog-post-card:hover {
  transform: translateY(-8px);
  border-color: var(--color-accent-4);
  box-shadow: 0 0 60px var(--color-accent-3), 0 20px 60px var(--color-accent-15);
}

.blog-post-image-link {
  display: block;
  cursor: pointer;
}

.blog-post-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--ql-blue-primary), var(--ql-cyan));
}

.blog-post-image-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--ql-blue-primary), var(--ql-cyan));
}

.blog-post-content {
  padding: 1.5rem;
}

.blog-post-meta {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
  align-items: start;
}

.blog-post-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.blog-post-date {
  color: var(--color-text-tertiary);
}

.blog-post-category {
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  background: var(--color-accent-10);
  color: var(--color-accent-light);
  font-size: 0.75rem;
  font-weight: 500;
  border: 1px solid var(--color-accent-20);
}

.blog-post-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.blog-post-title a {
  color: var(--color-text-primary);
  transition: color 0.2s ease;
}

.blog-post-title a:hover {
  color: var(--color-accent-hover);
}

.blog-post-excerpt {
  color: var(--color-text-secondary);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-post-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-link);
  font-weight: 500;
  font-size: 0.875rem;
  transition: gap 0.2s ease, color 0.2s ease;
}

.blog-post-link:hover {
  gap: 0.75rem;
  color: var(--color-link-hover);
}

.blog-empty-state {
  text-align: center;
  padding: 4rem 1rem;
}

/* Legacy states removed in favor of about-cta-section parity */
.blog-cta-section .blog-hero-bg,
.blog-cta-orb-1,
.blog-cta-orb-2,
.blog-cta-grid {
  display: none;
}

.blog-button-primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  background: linear-gradient(to right, var(--ql-blue-primary), var(--ql-blue-lighter), var(--ql-cyan));
  color: var(--color-white-100);
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 0 30px var(--color-accent-4);
  overflow: hidden;
}

.blog-button-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--ql-blue-lighter), var(--ql-cyan), var(--ql-blue-primary));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.blog-button-primary:hover::before {
  opacity: 1;
}

.blog-button-primary span,
.blog-button-primary svg {
  position: relative;
  z-index: 1;
}

.blog-button-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 50px var(--color-accent-6);
}


.services-index-section {
  position: relative;
  min-height: 100vh;
  background: linear-gradient(to bottom, var(--color-bg-gradient-start), var(--color-bg-secondary), var(--color-bg-gradient-end));
}



.services-index-intro h2, .services-index-outro h2 {
  color: var(--color-text-primary);
}

.services-index-intro p, .services-index-outro p, .services-index-outro div {
  color: var(--color-text-secondary);
}


.services-index-bg-orbs {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.services-index-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(150px);
  opacity: 0;
}

.services-index-orb-1 {
  top: 0;
  left: 25%;
  width: 500px;
  height: 500px;
  background: var(--color-accent);
  animation: services-index-orb-pulse-1 8s ease-in-out infinite;
}

.services-index-orb-2 {
  bottom: 0;
  right: 25%;
  width: 500px;
  height: 500px;
  background: var(--ql-cyan);
  animation: services-index-orb-pulse-2 8s ease-in-out infinite;
}

@keyframes services-index-orb-pulse-1 {
  0%, 100% { transform: scale(1); opacity: 0.1; }
  50% { transform: scale(1.2); opacity: 0.2; }
}

@keyframes services-index-orb-pulse-2 {
  0%, 100% { transform: scale(1.2); opacity: 0.15; }
  50% { transform: scale(1); opacity: 0.1; }
}

.services-index-bg-grid {
  background-image:
    linear-gradient(var(--color-accent-005) 1px, transparent 1px),
    linear-gradient(90deg, var(--color-accent-005) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
}


.services-index-svg {
  z-index: 1;
  pointer-events: none;
}

.services-path {
  stroke-width: 4;
}

.services-index-card.services-index-fade-in:nth-child(1) { transition-delay: 0.02s; }
.services-index-card.services-index-fade-in:nth-child(2) { transition-delay: 0.04s; }
.services-index-card.services-index-fade-in:nth-child(3) { transition-delay: 0.06s; }
.services-index-card.services-index-fade-in:nth-child(4) { transition-delay: 0.08s; }
.services-index-card.services-index-fade-in:nth-child(5) { transition-delay: 0.1s; }
.services-index-card.services-index-fade-in:nth-child(6) { transition-delay: 0.12s; }

@media (prefers-reduced-motion: reduce) {
  .services-index-fade-in {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.services-index-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
  overflow: visible;
}

@media (min-width: 768px) {
  .services-index-cards {
    gap: 0;
  }
  .services-index-card-slot {
    padding: 0;
  }
}

.services-index-cards-line {
  position: absolute;
  left: 0;
  top: -300px;
  width: 100%;
  height: calc(100% + 300px);
  pointer-events: none;
  z-index: 0;
  overflow: visible;
}

.services-index-cards-path {
  stroke-dasharray: var(--path-length, 9999);
  stroke-dashoffset: var(--path-length, 9999);
  transition: stroke-dashoffset 14s cubic-bezier(0.4, 0, 0.2, 1);
  filter: drop-shadow(0 0 6px var(--color-accent-35));
}

.services-index-cards.line-visible .services-index-cards-path {
  stroke-dashoffset: 0;
}

@media (prefers-reduced-motion: reduce) {
  .services-index-cards-path {
    transition: none;
  }
}

.services-index-card {
  position: relative;
  background: var(--color-white-05);
  border-radius: 2.5rem;
  padding: 2.5rem;
  width: 100%;
  max-width: 32rem;
  box-shadow: 0 20px 40px var(--color-black-30);
  border: 1px solid var(--color-white-10);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
  opacity: 0;
  transform: translateY(30px) translateZ(0);
  will-change: transform, opacity;
  overflow: hidden;
}

.services-index-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.services-index-card.visible:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 60px var(--color-black-50);
  border-color: var(--color-accent-40);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.services-index-card-header {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}

.services-index-card-number {
  font-size: 2.25rem;
  line-height: 1;
  font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--color-accent);
  opacity: 0.8;
  display: block;
}

.services-index-card-category {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--ql-cyan);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.services-index-card-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 1rem;
  line-height: 1.3;
  flex-shrink: 0;
}

.services-index-card-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.services-index-card-title a:hover {
  color: var(--ql-blue-lighter);
}

.services-index-card-description {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text-secondary);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.services-index-card-footer {
  padding-top: 1.25rem;
  border-top: 1px solid var(--color-white-10);
  flex-shrink: 0;
}

.services-index-card-best {
  font-size: 0.9375rem;
  font-style: italic;
  color: var(--color-text-tertiary);
  line-height: 1.4;
}

.services-index-card-best span {
  font-weight: 600;
  font-style: normal;
  color: var(--color-text-secondary);
}

.services-index-card-content {
  display: flex;
  flex-direction: column;
  height: 100%;
}

@media (min-width: 768px) {
  .services-index-card {
    width: 100%;
    max-width: 26rem;
    height: 26rem;
    min-height: 26rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
  }

  .services-index-card-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow-y: auto;
    scrollbar-width: none; /* Hide scrollbar for aesthetics */
  }

  .services-index-card-content::-webkit-scrollbar {
    display: none;
  }
}


.services-path {
  stroke: var(--ql-cyan);
  opacity: 0.8;
  transition: stroke-dashoffset 0.1s linear;
}


#services-svg-container {
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  position: relative;
  aspect-ratio: 1808 / 5409;
}

/* Mobile: Hide SVG and restructure cards */
@media (max-width: 767px) {
  #services-svg-container {
    aspect-ratio: auto;
  }

  #services-svg-container svg {
    display: none;
  }

  .services-index-cards-wrapper {
    position: relative;
    display: block;
    max-width: 100%;
  }

  .services-index-cards-wrapper > .grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 0 1rem;
  }

  .services-index-card-slot:not(:has(.services-index-card)) {
    display: none;
  }

  .services-index-card {
    max-width: 100%;
    height: auto;
    min-height: auto;
    padding: 2rem;
  }
}


/* ============================================
   SERVICE UNBOUNDED: ENHANCED BLOCKS
   New section blocks for richer service pages
   ============================================ */

/* Scroll fade-in animation (shared utility) */
.scroll-fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .scroll-fade-in {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---- Prose Alt Section (tinted background) ---- */
.service-prose-alt-section {
  background: var(--color-bg-secondary);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  position: relative;
}

.service-prose-alt-inner {
  max-width: 48rem;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

@media (min-width: 640px) {
  .service-prose-alt-inner {
    padding: 4rem 2rem;
  }
}

.service-prose-alt-section .prose h2 {
  color: var(--color-text-primary);
  font-size: 1.75rem;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 1.25rem;
}

.service-prose-alt-section .prose p {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.service-prose-alt-section .prose strong {
  color: rgba(255, 255, 255, 0.95);
}


/* ---- Trust Strip ---- */
.service-trust-strip {
  background: var(--color-bg-secondary);
  border-bottom: 1px solid var(--color-border);
  padding: 1.25rem 1rem;
}

.service-trust-strip-inner {
  max-width: 56rem;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .service-trust-strip-inner {
    gap: 2.5rem;
  }
}

.service-trust-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  background: var(--color-accent-003);
  border: 1px solid var(--color-accent-10);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.service-trust-badge:hover {
  border-color: var(--color-accent-30);
  box-shadow: 0 0 16px var(--color-accent-10);
}

.service-trust-badge-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 0.375rem;
  background: var(--color-accent-10);
  color: var(--color-accent);
  flex-shrink: 0;
}

.service-trust-badge-text {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  white-space: nowrap;
}


/* ---- Features Grid ---- */
.service-features-section {
  background: var(--color-bg-secondary);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 3.5rem 1.5rem;
  position: relative;
  overflow: hidden;
}

@media (min-width: 640px) {
  .service-features-section {
    padding: 4.5rem 2rem;
  }
}

/* Background orb effect (matches homepage services pattern) */
.service-features-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.service-features-orb {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--color-accent-10) 0%, transparent 70%);
  opacity: 0.4;
  filter: blur(80px);
  animation: service-orb-float 8s ease-in-out infinite;
}

@keyframes service-orb-float {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.08); }
}

.service-features-container {
  max-width: 56rem;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.service-features-heading {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-text-primary);
  text-align: center;
  margin-bottom: 2.5rem;
}

/* Flexbox grid — centres partial bottom rows */
.service-features-section .service-features-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

/* Glass card style (matches homepage services-card-inner) */
.service-feature-card {
  flex: 1 1 100%;
  max-width: 100%;
  background: linear-gradient(to bottom right, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 1rem;
  padding: 1.75rem;
  text-align: left;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

@media (min-width: 640px) {
  .service-features-section .service-features-grid {
    gap: 1.75rem;
  }
  .service-feature-card {
    flex: 0 1 calc(50% - 0.875rem);
    max-width: calc(50% - 0.875rem);
  }
}

@media (min-width: 1024px) {
  .service-features-section .service-features-grid {
    gap: 2rem;
  }
  .service-feature-card {
    flex: 0 1 calc(33.333% - 1.334rem);
    max-width: calc(33.333% - 1.334rem);
  }
}

.service-feature-card:hover {
  transform: scale(1.03);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 14px 50px rgba(0, 0, 0, 0.4);
}

/* Horizontal icon + title layout — CSS Grid for reliable vertical centering */
.service-feature-card .service-feature-header {
  display: grid !important;
  grid-template-columns: 3rem 1fr;
  align-items: center !important;
  gap: 1rem;
  margin-bottom: 0.875rem;
}

/* Icon container — fully explicit sizing, no Tailwind dependency */
.service-feature-card .service-feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  min-width: 3rem;
  min-height: 3rem;
  margin: 0; /* override stale margin-bottom:1rem from layouts.css .service-feature-icon */
  border-radius: 0.75rem;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, var(--color-accent), #00c2ff);
  transition: all 0.3s ease;
  box-shadow: 0 10px 20px rgba(4, 108, 255, 0.15);
}

.service-feature-card .service-feature-icon-inner {
  position: relative;
  z-index: 1;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-feature-card .service-feature-icon svg {
  transition: transform 0.3s ease;
}

/* Pulse overlay */
.service-feature-card .service-feature-icon-pulse {
  position: absolute;
  inset: 0;
}

/* Force h3 margin/padding reset — override any global heading rules */
.service-feature-card .service-feature-title {
  margin: 0 !important;
  padding: 0 !important;
}

/* Pronounced icon hover (matches homepage services-card:hover icon) */
.service-feature-card:hover .service-feature-icon {
  box-shadow:
    0 0 40px rgba(4, 108, 255, 0.3),
    0 0 80px rgba(0, 194, 255, 0.15);
  transform: scale(1.1);
}

.service-feature-card:hover .service-feature-icon svg {
  transform: scale(1.1);
}

/* Icon pulse animation on hover (matches homepage — infinite, scale 0→2) */
.service-feature-card .service-feature-icon-pulse {
  background: #fff;
  opacity: 0;
  border-radius: 0.75rem;
  transition: all 0.3s ease;
}

.service-feature-card:hover .service-feature-icon-pulse {
  animation: service-icon-pulse 0.6s ease-out infinite;
}

@keyframes service-icon-pulse {
  0% { transform: scale(0); opacity: 0.5; }
  100% { transform: scale(2); opacity: 0; }
}

.service-feature-title {
  font-size: 1.0625rem;
  font-weight: 600;
  color: #fff;
  margin: 0;
  line-height: 1.3;
  transition: color 0.2s ease;
}

/* Title colour change on card hover (matches homepage services-card-title-link:hover) */
.service-feature-card:hover .service-feature-title {
  color: var(--ql-blue-lighter);
}

.service-feature-desc {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--color-text-secondary);
  margin: 0;
}

/* Staggered card entrance (for scroll-fade-in with data-delay) */
.service-feature-card.scroll-fade-in {
  transition-delay: calc(var(--delay, 0) * 1s);
}

/* ---- Audience Section (prose + ticker integrated) ---- */
.service-audience-section {
  background: var(--color-bg-secondary);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 3rem 1.5rem 0;
  position: relative;
  overflow: hidden;
}

@media (min-width: 640px) {
  .service-audience-section {
    padding: 4rem 2rem 0;
  }
}

.service-audience-inner {
  max-width: 48rem;
  margin: 0 auto;
  padding-bottom: 2.5rem;
}

.service-audience-heading {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-top: 0;
  margin-bottom: 1.25rem;
}

.service-audience-prose p {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.service-audience-prose p:last-child {
  margin-bottom: 0;
}

/* Second heading within audience prose gets breathing room from preceding text */
.service-audience-prose .service-audience-heading:not(:first-child) {
  margin-top: 1.25rem;
}

.service-audience-ticker {
  padding-top: 1rem;
  padding-bottom: 2.5rem;
}

.service-audience-ticker .standards-ticker-card {
  max-width: 56rem;
}


/* ---- FAQ Accordion ---- */
.service-faq-section {
  background: var(--color-bg-tertiary);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 3.5rem 1.5rem;
  position: relative;
}

@media (min-width: 640px) {
  .service-faq-section {
    padding: 4.5rem 2rem;
  }
}

.service-faq-container {
  max-width: 48rem;
  margin: 0 auto;
}

.service-faq-heading {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 2rem;
}

.service-faq-section .service-faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.service-faq-section .service-faq-item {
  border: 1px solid var(--color-border);
  border-radius: 0.75rem;
  overflow: hidden;
  background: var(--color-bg-secondary);
  transition: border-color 0.2s ease;
}

.service-faq-section .service-faq-item:hover {
  border-color: var(--color-accent-20);
}

.service-faq-section .service-faq-item[open] {
  border-color: var(--color-accent-20);
}

.service-faq-section .service-faq-item summary {
  padding: 1.125rem 1.25rem;
  font-weight: 500;
  font-size: 1rem;
  color: var(--color-text-primary);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.2s ease;
}

.service-faq-section .service-faq-item summary:hover {
  color: var(--color-accent-light);
}

.service-faq-section .service-faq-item summary::-webkit-details-marker {
  display: none;
}

.service-faq-section .service-faq-item summary::after {
  content: '+';
  font-size: 1.375rem;
  font-weight: 300;
  color: var(--color-accent);
  transition: transform 0.25s ease;
  flex-shrink: 0;
  margin-left: 1rem;
}

.service-faq-section .service-faq-item[open] summary::after {
  content: '\2212';
}

.service-faq-section .service-faq-item p {
  padding: 0 1.25rem 1.125rem;
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--color-text-secondary);
}


/* ---- Service Divider ---- */
.service-divider {
  max-width: 48rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (min-width: 640px) {
  .service-divider {
    padding: 0 2rem;
  }
}

.service-divider hr {
  border: none;
  height: 1px;
  margin: 0;
}

.service-divider-glow hr {
  background: linear-gradient(90deg, transparent 0%, var(--color-accent-30) 50%, transparent 100%);
  box-shadow: 0 0 16px var(--color-accent-10);
}

.service-divider-accent hr {
  background: linear-gradient(90deg, var(--color-accent) 0%, var(--color-accent-30) 100%);
}


/* ============================================
   SERVICE UNBOUNDED: PIZZAZZ EFFECTS
   Additional polish and animation treatments
   ============================================ */

/* ---- Effect: CTA Button Shimmer ---- */
.service-unbounded .about-button-primary {
  position: relative;
  overflow: hidden;
}

.service-unbounded .about-button-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.2) 50%,
    transparent 100%
  );
  animation: cta-shimmer 3.5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes cta-shimmer {
  0% { left: -60%; }
  40% { left: 120%; }
  100% { left: 120%; }
}


/* ---- Effect: CTA Glow Pulse ---- */
.service-unbounded .about-cta-section {
  overflow: hidden;
}

.service-unbounded .about-cta-section::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--color-accent-20) 0%, transparent 70%);
  animation: cta-glow-pulse 4s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

@keyframes cta-glow-pulse {
  0%, 100% { opacity: 0.25; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 0.55; transform: translate(-50%, -50%) scale(1.25); }
}


/* ---- Effect: FAQ Alternating Slide-in ---- */
.scroll-slide-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.scroll-slide-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.scroll-slide-left.visible,
.scroll-slide-right.visible {
  opacity: 1;
  transform: translateX(0);
}

@media (prefers-reduced-motion: reduce) {
  .scroll-slide-left,
  .scroll-slide-right {
    opacity: 1;
    transform: none;
    transition: none;
  }
}


/* ---- Stat Counter Strip ---- */
.service-stats-strip {
  padding: 2rem 1.5rem;
  position: relative;
}

@media (min-width: 640px) {
  .service-stats-strip {
    padding: 2.5rem 2rem;
  }
}

.service-stats-inner {
  max-width: 56rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  text-align: center;
}

@media (max-width: 639px) {
  .service-stats-inner {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* Glass card style matching feature cards */
.service-stat {
  padding: 1.5rem 1rem;
  border-radius: 1rem;
  background: linear-gradient(to bottom right, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.service-stat:hover {
  transform: scale(1.03);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 14px 50px rgba(0, 0, 0, 0.4);
}

.service-stat-value {
  font-size: 2.25rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--color-accent), #00c2ff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.375rem;
  line-height: 1.2;
}

.service-stat-label {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  font-weight: 500;
  letter-spacing: 0.025em;
}


/* ============================================
   CTA CALLOUT VARIANTS
   Three styles for inline/contextual CTAs
   ============================================ */

/* ---- Variant 1: Sticky Sidebar CTA ---- */
.service-sidebar-layout {
  max-width: 48rem;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

@media (min-width: 640px) {
  .service-sidebar-layout {
    padding: 4rem 2rem;
  }
}

/* On large screens, widen and create two-column grid */
@media (min-width: 1200px) {
  .service-sidebar-layout {
    max-width: 66rem;
    display: grid;
    grid-template-columns: 1fr 18rem;
    gap: 3rem;
    align-items: start;
  }
}

.service-sidebar-main .prose h2 {
  color: var(--color-text-primary);
  font-size: 1.75rem;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 1rem;
}

.service-sidebar-main .prose p {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.service-sidebar-main .prose p:last-child {
  margin-bottom: 0;
}

.service-sidebar-cta {
  margin-top: 2rem;
}

@media (min-width: 1200px) {
  .service-sidebar-cta {
    position: sticky;
    top: 6rem;
    margin-top: 0;
  }
}

.service-sidebar-cta-card {
  background: linear-gradient(to bottom right, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 1rem;
  padding: 1.75rem;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.service-sidebar-cta-card:hover {
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 14px 50px rgba(0, 0, 0, 0.4);
}

/* Accent bar at top of card */
.service-sidebar-cta-accent {
  position: absolute;
  top: 0;
  left: 1.5rem;
  right: 1.5rem;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: linear-gradient(90deg, var(--color-accent), #00c2ff);
}

.service-sidebar-cta-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin: 0.5rem 0 0.625rem;
}

.service-sidebar-cta-text {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--color-text-secondary);
  margin: 0 0 1.25rem;
}

.service-sidebar-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.625rem 1.25rem;
  border-radius: 0.5rem;
  background: linear-gradient(135deg, var(--color-accent), #0055cc);
  color: #fff;
  text-decoration: none;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.service-sidebar-cta-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(4, 108, 255, 0.35);
}

/* Shimmer on sidebar button */
.service-sidebar-cta-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  animation: cta-shimmer 3.5s ease-in-out infinite;
  pointer-events: none;
}


/* ---- Variant 2: Pull-Quote CTA ---- */

.service-audience-prose {
  position: relative;
}

/* Default: top-aligned, floated right — text reflows underneath */
.service-pullquote-cta {
  float: right;
  width: 16rem;
  margin: 0.25rem 0 1.5rem 2rem;
  padding: 1.5rem;
  padding-left: 1.25rem;
  border-left: 3px solid var(--color-accent);
  background: linear-gradient(135deg, rgba(4, 108, 255, 0.08), rgba(0, 194, 255, 0.04));
  border-radius: 0 0.75rem 0.75rem 0;
  position: relative;
}

/* Optional: vertically centred via pullquote_align: centre
   Switches from float to absolute positioning with padding on prose */
.service-pullquote-cta--centre {
  float: none;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  margin: 0;
}

@media (min-width: 768px) {
  .service-audience-prose:has(.service-pullquote-cta--centre) {
    padding-right: 19rem;
  }
}

/* Subtle glow behind the quote */
.service-pullquote-cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: -2px;
  width: 4px;
  height: 60%;
  transform: translateY(-50%);
  background: var(--color-accent);
  filter: blur(6px);
  opacity: 0.5;
}

@media (max-width: 767px) {
  .service-pullquote-cta {
    float: none;
    width: 100%;
    margin: 1.5rem 0;
  }

  .service-pullquote-cta--centre {
    position: static;
    transform: none;
  }
}

.service-pullquote-cta-quote {
  font-size: 1rem;
  font-weight: 600;
  font-style: italic;
  line-height: 1.5;
  color: var(--color-text-primary);
  margin: 0 0 1rem;
  padding: 0;
  border: none;
}

.service-pullquote-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-accent-light, var(--color-accent));
  text-decoration: none;
  transition: gap 0.2s ease, color 0.2s ease;
}

.service-pullquote-cta-link:hover {
  gap: 0.625rem;
  color: var(--ql-blue-lighter);
}


/* ---- Variant 3: Floating Badge CTA ---- */
.service-badge-cta {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border-radius: 100px;
  background: linear-gradient(135deg, var(--color-accent), #0055cc);
  color: #fff;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  z-index: 50;
  box-shadow:
    0 8px 32px rgba(4, 108, 255, 0.35),
    0 2px 8px rgba(0, 0, 0, 0.3);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);

  /* Hidden by default — shown via JS */
  opacity: 0;
  transform: translateY(1rem) scale(0.9);
  pointer-events: none;
}

.service-badge-cta-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.service-badge-cta:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow:
    0 12px 40px rgba(4, 108, 255, 0.45),
    0 4px 12px rgba(0, 0, 0, 0.35);
}

/* Pulsing dot indicator */
.service-badge-cta-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00e676;
  flex-shrink: 0;
  animation: badge-dot-pulse 2s ease-in-out infinite;
}

@keyframes badge-dot-pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(0, 230, 118, 0.5); }
  50% { opacity: 0.7; box-shadow: 0 0 0 6px rgba(0, 230, 118, 0); }
}

.service-badge-cta-label {
  white-space: nowrap;
}

.service-badge-cta-arrow {
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.service-badge-cta:hover .service-badge-cta-arrow {
  transform: translateX(2px);
}

/* Reduced motion: skip badge entrance animation */
@media (prefers-reduced-motion: reduce) {
  .service-badge-cta {
    transition: none;
  }
  .service-badge-cta-visible {
    opacity: 1;
    transform: none;
  }
  .service-badge-cta-dot {
    animation: none;
  }
}


/* ============================================
   POST UNBOUNDED: PIZZAZZ EFFECTS
   Reuse service-unbounded effects for blog posts
   ============================================ */

/* ---- Effect: CTA Button Shimmer ---- */
.post-unbounded .about-button-primary {
  position: relative;
  overflow: hidden;
}

.post-unbounded .about-button-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.2) 50%,
    transparent 100%
  );
  animation: cta-shimmer 3.5s ease-in-out infinite;
  pointer-events: none;
}

/* ---- Effect: CTA Glow Pulse ---- */
.post-unbounded .about-cta-section {
  overflow: hidden;
}

.post-unbounded .about-cta-section::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--color-accent-20) 0%, transparent 70%);
  animation: cta-glow-pulse 4s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}


