/* Content and SEO landing pages */
.content-page {
  background: #F8FAFC;
}

.content-hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--header-height) + 4.5rem) 0 5rem;
  background:
    radial-gradient(circle at 12% 18%, rgba(59, 130, 246, 0.34), transparent 34%),
    radial-gradient(circle at 88% 65%, rgba(79, 70, 229, 0.28), transparent 38%),
    linear-gradient(145deg, #0F0C4D, #172A78 58%, #1D4ED8);
  color: #FFFFFF;
}

.content-hero::after {
  content: '';
  position: absolute;
  width: 420px;
  height: 420px;
  top: -190px;
  left: -160px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(255, 255, 255, 0.025), 0 0 0 140px rgba(255, 255, 255, 0.018);
}

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

.breadcrumbs {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1.5rem;
  color: rgba(239, 246, 255, 0.72);
  font-size: 0.9rem;
}

.breadcrumbs a:hover {
  color: #FFFFFF;
}

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

.content-eyebrow {
  display: inline-flex;
  margin-bottom: 1rem;
  padding: 0.4rem 1rem;
  border: 1px solid rgba(147, 197, 253, 0.35);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.1);
  color: #DBEAFE;
  font-size: 0.88rem;
  font-weight: 700;
}

.content-hero h1 {
  margin-bottom: 1.25rem;
  font-family: var(--font-heading);
  font-size: clamp(2.35rem, 6vw, 4rem);
  line-height: 1.16;
  letter-spacing: -0.025em;
}

.content-lead {
  max-width: 760px;
  margin: 0 auto 2rem;
  color: rgba(239, 246, 255, 0.84);
  font-size: clamp(1.12rem, 2.2vw, 1.35rem);
  line-height: 1.75;
}

.content-hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.content-hero .btn-primary {
  background: linear-gradient(135deg, #3B82F6, #6366F1);
}

.content-hero .btn-secondary {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  backdrop-filter: blur(8px);
}

.content-main {
  padding: 5rem 0 6rem;
}

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 3.25rem;
  align-items: start;
}

.article-content {
  min-width: 0;
}

.article-intro,
.article-section,
.comparison-wrap,
.guide-index {
  margin-bottom: 2rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  background: #FFFFFF;
  box-shadow: var(--shadow-sm);
}

.article-intro {
  border-right: 4px solid var(--blue-primary);
  color: #334155;
  font-size: 1.15rem;
  line-height: 1.8;
}

.article-section h2 {
  margin-bottom: 1rem;
  color: var(--bg-deep);
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.05rem);
  line-height: 1.3;
}

.article-section h3 {
  margin: 1.6rem 0 0.6rem;
  color: #1E3A8A;
  font-family: var(--font-heading);
  font-size: 1.25rem;
}

.article-section p,
.article-section li {
  color: #475569;
  font-size: 1.06rem;
  line-height: 1.8;
}

.article-section p + p {
  margin-top: 0.9rem;
}

.article-section ul,
.article-section ol {
  display: grid;
  gap: 0.75rem;
  margin: 1rem 0;
  padding-right: 1.4rem;
}

.article-section strong {
  color: #1E293B;
}

.content-aside {
  position: sticky;
  top: calc(var(--header-height) + 1.5rem);
  display: grid;
  gap: 1.25rem;
}

.aside-card {
  padding: 1.5rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  background: #FFFFFF;
  box-shadow: var(--shadow-sm);
}

.aside-card h2 {
  margin-bottom: 0.8rem;
  color: var(--bg-deep);
  font-family: var(--font-heading);
  font-size: 1.18rem;
}

.aside-card p {
  margin-bottom: 1rem;
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.6;
}

.aside-links {
  display: grid;
  gap: 0.7rem;
  list-style: none;
}

.aside-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  color: #334155;
  font-size: 0.94rem;
  font-weight: 600;
}

.aside-links a::after {
  content: '←';
  color: var(--blue-primary);
}

.aside-links a:hover {
  color: var(--blue-primary);
}

.aside-card .btn {
  width: 100%;
  padding-inline: 1rem;
}

.key-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}

.key-point {
  padding: 1.25rem;
  border: 1px solid #DBEAFE;
  border-radius: var(--radius-md);
  background: #F8FAFF;
}

.key-point strong {
  display: block;
  margin-bottom: 0.35rem;
  color: #1E3A8A;
}

.key-point span {
  color: #64748B;
  line-height: 1.55;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
}

.comparison-table th,
.comparison-table td {
  padding: 1rem;
  border-bottom: 1px solid var(--border-light);
  text-align: right;
  vertical-align: top;
}

.comparison-table th {
  background: #EEF2FF;
  color: var(--bg-deep);
}

.comparison-table td {
  color: #475569;
}

.guide-grid,
.related-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.guide-card,
.related-card {
  display: flex;
  min-height: 190px;
  flex-direction: column;
  padding: 1.5rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  background: #FFFFFF;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.guide-card:hover,
.related-card:hover {
  transform: translateY(-4px);
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow: var(--shadow-md);
}

.guide-card-tag {
  margin-bottom: 0.7rem;
  color: var(--blue-primary);
  font-size: 0.82rem;
  font-weight: 700;
}

.guide-card h2,
.related-card h3 {
  margin-bottom: 0.65rem;
  color: var(--bg-deep);
  font-family: var(--font-heading);
  font-size: 1.3rem;
  line-height: 1.35;
}

.guide-card p,
.related-card p {
  margin-bottom: 1rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.guide-card-link {
  margin-top: auto;
  color: var(--blue-primary);
  font-weight: 700;
}

.article-cta {
  margin-top: 3rem;
  padding: clamp(2rem, 5vw, 3.5rem);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #0F0C4D, #1D4ED8);
  color: #FFFFFF;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.article-cta h2 {
  margin-bottom: 0.7rem;
  font-family: var(--font-heading);
  font-size: clamp(1.7rem, 4vw, 2.3rem);
}

.article-cta p {
  max-width: 620px;
  margin: 0 auto 1.5rem;
  color: rgba(239, 246, 255, 0.82);
  line-height: 1.7;
}

.content-footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem 1.25rem;
  list-style: none;
}

.content-footer-links a:hover {
  color: #93C5FD;
}

.proof-metrics,
.client-logo-grid,
.testimonial-grid,
.installation-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.proof-metric,
.client-logo,
.testimonial-card,
.installation-card,
.demo-video-card {
  margin: 0;
  border: 1px solid #dce5f5;
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 12px 32px rgb(25 56 112 / 8%);
}

.proof-metric {
  padding: 1.5rem;
  text-align: center;
}

.proof-metric strong {
  display: block;
  color: #173a76;
  font-size: clamp(1.8rem, 5vw, 2.7rem);
}

.proof-metric span,
.client-logo figcaption,
.testimonial-card figcaption span,
.installation-card figcaption span {
  color: #5f6f89;
}

.client-logo {
  display: grid;
  min-height: 10rem;
  padding: 1rem;
  place-items: center;
  text-align: center;
}

.client-logo img {
  max-width: 12rem;
  max-height: 5rem;
  object-fit: contain;
}

.testimonial-card {
  padding: 1.4rem;
}

.testimonial-card blockquote {
  margin: 0 0 1rem;
  color: #17233a;
  font-size: 1.05rem;
  line-height: 1.75;
}

.testimonial-card figcaption span,
.installation-card figcaption strong,
.installation-card figcaption span {
  display: block;
}

.installation-card {
  overflow: hidden;
}

.installation-card img,
.demo-video-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.installation-card figcaption {
  padding: 1.1rem;
}

.demo-video-card {
  position: relative;
  display: block;
  overflow: hidden;
}

.demo-video-card span {
  position: absolute;
  inset: auto 1rem 1rem;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: rgb(10 35 75 / 90%);
  color: #fff;
  font-weight: 700;
  text-align: center;
}

.screen-gallery {
  display: grid;
  gap: 1.5rem;
}

.screen-gallery--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.screen-gallery-item {
  overflow: hidden;
  margin: 0;
  border: 1px solid #dce4f0;
  border-radius: 1.25rem;
  background: #fff;
  box-shadow: 0 1rem 2.5rem rgb(15 35 75 / 10%);
}

.screen-gallery-item a {
  display: block;
  overflow: hidden;
  background: #eef2f8;
}

.screen-gallery-item img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 220ms ease;
}

.screen-gallery-item a:hover img {
  transform: scale(1.015);
}

.screen-gallery-item figcaption {
  display: grid;
  gap: 0.35rem;
  padding: 1.25rem 1.4rem;
}

.screen-gallery-item figcaption strong {
  color: #173a76;
  font-size: 1.1rem;
}

.screen-gallery-item figcaption span {
  color: #5f6f89;
  line-height: 1.65;
}

.screen-gallery-note {
  margin-top: 1rem;
  color: #173a76;
  font-weight: 700;
  text-align: center;
}

body.lightbox-open {
  overflow: hidden;
}

.image-lightbox {
  position: fixed;
  z-index: 2000;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 3vw, 2.5rem);
  background: rgb(3 12 30 / 92%);
  cursor: zoom-out;
}

.image-lightbox.open {
  display: flex;
}

.image-lightbox-image {
  display: block;
  max-width: 96vw;
  max-height: 90vh;
  border-radius: 0.75rem;
  box-shadow: 0 1.5rem 4rem rgb(0 0 0 / 45%);
  object-fit: contain;
  cursor: default;
}

.image-lightbox-close {
  position: fixed;
  z-index: 1;
  top: 1rem;
  left: 1rem;
  display: grid;
  width: 3rem;
  height: 3rem;
  padding: 0;
  place-items: center;
  border: 1px solid rgb(255 255 255 / 35%);
  border-radius: 50%;
  background: rgb(10 35 75 / 90%);
  color: #fff;
  font: inherit;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.image-lightbox-close:focus-visible {
  outline: 3px solid #f2c45f;
  outline-offset: 3px;
}

@media (max-width: 900px) {
  .content-layout {
    grid-template-columns: 1fr;
  }

  .content-aside {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .content-hero {
    padding-top: calc(var(--header-height) + 3rem);
    padding-bottom: 3.5rem;
  }

  .content-main {
    padding: 3rem 0 4rem;
  }

  .key-points,
  .guide-grid,
  .related-grid,
  .proof-metrics,
  .client-logo-grid,
  .testimonial-grid,
  .installation-grid,
  .content-aside,
  .content-footer-links {
    grid-template-columns: 1fr;
  }

  .comparison-wrap {
    overflow-x: auto;
    padding: 0.5rem;
  }

  .comparison-table {
    min-width: 620px;
  }

  .screen-gallery--two {
    grid-template-columns: 1fr;
  }
}
