@charset "UTF-8";
:root {
  --font-body: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --color-text: #222;
  --color-bg-muted: #f5f5f5;
  --color-link: #333;
  --container-max: 1200px;
  --space-sm: 1rem;
  --space-md: 2rem;
}

body {
  font-family: var(--font-body);
  margin: 0;
  line-height: 1.6;
  color: var(--color-text);
}

main {
  padding: var(--space-md) 0;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-sm);
}

html {
  scroll-behavior: smooth;
}

.site-header,
.site-footer {
  background: var(--color-bg-muted);
  padding: var(--space-sm) 0;
}

.site-nav a {
  margin-right: var(--space-sm);
  text-decoration: none;
  color: var(--color-link);
}

.blog-post-list__grid {
  display: grid;
  gap: var(--space-lg);
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .blog-post-list__grid--cols-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .blog-post-list__grid--cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .blog-post-list__grid--cols-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}
.blog-post-list--carousel .blog-post-list__carousel {
  position: relative;
}
.blog-post-list--carousel .blog-post-list__carousel-viewport {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg, 12px);
}
.blog-post-list--carousel .blog-post-list__carousel-track {
  --carousel-visible: 3;
  --carousel-index: 0;
  display: flex;
  gap: var(--space-lg);
  align-items: stretch;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  transform: translateX(calc(-1 * var(--carousel-index) * 100% / var(--carousel-visible)));
}
.blog-post-list--carousel .blog-post-list__carousel-track .blog-post-card--carousel {
  flex: 0 0 calc((100% - var(--space-lg) * (var(--carousel-visible) - 1)) / var(--carousel-visible));
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.blog-post-list--carousel .blog-post-list__carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border, #e2e8f0);
  border-radius: 50%;
  background: var(--color-bg, #fff);
  color: var(--color-primary, #164194);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
  z-index: 2;
}
.blog-post-list--carousel .blog-post-list__carousel-arrow:hover, .blog-post-list--carousel .blog-post-list__carousel-arrow:focus-visible {
  background: var(--color-primary, #164194);
  color: var(--color-primary-contrast, #fff);
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 6px 16px rgba(22, 65, 148, 0.25);
}
.blog-post-list--carousel .blog-post-list__carousel-arrow:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  transform: translateY(-50%);
  box-shadow: none;
  background: var(--color-bg, #fff);
  color: var(--color-muted, #64748b);
}
.blog-post-list--carousel .blog-post-list__carousel-arrow--prev {
  left: var(--space-md, 1rem);
}
.blog-post-list--carousel .blog-post-list__carousel-arrow--next {
  right: var(--space-md, 1rem);
}
.blog-post-list--carousel .blog-post-list__carousel-dots {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
  min-height: 16px;
}
.blog-post-list--carousel .blog-post-list__carousel-dot {
  width: 12px;
  height: 12px;
  border: 2px solid var(--color-primary, #164194);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
  padding: 0;
  flex-shrink: 0;
}
.blog-post-list--carousel .blog-post-list__carousel-dot:hover, .blog-post-list--carousel .blog-post-list__carousel-dot:focus-visible {
  background: var(--color-primary, #164194);
  transform: scale(1.25);
}
.blog-post-list--carousel .blog-post-list__carousel-dot.is-active {
  background: var(--color-primary, #164194);
}
.blog-post-list--carousel .blog-post-list__carousel-footer {
  display: flex;
  justify-content: center;
  margin-top: var(--space-xl);
}

@media (max-width: 991px) {
  .blog-post-list--carousel .blog-post-list__carousel-track {
    --carousel-visible: 2;
  }
  .blog-post-list--carousel .blog-post-list__carousel-arrow {
    width: 40px;
    height: 40px;
  }
  .blog-post-list--carousel .blog-post-list__carousel-arrow--prev {
    left: var(--space-sm, 0.5rem);
  }
  .blog-post-list--carousel .blog-post-list__carousel-arrow--next {
    right: var(--space-sm, 0.5rem);
  }
}
@media (max-width: 576px) {
  .blog-post-list--carousel .blog-post-list__carousel-arrow {
    display: none;
  }
  .blog-post-list--carousel .blog-post-list__carousel-track {
    --carousel-visible: 1;
    gap: var(--space-md);
  }
  .blog-post-list--carousel .blog-post-list__carousel-track .blog-post-card--carousel {
    flex: 0 0 100%;
  }
  .blog-post-list--carousel .blog-post-list__carousel-dots {
    margin-top: var(--space-md);
  }
  .blog-post-list--carousel .blog-post-list__carousel-footer {
    margin-top: var(--space-lg);
  }
}
@keyframes blog-gallery-reveal {
  0% {
    opacity: 0;
    transform: translateY(24px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
.blog-gallery {
  padding: var(--space-xl) 0;
}
.blog-gallery--slider .blog-gallery__grid {
  display: none;
}

.blog-gallery__label {
  background: var(--color-primary-soft, rgba(22, 65, 148, 0.08));
  border: 1px solid var(--color-primary-soft, rgba(22, 65, 148, 0.12));
  border-radius: 999px;
  color: var(--color-primary, #164194);
  display: inline-block;
  font-family: var(--font-body, "Inter", sans-serif);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-sm);
  padding: 0.4rem 0.85rem;
  text-align: center;
  text-transform: uppercase;
}

.blog-gallery__heading {
  color: var(--color-heading, #0f172a);
  font-family: var(--font-heading, "Plus Jakarta Sans", sans-serif);
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: var(--space-sm);
  text-align: center;
}

.blog-gallery__description {
  color: var(--color-muted, #475569);
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: var(--space-xl);
  margin-left: auto;
  margin-right: auto;
  max-width: 720px;
  text-align: center;
}

.blog-gallery__grid {
  display: grid;
  gap: var(--space-md);
  grid-template-columns: 1fr;
}

@media (min-width: 576px) {
  .blog-gallery__grid--2-cols,
  .blog-gallery__grid--3-cols,
  .blog-gallery__grid--4-cols {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 768px) {
  .blog-gallery__grid--2-cols {
    grid-template-columns: repeat(2, 1fr);
  }
  .blog-gallery__grid--3-cols {
    grid-template-columns: repeat(3, 1fr);
  }
  .blog-gallery__grid--4-cols {
    grid-template-columns: repeat(4, 1fr);
  }
}
.blog-gallery__card,
.blog-gallery__carousel-slide {
  display: flex;
  flex-direction: column;
}

.blog-gallery__card {
  background: var(--color-surface, #ffffff);
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: var(--radius-lg, 16px);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 12px 24px -8px rgba(15, 23, 42, 0.08);
  cursor: pointer;
  margin: 0;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.blog-gallery__card:hover, .blog-gallery__card:focus-visible {
  box-shadow: 0 20px 40px -10px rgba(22, 65, 148, 0.14), 0 10px 20px -8px rgba(15, 23, 42, 0.1);
  outline: none;
  transform: translateY(-6px);
}
.blog-gallery__card:hover .blog-gallery__media img, .blog-gallery__card:focus-visible .blog-gallery__media img {
  transform: scale(1.06);
}
html.js-gallery-animate .blog-gallery__card[data-reveal] {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
html.js-gallery-animate .blog-gallery__card[data-reveal=visible] {
  animation: blog-gallery-reveal 0.7s ease forwards;
}

.blog-gallery__media {
  aspect-ratio: 4/3;
  background: var(--color-bg-alt, #f1f5f9);
  overflow: hidden;
  position: relative;
  width: 100%;
}
.blog-gallery__media img {
  display: block;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  width: 100%;
}
.blog-gallery__media::after {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0) 60%, rgba(15, 23, 42, 0.15) 100%);
  content: "";
  inset: 0;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  transition: opacity 0.35s ease;
}
.blog-gallery__card:hover .blog-gallery__media::after, .blog-gallery__card:focus-visible .blog-gallery__media::after {
  opacity: 1;
}

.blog-gallery__link-badge,
.blog-gallery__zoom-badge {
  align-items: center;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.18);
  color: var(--color-primary, #164194);
  display: flex;
  font-size: 0.85rem;
  height: 2.4rem;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  right: var(--space-sm);
  top: var(--space-sm);
  transform: scale(0.85);
  transition: opacity 0.3s ease, transform 0.3s ease;
  width: 2.4rem;
  z-index: 2;
}

.blog-gallery__card:hover .blog-gallery__link-badge,
.blog-gallery__card:hover .blog-gallery__zoom-badge,
.blog-gallery__card:focus-visible .blog-gallery__link-badge,
.blog-gallery__card:focus-visible .blog-gallery__zoom-badge {
  opacity: 1;
  transform: scale(1);
}

.blog-gallery__caption {
  background: var(--color-surface, #ffffff);
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  color: var(--color-heading, #0f172a);
  display: block;
  flex-shrink: 0;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.4;
  padding: var(--space-sm) var(--space-md);
  text-align: left;
}

@media (prefers-reduced-motion: reduce) {
  .blog-gallery__card,
  .blog-gallery__media img,
  .blog-gallery__media::after {
    transition: none;
  }
  html.js-gallery-animate .blog-gallery__card[data-reveal],
  html.js-gallery-animate .blog-gallery__card[data-reveal=visible] {
    animation: none;
    transition: none;
  }
}
.blog-gallery__carousel {
  position: relative;
  --gallery-index: 0;
  --gallery-visible: 1;
}

.blog-gallery__carousel-viewport {
  overflow: hidden;
}

.blog-gallery__carousel-track {
  --gallery-index: 0;
  --gallery-visible: 1;
  display: flex;
  gap: var(--space-md);
  transform: translateX(calc(-100% * var(--gallery-index) / var(--gallery-visible)));
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}
@media (prefers-reduced-motion: reduce) {
  .blog-gallery__carousel-track {
    transition: none;
  }
}

.blog-gallery__carousel-slide {
  flex: 0 0 calc(100% / var(--gallery-visible));
  min-width: 0;
}

@media (max-width: 575px) {
  .blog-gallery__carousel {
    --gallery-visible: 1;
  }
}
@media (min-width: 576px) and (max-width: 991px) {
  .blog-gallery__carousel:not([data-visible="1"]) {
    --gallery-visible: 2;
  }
}
@media (min-width: 992px) {
  .blog-gallery__carousel {
    --gallery-visible: 3;
  }
}
.blog-gallery__arrow {
  align-items: center;
  background: var(--color-surface, #ffffff);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.1);
  color: var(--color-primary, #164194);
  cursor: pointer;
  display: flex;
  height: 2.8rem;
  justify-content: center;
  opacity: 0;
  position: absolute;
  top: calc(50% - 1.4rem - 1.2rem);
  transform: translateY(-50%);
  transition: opacity 0.25s ease, transform 0.2s ease, background 0.2s ease;
  width: 2.8rem;
  z-index: 3;
}
.blog-gallery__arrow:hover:not(:disabled), .blog-gallery__arrow:focus-visible:not(:disabled) {
  background: var(--color-primary, #164194);
  color: #fff;
  outline: none;
  transform: translateY(-50%) scale(1.08);
}
.blog-gallery__arrow:disabled {
  cursor: not-allowed;
  opacity: 0.3;
}
.blog-gallery__arrow--prev {
  left: calc(-1 * var(--space-md));
}
.blog-gallery__arrow--next {
  right: calc(-1 * var(--space-md));
}

.blog-gallery__carousel:hover .blog-gallery__arrow:not(:disabled),
.blog-gallery__carousel:focus-within .blog-gallery__arrow:not(:disabled) {
  opacity: 1;
}

@media (hover: none) {
  .blog-gallery__arrow:not(:disabled) {
    opacity: 0.9;
  }
}
.blog-gallery__dots {
  display: flex;
  gap: 0.6rem;
  justify-content: center;
  margin-top: var(--space-md);
}

.blog-gallery__dot {
  background: rgba(15, 23, 42, 0.18);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  height: 0.55rem;
  padding: 0;
  transition: background 0.25s ease, transform 0.25s ease, width 0.25s ease;
  width: 0.55rem;
}
.blog-gallery__dot:hover, .blog-gallery__dot:focus-visible {
  background: var(--color-primary, #164194);
  outline: none;
  transform: scale(1.15);
}
.blog-gallery__dot.is-active {
  background: var(--color-primary, #164194);
  width: 1.5rem;
}

.blog-gallery-lightbox {
  align-items: center;
  backdrop-filter: blur(8px);
  background: rgba(15, 23, 42, 0.92);
  bottom: 0;
  display: flex;
  justify-content: center;
  left: 0;
  opacity: 0;
  position: fixed;
  right: 0;
  top: 0;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  visibility: hidden;
  z-index: 9999;
}
.blog-gallery-lightbox.is-active {
  opacity: 1;
  visibility: visible;
}
.blog-gallery-lightbox__backdrop {
  bottom: 0;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}
.blog-gallery-lightbox__content {
  display: flex;
  flex-direction: column;
  max-height: 92vh;
  max-width: min(1200px, 92vw);
  position: relative;
  width: 100%;
  z-index: 1;
}
.blog-gallery-lightbox__figure {
  background: var(--color-surface, #ffffff);
  border-radius: var(--radius-md, 8px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  margin: 0;
  overflow: hidden;
  position: relative;
}
.blog-gallery-lightbox__image {
  display: block;
  height: auto;
  max-height: 78vh;
  object-fit: contain;
  width: 100%;
}
.blog-gallery-lightbox__caption {
  background: rgba(15, 23, 42, 0.85);
  color: #ffffff;
  font-size: 0.95rem;
  left: 0;
  padding: var(--space-sm) var(--space-md);
  position: absolute;
  right: 0;
  text-align: center;
}
.blog-gallery-lightbox__close, .blog-gallery-lightbox__prev, .blog-gallery-lightbox__next {
  align-items: center;
  background: rgba(255, 255, 255, 0.12);
  border: 0;
  border-radius: 50%;
  color: #ffffff;
  cursor: pointer;
  display: flex;
  font-size: 1.4rem;
  height: 3rem;
  justify-content: center;
  position: absolute;
  transition: background 0.2s ease, transform 0.2s ease;
  width: 3rem;
  z-index: 2;
}
.blog-gallery-lightbox__close:hover, .blog-gallery-lightbox__close:focus-visible, .blog-gallery-lightbox__prev:hover, .blog-gallery-lightbox__prev:focus-visible, .blog-gallery-lightbox__next:hover, .blog-gallery-lightbox__next:focus-visible {
  background: var(--color-primary, #164194);
  outline: none;
  transform: scale(1.05);
}
.blog-gallery-lightbox__close {
  right: var(--space-md);
  top: var(--space-md);
}
.blog-gallery-lightbox__prev {
  left: var(--space-md);
  top: 50%;
  transform: translateY(-50%);
}
.blog-gallery-lightbox__prev:hover, .blog-gallery-lightbox__prev:focus-visible {
  transform: translateY(-50%) scale(1.05);
}
.blog-gallery-lightbox__next {
  right: var(--space-md);
  top: 50%;
  transform: translateY(-50%);
}
.blog-gallery-lightbox__next:hover, .blog-gallery-lightbox__next:focus-visible {
  transform: translateY(-50%) scale(1.05);
}
.blog-gallery-lightbox__counter {
  bottom: var(--space-md);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.85rem;
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
  z-index: 2;
}

@media (max-width: 767px) {
  .blog-gallery-lightbox__content {
    max-height: 95vh;
    max-width: 96vw;
  }
  .blog-gallery-lightbox__close, .blog-gallery-lightbox__prev, .blog-gallery-lightbox__next {
    height: 2.5rem;
    width: 2.5rem;
  }
  .blog-gallery-lightbox__close {
    right: var(--space-sm);
    top: var(--space-sm);
  }
  .blog-gallery-lightbox__prev {
    left: var(--space-sm);
  }
  .blog-gallery-lightbox__next {
    right: var(--space-sm);
  }
  .blog-gallery__arrow {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .blog-gallery-lightbox {
    transition: none;
  }
}
.trust-teaser .testimonial-slider {
  overflow: hidden;
  position: relative;
}
.trust-teaser .testimonial-track {
  display: flex;
  gap: var(--space-md);
  transition: transform 0.5s ease-in-out;
  will-change: transform;
}
.trust-teaser .testimonial-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex: 0 0 100%;
  flex-direction: column;
  padding: var(--space-md);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.trust-teaser .testimonial-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.trust-teaser .testimonial-card .quote {
  color: var(--color-text);
  flex-grow: 1;
  font-size: 1rem;
  font-style: italic;
  line-height: 1.6;
  margin-bottom: var(--space-sm);
  position: relative;
}
.trust-teaser .testimonial-card .quote::before {
  color: rgba(22, 65, 148, 0.12);
  content: '"';
  display: block;
  font-family: Georgia, serif;
  font-size: 3.5rem;
  font-style: normal;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.25rem;
}
.trust-teaser .testimonial-card .author-info {
  border-top: 1px solid var(--color-border);
  margin-top: auto;
  padding-top: var(--space-sm);
}
.trust-teaser .testimonial-card .author-name {
  color: var(--color-heading);
  font-family: var(--font-heading);
  font-weight: 700;
}
.trust-teaser .testimonial-card .author-context {
  color: var(--color-primary);
  font-size: var(--fs-small);
  font-weight: 500;
}
.trust-teaser .testimonial-dots {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-top: var(--space-md);
}
.trust-teaser .testimonial-dot {
  background: var(--color-border);
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  height: 10px;
  padding: 0;
  transition: background 0.3s ease, transform 0.3s ease, width 0.3s ease;
  width: 10px;
}
.trust-teaser .testimonial-dot:hover, .trust-teaser .testimonial-dot:focus {
  background: var(--color-primary);
  outline: none;
  transform: scale(1.2);
}
.trust-teaser .testimonial-dot.is-active {
  background: var(--color-primary);
  width: 24px;
}

@media (min-width: 768px) {
  .trust-teaser .testimonial-card {
    flex: 0 0 calc(50% - var(--space-md) / 2);
  }
}
.hosting-architecture {
  padding: var(--space-xl) 0;
  background: #f8fafc;
}
.hosting-architecture .ha-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--space-lg);
}
.hosting-architecture .ha-header .badge {
  display: inline-block;
  background: #164194;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  margin-bottom: var(--space-sm);
}
.hosting-architecture .ha-header h2 {
  color: #0f172a;
  margin-bottom: var(--space-sm);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
}
.hosting-architecture .ha-header .ha-lead {
  color: #475569;
  font-size: 1.05rem;
  line-height: 1.6;
}
.hosting-architecture .ha-diagram {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #ffffff;
  border-radius: 12px;
  padding: var(--space-lg) var(--space-md);
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.08);
  border: 1px solid #e2e8f0;
}
.hosting-architecture .ha-layer {
  display: flex;
  justify-content: center;
  align-items: stretch;
  width: 100%;
  padding: var(--space-xs) 0;
}
.hosting-architecture .ha-node {
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 1.1rem 1.6rem;
  text-align: center;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  flex: 0 0 auto;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
}
.hosting-architecture .ha-node:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(22, 65, 148, 0.1);
  border-color: #164194;
}
.hosting-architecture .ha-node .ha-node-icon {
  font-size: 1.5rem;
  color: #164194;
  line-height: 1;
}
.hosting-architecture .ha-node .ha-node-title {
  font-weight: 700;
  color: #0f172a;
  font-size: 0.95rem;
  line-height: 1.3;
}
.hosting-architecture .ha-node .ha-node-meta {
  font-size: 0.8rem;
  color: #64748b;
}
.hosting-architecture .ha-node .ha-node-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #fef3c7;
  color: #92400e;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  margin-top: 0.3rem;
}
.hosting-architecture .ha-node .ha-node-badge i {
  font-size: 0.7rem;
}
.hosting-architecture .ha-node-internet {
  background: #f1f5f9;
  border-color: #cbd5e1;
  min-width: 140px;
  padding: 1rem 1.4rem;
}
.hosting-architecture .ha-layer-gateways {
  gap: var(--space-md);
  flex-wrap: wrap;
}
.hosting-architecture .ha-layer-gateways .ha-node-gateway,
.hosting-architecture .ha-layer-gateways .ha-node-gateway-hp {
  border-top: 3px solid #164194;
  min-width: 220px;
  max-width: 260px;
}
.hosting-architecture .ha-flow {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 0.2rem 0;
  position: relative;
}
.hosting-architecture .ha-flow .ha-flow-line {
  width: 2px;
  height: 2.2rem;
  background: transparent;
  position: relative;
  overflow: hidden;
}
.hosting-architecture .ha-flow .ha-flow-dash {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background: repeating-linear-gradient(to bottom, #164194 0, #164194 5px, transparent 5px, transparent 10px);
  animation: ha-flow-scroll 1s linear infinite;
}
.hosting-architecture .ha-flow .ha-flow-arrow {
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  color: #164194;
  font-size: 0.85rem;
  line-height: 1;
  z-index: 2;
}
.hosting-architecture .ha-flow .ha-flow-arrow i {
  display: block;
}
.hosting-architecture .ha-flow .ha-flow-label {
  display: inline-block;
  background: #eff6ff;
  color: #164194;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  border: 1px solid #bfdbfe;
  margin-top: 0.4rem;
  text-align: center;
  max-width: 90%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hosting-architecture .ha-flow:nth-child(4n+1) .ha-flow-dash {
  animation-delay: 0s;
}
.hosting-architecture .ha-flow:nth-child(4n+2) .ha-flow-dash {
  animation-delay: 0.25s;
}
.hosting-architecture .ha-flow:nth-child(4n+3) .ha-flow-dash {
  animation-delay: 0.5s;
}
.hosting-architecture .ha-layer-swarm {
  flex-direction: column;
  background: #f1f5f9;
  border-radius: 10px;
  padding: var(--space-md);
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  border: 1px solid #e2e8f0;
}
.hosting-architecture .ha-swarm-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: var(--space-md);
  color: #164194;
  letter-spacing: 0.02em;
}
.hosting-architecture .ha-swarm-header i {
  font-size: 1.3rem;
  color: #164194;
}
.hosting-architecture .ha-swarm-body {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-sm);
  width: 100%;
}
.hosting-architecture .ha-stack {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.hosting-architecture .ha-stack:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(22, 65, 148, 0.08);
  border-color: #164194;
}
.hosting-architecture .ha-stack .ha-stack-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.55rem 0.75rem;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}
.hosting-architecture .ha-stack .ha-stack-head .ha-stack-name {
  font-weight: 700;
  font-size: 0.82rem;
  color: #0f172a;
}
.hosting-architecture .ha-stack .ha-stack-head .ha-stack-tag {
  font-size: 0.65rem;
  color: #64748b;
  background: #f1f5f9;
  padding: 0.15rem 0.4rem;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
}
.hosting-architecture .ha-stack .ha-stack-services {
  padding: 0.6rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.hosting-architecture .ha-stack .ha-svc {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  color: #334155;
  background: #f8fafc;
  padding: 0.4rem 0.55rem;
  border-radius: 4px;
  border: 1px solid #f1f5f9;
}
.hosting-architecture .ha-stack .ha-svc i {
  color: #164194;
  font-size: 0.8rem;
  width: 1rem;
  text-align: center;
}
.hosting-architecture .ha-stack .ha-svc.ha-svc-public {
  border-left: 2px solid #164194;
  padding-left: 0.6rem;
}
.hosting-architecture .ha-stack .ha-svc.ha-svc-public i {
  color: #164194;
}
.hosting-architecture .ha-layer-hosts {
  gap: var(--space-sm);
  flex-wrap: wrap;
  padding-top: var(--space-sm);
}
.hosting-architecture .ha-layer-hosts .ha-host {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 0.8rem 1.2rem;
  min-width: 90px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
  color: #0f172a;
  font-weight: 600;
  font-size: 0.85rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.hosting-architecture .ha-layer-hosts .ha-host:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(22, 65, 148, 0.08);
  border-color: #164194;
}
.hosting-architecture .ha-layer-hosts .ha-host i {
  font-size: 1.4rem;
  color: #164194;
}
.hosting-architecture .ha-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-sm);
  width: 100%;
  max-width: 720px;
  margin-top: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid #e2e8f0;
}
.hosting-architecture .ha-stats .ha-stat {
  text-align: center;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 1rem 0.5rem;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
  transition: border-color 0.2s ease;
}
.hosting-architecture .ha-stats .ha-stat:hover {
  border-color: #164194;
}
.hosting-architecture .ha-stats .ha-stat .ha-stat-num {
  font-size: 1.8rem;
  font-weight: 800;
  color: #164194;
  line-height: 1;
  margin-bottom: 0.4rem;
}
.hosting-architecture .ha-stats .ha-stat .ha-stat-num i {
  font-size: 1.5rem;
  vertical-align: middle;
  margin-top: -2px;
}
.hosting-architecture .ha-stats .ha-stat .ha-stat-label {
  font-size: 0.8rem;
  color: #64748b;
  line-height: 1.3;
}
.hosting-architecture .ha-info-list {
  display: grid;
  gap: var(--space-md);
  grid-template-columns: repeat(2, 1fr);
  margin: var(--space-xl) auto 0;
  max-width: 1000px;
}
.hosting-architecture .ha-info-item {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.04);
  display: flex;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.hosting-architecture .ha-info-item:hover {
  border-color: #164194;
  box-shadow: 0 6px 16px rgba(22, 65, 148, 0.1);
  transform: translateY(-3px);
}
.hosting-architecture .ha-info-icon {
  align-items: flex-start;
  background: #eff6ff;
  border-radius: 8px;
  color: #164194;
  display: flex;
  flex: 0 0 auto;
  font-size: 1.25rem;
  height: 2.5rem;
  justify-content: center;
  width: 2.5rem;
}
.hosting-architecture .ha-info-body h3 {
  color: #0f172a;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 0.35rem;
}
.hosting-architecture .ha-info-body p {
  color: #475569;
  font-size: 0.85rem;
  line-height: 1.5;
  margin: 0;
}
@media (max-width: 768px) {
  .hosting-architecture .ha-diagram {
    padding: var(--space-md) var(--space-sm);
  }
  .hosting-architecture .ha-layer-gateways {
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
  }
  .hosting-architecture .ha-layer-swarm {
    padding: var(--space-sm);
  }
  .hosting-architecture .ha-swarm-body {
    grid-template-columns: 1fr;
  }
  .hosting-architecture .ha-flow .ha-flow-label {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    font-size: 0.68rem;
  }
  .hosting-architecture .ha-layer-hosts {
    gap: 0.5rem;
  }
  .hosting-architecture .ha-layer-hosts .ha-host {
    min-width: 70px;
    padding: 0.6rem 0.8rem;
    font-size: 0.8rem;
  }
  .hosting-architecture .ha-stats {
    grid-template-columns: repeat(2, 1fr);
    max-width: 100%;
  }
  .hosting-architecture .ha-info-list {
    grid-template-columns: 1fr;
  }
}

@keyframes ha-flow-scroll {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 0 10px;
  }
}
.market-share-comparison {
  padding: var(--space-2xl) 0;
  background: var(--color-bg-alt);
  text-align: center;
}
.market-share-comparison .badge {
  display: inline-block;
  margin-bottom: var(--space-sm);
}
.market-share-comparison .market-share-heading {
  margin-bottom: var(--space-md);
}
.market-share-comparison .market-share-intro {
  max-width: 70ch;
  margin: 0 auto var(--space-lg);
  text-align: center;
}
.market-share-comparison .market-share-intro p {
  color: var(--color-text);
  margin-bottom: var(--space-sm);
  line-height: 1.7;
}
.market-share-comparison .market-share-intro p:last-child {
  margin-bottom: 0;
}
.market-share-comparison .market-share-tables,
.market-share-comparison .market-share-charts {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-md);
}
@media (min-width: 768px) {
  .market-share-comparison .market-share-tables,
  .market-share-comparison .market-share-charts {
    grid-template-columns: repeat(2, 1fr);
  }
}
.market-share-comparison .market-share-table-wrapper,
.market-share-comparison .market-share-chart-wrapper {
  background: var(--color-bg);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  box-shadow: var(--shadow-sm);
}
.market-share-comparison .market-share-table-title,
.market-share-comparison .market-share-chart-title {
  font-size: 1.125rem;
  margin-bottom: var(--space-sm);
  color: var(--color-heading);
}
.market-share-comparison .market-share-table-scroll {
  overflow-x: auto;
}
.market-share-comparison .market-share-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
}
.market-share-comparison .market-share-table th,
.market-share-comparison .market-share-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--color-border);
}
.market-share-comparison .market-share-table thead th {
  background: var(--color-primary);
  color: var(--color-primary-contrast);
  font-weight: 600;
  text-align: center;
}
.market-share-comparison .market-share-table tbody tr:last-child td {
  border-bottom: none;
}
.market-share-comparison .market-share-table tbody tr.highlight {
  background: rgba(22, 65, 148, 0.06);
  font-weight: 600;
}
.market-share-comparison .market-share-table td {
  text-align: center;
}
.market-share-comparison .market-share-table td:first-child {
  text-align: left;
  font-weight: 500;
}
.market-share-comparison .market-share-chart {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
}
.market-share-comparison .pie-chart {
  width: 100%;
  max-width: 240px;
  height: auto;
  transform: rotate(-90deg);
}
.market-share-comparison .pie-chart .pie-slice {
  stroke-width: 0.02;
  transition: opacity 0.3s ease, transform 0.3s ease;
  transform-origin: center;
}
.market-share-comparison .pie-chart .pie-slice:hover {
  opacity: 0.85;
  transform: scale(1.03);
}
.market-share-comparison .pie-chart .pie-slice--highlight {
  fill: #2563eb;
}
.market-share-comparison .pie-chart .pie-slice--rest {
  fill: #94a3b8;
}
.market-share-comparison .pie-chart .pie-slice:nth-of-type(2) {
  fill: #3b82f6;
}
.market-share-comparison .pie-chart .pie-slice:nth-of-type(3) {
  fill: #60a5fa;
}
.market-share-comparison .pie-chart .pie-slice:nth-of-type(4) {
  fill: #93c5fd;
}
.market-share-comparison .pie-chart .pie-slice:nth-of-type(5) {
  fill: #bfdbfe;
}
.market-share-comparison .pie-chart .pie-slice:nth-of-type(6) {
  fill: #dbeafe;
}
.market-share-comparison .pie-chart .pie-slice:nth-of-type(7) {
  fill: #cbd5e1;
}
.market-share-comparison .pie-legend {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 280px;
  text-align: left;
}
.market-share-comparison .pie-legend-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0;
  font-size: 0.95rem;
  color: var(--color-text);
}
.market-share-comparison .pie-legend-item--highlight {
  font-weight: 600;
  color: var(--color-heading);
}
.market-share-comparison .pie-legend-color {
  width: 12px;
  height: 12px;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}
.market-share-comparison .pie-legend-label {
  flex: 1;
}
.market-share-comparison .pie-legend-value {
  font-weight: 500;
  color: var(--color-heading);
}
.market-share-comparison .market-share-caption {
  font-size: 0.875rem;
  color: var(--color-muted);
  max-width: 70ch;
  margin: 0 auto;
}

.ki-system-landscape {
  padding: var(--space-xl) 0;
  background: #f8fafc;
  overflow: hidden;
}
.ki-system-landscape .ksl-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto var(--space-lg);
}
.ki-system-landscape .ksl-header h2 {
  color: #0f172a;
  margin-bottom: var(--space-sm);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
}
.ki-system-landscape .ksl-header .ksl-lead {
  color: #475569;
  font-size: 1.05rem;
  line-height: 1.6;
  margin: 0;
}
.ki-system-landscape .ksl-diagram {
  position: relative;
  width: 100%;
  max-width: 1080px;
  min-height: 660px;
  margin: 0 auto;
  padding: var(--space-md);
}
.ki-system-landscape .ksl-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}
.ki-system-landscape .ksl-path,
.ki-system-landscape .ksl-path-sys {
  fill: none;
  stroke-width: 2.5;
  stroke-dasharray: 420;
  stroke-dashoffset: 420;
  animation: ksl-draw-path 1.2s ease forwards;
  opacity: 0.6;
}
.ki-system-landscape .ksl-path {
  animation-delay: 0.4s;
}
.ki-system-landscape .ksl-path-sys {
  animation-delay: 0.9s;
  stroke-dasharray: 520;
  stroke-dashoffset: 520;
}
.ki-system-landscape .ksl-systems-row {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 5;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
  max-width: 900px;
}
.ki-system-landscape .ksl-system {
  background: #fff;
  border: 1px solid #e2e8f0;
  padding: 9px 16px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #164194;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.ki-system-landscape .ksl-system:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(22, 65, 148, 0.1);
  border-color: #164194;
}
.ki-system-landscape .ksl-system i {
  font-size: 0.85rem;
  color: #164194;
}
.ki-system-landscape .ksl-core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
  width: 110px;
  height: 110px;
}
.ki-system-landscape .ksl-core .ksl-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 2px solid #164194;
  border-radius: 50%;
  width: 120px;
  height: 120px;
  opacity: 0.3;
  animation: ksl-pulse-ring 2.5s ease-out 3;
  will-change: transform, opacity;
}
.ki-system-landscape .ksl-db {
  background: linear-gradient(135deg, #164194, #0d2a5c);
  color: #fff;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(22, 65, 148, 0.4);
  position: relative;
  z-index: 10;
  text-align: center;
}
.ki-system-landscape .ksl-db i {
  font-size: 1.8rem;
  margin-bottom: 4px;
}
.ki-system-landscape .ksl-db span {
  font-size: 0.8rem;
  font-weight: 700;
}
.ki-system-landscape .ksl-agents {
  position: absolute;
  inset: 0;
  z-index: 10;
  pointer-events: none;
}
.ki-system-landscape .ksl-agents > * {
  pointer-events: auto;
}
.ki-system-landscape .ksl-agent {
  position: absolute;
  width: 330px;
  background: #fff;
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
  display: flex;
  gap: 14px;
  border: 1px solid #e2e8f0;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.ki-system-landscape .ksl-agent:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.12);
}
.ki-system-landscape .ksl-icon-wrap {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.5rem;
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.ki-system-landscape .ksl-details {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
  min-width: 0;
}
.ki-system-landscape .ksl-details h4 {
  color: #0f172a;
  font-size: 1rem;
  margin: 0 0 6px;
  line-height: 1.25;
}
.ki-system-landscape .ksl-details p {
  color: #64748b;
  font-size: 0.85rem;
  margin: 0 0 10px;
  line-height: 1.4;
}
.ki-system-landscape .ksl-badges {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.ki-system-landscape .ksl-badge {
  font-size: 0.68rem;
  padding: 4px 9px;
  border-radius: 6px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #f1f5f9;
  color: #475569;
  white-space: nowrap;
}
.ki-system-landscape .ksl-badge i {
  font-size: 0.62rem;
}
.ki-system-landscape .color-green {
  border-left: 4px solid #27ae60;
}
.ki-system-landscape .color-green .ksl-icon-wrap {
  background: linear-gradient(135deg, #27ae60, #2ecc71);
}
.ki-system-landscape .color-green .ksl-badge {
  background: #e8f8f5;
  color: #27ae60;
}
.ki-system-landscape .color-purple {
  border-left: 4px solid #9b59b6;
}
.ki-system-landscape .color-purple .ksl-icon-wrap {
  background: linear-gradient(135deg, #9b59b6, #8e44ad);
}
.ki-system-landscape .color-purple .ksl-badge {
  background: #f5eef8;
  color: #9b59b6;
}
.ki-system-landscape .color-blue {
  border-left: 4px solid #3498db;
}
.ki-system-landscape .color-blue .ksl-icon-wrap {
  background: linear-gradient(135deg, #3498db, #2980b9);
}
.ki-system-landscape .color-blue .ksl-badge {
  background: #ebf5fb;
  color: #3498db;
}
.ki-system-landscape .color-red {
  border-left: 4px solid #e74c3c;
}
.ki-system-landscape .color-red .ksl-icon-wrap {
  background: linear-gradient(135deg, #e74c3c, #c0392b);
}
.ki-system-landscape .color-red .ksl-badge {
  background: #fdedec;
  color: #e74c3c;
}
.ki-system-landscape .color-orange {
  border-left: 4px solid #f39c12;
}
.ki-system-landscape .color-orange .ksl-icon-wrap {
  background: linear-gradient(135deg, #f39c12, #e67e22);
}
.ki-system-landscape .color-orange .ksl-badge {
  background: #fef5e7;
  color: #f39c12;
}
.ki-system-landscape .ksl-agent-1 {
  left: 20px;
  top: 130px;
}
.ki-system-landscape .ksl-agent-2 {
  right: 20px;
  top: 130px;
}
.ki-system-landscape .ksl-agent-3 {
  left: 20px;
  bottom: 110px;
}
.ki-system-landscape .ksl-agent-4 {
  right: 20px;
  bottom: 110px;
}
.ki-system-landscape .ksl-agent-5 {
  left: 50%;
  bottom: -50px;
  transform: translateX(-50%);
  width: 380px;
}
.ki-system-landscape .ksl-agent-5:hover {
  transform: translate(-50%, -4px);
}
.ki-system-landscape .ksl-caption {
  max-width: 760px;
  margin: var(--space-lg) auto 0;
  text-align: center;
  color: #475569;
  font-size: 0.98rem;
  line-height: 1.6;
  background: #fff;
  border-left: 4px solid #164194;
  border-radius: 0 12px 12px 0;
  padding: 18px 24px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}
.ki-system-landscape .ksl-caption p {
  margin: 0;
}
@media (max-width: 950px) {
  .ki-system-landscape .ksl-diagram {
    min-height: 880px;
    max-width: 600px;
  }
  .ki-system-landscape .ksl-canvas {
    opacity: 0.45;
  }
  .ki-system-landscape .ksl-systems-row {
    top: 10px;
    gap: 8px;
  }
  .ki-system-landscape .ksl-system {
    padding: 6px 12px;
    font-size: 0.72rem;
  }
  .ki-system-landscape .ksl-core {
    top: 140px;
    transform: translate(-50%, 0);
  }
  .ki-system-landscape .ksl-agent {
    width: 300px;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
  }
  .ki-system-landscape .ksl-agent-1 {
    top: 290px;
  }
  .ki-system-landscape .ksl-agent-2 {
    top: 415px;
  }
  .ki-system-landscape .ksl-agent-3 {
    top: 540px;
  }
  .ki-system-landscape .ksl-agent-4 {
    top: 665px;
  }
  .ki-system-landscape .ksl-agent-5 {
    top: 790px;
    bottom: auto;
    width: 320px;
  }
  .ki-system-landscape .ksl-agent-5:hover {
    transform: translate(-50%, -4px) !important;
  }
  .ki-system-landscape .ksl-caption {
    margin-top: var(--space-lg);
  }
}
@media (max-width: 480px) {
  .ki-system-landscape .ksl-diagram {
    min-height: 940px;
    padding: var(--space-sm);
  }
  .ki-system-landscape .ksl-agent {
    width: calc(100% - var(--space-sm) * 2);
    max-width: 340px;
    padding: 12px;
  }
  .ki-system-landscape .ksl-icon-wrap {
    width: 48px;
    height: 48px;
    font-size: 1.3rem;
  }
  .ki-system-landscape .ksl-details h4 {
    font-size: 0.92rem;
  }
  .ki-system-landscape .ksl-details p {
    font-size: 0.8rem;
  }
  .ki-system-landscape .ksl-agent-1 {
    top: 300px;
  }
  .ki-system-landscape .ksl-agent-2 {
    top: 435px;
  }
  .ki-system-landscape .ksl-agent-3 {
    top: 570px;
  }
  .ki-system-landscape .ksl-agent-4 {
    top: 705px;
  }
  .ki-system-landscape .ksl-agent-5 {
    top: 840px;
    width: calc(100% - var(--space-sm) * 2);
    max-width: 360px;
  }
  .ki-system-landscape .ksl-agent-5:hover {
    transform: translate(-50%, -4px) !important;
  }
}

@keyframes ksl-draw-path {
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes ksl-pulse-ring {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.55;
  }
  100% {
    transform: translate(-50%, -50%) scale(2);
    opacity: 0;
  }
}
.ki-product-stack {
  padding: var(--space-xl) 0;
  background: #f8fafc;
  overflow: hidden;
}
.ki-product-stack .kps-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto var(--space-lg);
}
.ki-product-stack .kps-header h2 {
  color: #0f172a;
  margin-bottom: var(--space-sm);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
}
.ki-product-stack .kps-header .kps-lead {
  color: #475569;
  font-size: 1.05rem;
  line-height: 1.6;
  margin: 0;
}
.ki-product-stack .kps-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}
.ki-product-stack .kps-base {
  background: linear-gradient(135deg, #27ae60, #2ecc71);
  color: #fff;
  padding: 24px 40px;
  border-radius: 16px;
  text-align: center;
  width: 100%;
  max-width: 760px;
  box-shadow: 0 8px 25px rgba(39, 174, 96, 0.25);
}
.ki-product-stack .kps-base-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.ki-product-stack .kps-base-title i {
  font-size: 1.4rem;
}
.ki-product-stack .kps-base-title h4 {
  font-size: 1.3rem;
  margin: 0;
}
.ki-product-stack .kps-base > p {
  opacity: 0.92;
  font-size: 0.92rem;
  margin: 6px 0 0;
}
.ki-product-stack .kps-base-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 14px;
}
.ki-product-stack .kps-base-opt {
  background: rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  padding: 12px 10px;
  text-align: center;
}
.ki-product-stack .kps-base-opt .kps-opt-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.95rem;
  margin: 0 auto 6px;
}
.ki-product-stack .kps-base-opt h5 {
  font-size: 0.8rem;
  color: #fff;
  margin: 0 0 2px;
}
.ki-product-stack .kps-base-opt p {
  font-size: 0.66rem;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
  line-height: 1.3;
}
.ki-product-stack .kps-base-opt .kps-opt-tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
  padding: 1px 7px;
  border-radius: 5px;
  font-size: 0.6rem;
  margin-top: 4px;
}
.ki-product-stack .kps-base-opt.green .kps-opt-icon {
  background: linear-gradient(135deg, #27ae60, #2ecc71);
}
.ki-product-stack .kps-base-opt.blue .kps-opt-icon {
  background: linear-gradient(135deg, #3498db, #2980b9);
}
.ki-product-stack .kps-base-opt.red .kps-opt-icon {
  background: linear-gradient(135deg, #e74c3c, #c0392b);
}
.ki-product-stack .kps-base-opt.purple .kps-opt-icon {
  background: linear-gradient(135deg, #9b59b6, #8e44ad);
}
.ki-product-stack .kps-base-opt.orange .kps-opt-icon {
  background: linear-gradient(135deg, #f39c12, #e67e22);
}
.ki-product-stack .kps-arrows {
  display: flex;
  justify-content: space-between;
  width: 100%;
  max-width: 1100px;
  padding: 8px 6px 4px;
}
.ki-product-stack .kps-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
}
.ki-product-stack .kps-arrow i {
  font-size: 1.5rem;
  color: #164194;
  opacity: 0.6;
}
.ki-product-stack .kps-arrows-down .kps-arrow i {
  animation: kps-arrow-bounce 1.8s ease-in-out infinite;
}
.ki-product-stack .kps-arrows .kps-arrow:nth-child(1) i {
  animation-delay: 0s;
}
.ki-product-stack .kps-arrows .kps-arrow:nth-child(2) i {
  animation-delay: 0.1s;
}
.ki-product-stack .kps-arrows .kps-arrow:nth-child(3) i {
  animation-delay: 0.2s;
}
.ki-product-stack .kps-arrows .kps-arrow:nth-child(4) i {
  animation-delay: 0.3s;
}
.ki-product-stack .kps-arrows .kps-arrow:nth-child(5) i {
  animation-delay: 0.4s;
}
.ki-product-stack .kps-products {
  display: flex;
  gap: 14px;
  width: 100%;
  max-width: 1100px;
}
.ki-product-stack .kps-product {
  flex: 1;
  background: #fff;
  border-radius: 14px;
  padding: 20px 14px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  border-top: 4px solid #164194;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  color: inherit;
}
.ki-product-stack .kps-product:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}
.ki-product-stack .kps-product-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  color: #fff;
  font-size: 1.35rem;
}
.ki-product-stack .kps-product h4 {
  font-size: 0.92rem;
  color: #0f172a;
  margin: 0 0 4px;
  line-height: 1.25;
}
.ki-product-stack .kps-product p {
  font-size: 0.74rem;
  color: #64748b;
  line-height: 1.4;
  margin: 0;
}
.ki-product-stack .color-green {
  border-top-color: #27ae60;
}
.ki-product-stack .color-green .kps-product-icon {
  background: linear-gradient(135deg, #27ae60, #2ecc71);
}
.ki-product-stack .color-purple {
  border-top-color: #9b59b6;
}
.ki-product-stack .color-purple .kps-product-icon {
  background: linear-gradient(135deg, #9b59b6, #8e44ad);
}
.ki-product-stack .color-blue {
  border-top-color: #3498db;
}
.ki-product-stack .color-blue .kps-product-icon {
  background: linear-gradient(135deg, #3498db, #2980b9);
}
.ki-product-stack .color-red {
  border-top-color: #e74c3c;
}
.ki-product-stack .color-red .kps-product-icon {
  background: linear-gradient(135deg, #e74c3c, #c0392b);
}
.ki-product-stack .color-orange {
  border-top-color: #f39c12;
}
.ki-product-stack .color-orange .kps-product-icon {
  background: linear-gradient(135deg, #f39c12, #e67e22);
}
.ki-product-stack .kps-target {
  background: linear-gradient(135deg, #95a5a6, #7f8c8d);
  color: #fff;
  padding: 20px 40px;
  border-radius: 16px;
  text-align: center;
  width: 100%;
  max-width: 900px;
  margin-top: 4px;
}
.ki-product-stack .kps-target-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.ki-product-stack .kps-target-title i {
  font-size: 1.2rem;
}
.ki-product-stack .kps-target-title h4 {
  font-size: 1.2rem;
  margin: 0;
}
.ki-product-stack .kps-target > p {
  opacity: 0.92;
  font-size: 0.88rem;
  margin: 6px 0 0;
}
.ki-product-stack .kps-caption {
  max-width: 760px;
  margin: var(--space-lg) auto 0;
  text-align: center;
  color: #475569;
  font-size: 0.98rem;
  line-height: 1.6;
  background: #fff;
  border-left: 4px solid #164194;
  border-radius: 0 12px 12px 0;
  padding: 18px 24px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}
.ki-product-stack .kps-caption p {
  margin: 0;
}
@media (max-width: 950px) {
  .ki-product-stack .kps-base-options {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .ki-product-stack .kps-base-opt {
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: left;
    padding: 10px 14px;
  }
  .ki-product-stack .kps-base-opt .kps-opt-icon {
    margin: 0;
    flex-shrink: 0;
  }
  .ki-product-stack .kps-base-opt h5, .ki-product-stack .kps-base-opt p {
    text-align: left;
  }
  .ki-product-stack .kps-base-opt .kps-opt-tag {
    margin-top: 0;
  }
  .ki-product-stack .kps-products {
    flex-direction: column;
    gap: 12px;
  }
  .ki-product-stack .kps-product {
    display: flex;
    align-items: center;
    gap: 14px;
    text-align: left;
    padding: 14px 18px;
  }
  .ki-product-stack .kps-product .kps-product-icon {
    margin: 0;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
  }
  .ki-product-stack .kps-product h4 {
    font-size: 1rem;
  }
  .ki-product-stack .kps-product p {
    font-size: 0.85rem;
  }
  .ki-product-stack .kps-arrows {
    flex-direction: row;
    justify-content: center;
    padding: 4px 0;
  }
  .ki-product-stack .kps-arrows .kps-arrow {
    flex: 0;
    display: none;
  }
  .ki-product-stack .kps-arrows .kps-arrow:first-child {
    display: flex;
  }
  .ki-product-stack .kps-arrows .kps-arrow:first-child i {
    transform: rotate(90deg);
  }
}
@media (max-width: 480px) {
  .ki-product-stack .kps-base {
    padding: 18px 20px;
  }
  .ki-product-stack .kps-base-title h4 {
    font-size: 1.1rem;
  }
  .ki-product-stack .kps-product {
    padding: 12px 14px;
  }
  .ki-product-stack .kps-product .kps-product-icon {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
  }
  .ki-product-stack .kps-product h4 {
    font-size: 0.92rem;
  }
  .ki-product-stack .kps-product p {
    font-size: 0.8rem;
  }
  .ki-product-stack .kps-target {
    padding: 16px 20px;
  }
}

@keyframes kps-arrow-bounce {
  0%, 100% {
    transform: translateY(0);
    opacity: 0.5;
  }
  50% {
    transform: translateY(6px);
    opacity: 1;
  }
}
.sparring-offer {
  overflow: hidden;
}
.sparring-offer__header {
  margin: 0 auto var(--space-lg);
  max-width: 760px;
  text-align: center;
}
.sparring-offer__header .sparring-offer__label {
  color: var(--color-primary);
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  margin-bottom: var(--space-sm);
  text-transform: uppercase;
}
.sparring-offer__header .sparring-offer__label::after {
  background: var(--color-primary);
  border-radius: 2px;
  content: "";
  display: block;
  height: 3px;
  margin: 0.65rem auto 0;
  width: 42px;
}
.sparring-offer__header h2 {
  color: var(--color-heading);
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 1.2rem + 1.8vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: var(--space-sm);
}
.sparring-offer__header p {
  color: var(--color-muted);
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 0;
}
.sparring-offer__hero {
  align-items: center;
  background: linear-gradient(150deg, #164194 0%, #0f2a66 60%, #0a1f4d 100%);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px -20px rgba(14, 42, 102, 0.5);
  color: #fff;
  display: flex;
  flex-direction: column;
  margin: 0 auto var(--space-lg);
  max-width: 820px;
  padding: clamp(2.25rem, 1.5rem + 2.5vw, 3.5rem) clamp(1.5rem, 0.8rem + 2vw, 3rem);
  position: relative;
  text-align: center;
}
.sparring-offer__hero-eyebrow {
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-family: var(--font-heading);
  font-size: clamp(0.85rem, 0.75rem + 0.3vw, 1rem);
  font-weight: 600;
  gap: 0.55rem;
  line-height: 1.4;
  margin: 0 auto var(--space-md);
  max-width: 500px;
  padding: 0.55rem 1.2rem;
}
.sparring-offer__hero-eyebrow i {
  color: #9db9ff;
  flex-shrink: 0;
  font-size: 1.1em;
}
.sparring-offer__price {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.9rem;
  justify-content: center;
  margin-bottom: var(--space-sm);
}
.sparring-offer__price-amount {
  color: #fff;
  font-family: var(--font-heading);
  font-size: clamp(3.25rem, 2.4rem + 3.2vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}
.sparring-offer__price-suffix {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  color: #fff;
  font-family: var(--font-heading);
  font-size: clamp(0.85rem, 0.75rem + 0.3vw, 1rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.4rem 1rem;
}
.sparring-offer__price-note {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
  font-weight: 500;
  margin-bottom: var(--space-md);
  max-width: 480px;
}
.sparring-offer__availability {
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.9);
  display: inline-flex;
  font-size: 0.9rem;
  font-weight: 600;
  gap: 0.5rem;
  margin-bottom: var(--space-lg);
  padding: 0.5rem 1.1rem;
}
.sparring-offer__availability i {
  color: #9db9ff;
}
.sparring-offer__cta {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  padding: 0.9rem 2.5rem;
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.4);
}
.sparring-offer__columns {
  display: grid;
  gap: var(--space-md);
  grid-template-columns: repeat(2, 1fr);
  margin-top: var(--space-lg);
}
.sparring-offer__card {
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  padding: clamp(1.5rem, 1.1rem + 1.5vw, 2.5rem);
  position: relative;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.sparring-offer__card:hover {
  box-shadow: 0 18px 40px -18px rgba(15, 23, 42, 0.2);
  transform: translateY(-3px);
}
.sparring-offer__card--included {
  background: linear-gradient(180deg, rgba(22, 65, 148, 0.04) 0%, var(--color-bg) 40%);
  border: 1px solid rgba(22, 65, 148, 0.18);
  border-left: 4px solid var(--color-primary);
  box-shadow: 0 4px 20px -6px rgba(22, 65, 148, 0.18);
}
.sparring-offer__card--included:hover {
  border-left-color: #1a4fa8;
  box-shadow: 0 18px 40px -18px rgba(22, 65, 148, 0.25);
}
.sparring-offer__card--included .sparring-offer__card-icon {
  background: rgba(22, 65, 148, 0.1);
  color: var(--color-primary);
}
.sparring-offer__card--included .sparring-offer__card-head h3 {
  color: var(--color-heading);
}
.sparring-offer__card--included .sparring-offer__list--positive li i {
  background: rgba(22, 65, 148, 0.1);
  color: var(--color-primary);
}
.sparring-offer__card--included .sparring-offer__list--positive li span {
  color: var(--color-text);
}
.sparring-offer__card--included .sparring-offer__list--positive li {
  border-bottom-color: rgba(22, 65, 148, 0.08);
}
.sparring-offer__card--excluded {
  border: 1px dashed rgba(148, 163, 184, 0.35);
  background: rgba(248, 250, 252, 0.6);
}
.sparring-offer__card--excluded:hover {
  border-color: rgba(148, 163, 184, 0.5);
}
.sparring-offer__card--excluded .sparring-offer__card-icon {
  background: rgba(148, 163, 184, 0.1);
  color: var(--color-muted);
}
.sparring-offer__card--excluded .sparring-offer__card-head h3 {
  color: var(--color-muted);
}
.sparring-offer__card--excluded .sparring-offer__list--negative li i {
  background: rgba(148, 163, 184, 0.15);
  color: var(--color-muted);
}
.sparring-offer__card--excluded .sparring-offer__list--negative li span {
  color: var(--color-muted);
}
.sparring-offer__card--excluded .sparring-offer__list--negative li {
  border-bottom-color: rgba(148, 163, 184, 0.12);
}
.sparring-offer__card-head {
  align-items: center;
  display: flex;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}
.sparring-offer__card-head h3 {
  color: var(--color-heading);
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 0;
}
.sparring-offer__card-icon {
  align-items: center;
  border-radius: 10px;
  display: flex;
  flex-shrink: 0;
  font-size: 1.1rem;
  height: 2.75rem;
  justify-content: center;
  width: 2.75rem;
}
.sparring-offer__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.sparring-offer__list li {
  align-items: flex-start;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  display: flex;
  gap: 0.8rem;
  padding: 0.8rem 0;
}
.sparring-offer__list li:last-child {
  border-bottom: none;
}
.sparring-offer__list li i {
  align-items: center;
  border-radius: 50%;
  display: inline-flex;
  flex-shrink: 0;
  font-size: 0.7rem;
  height: 1.5em;
  justify-content: center;
  margin-top: 0.22em;
  width: 1.5em;
}
.sparring-offer__list li span {
  color: var(--color-text);
  font-size: 0.98rem;
  line-height: 1.55;
}

@media (max-width: 768px) {
  .sparring-offer__columns {
    gap: var(--space-sm);
    grid-template-columns: 1fr;
  }
  .sparring-offer__price {
    flex-direction: column;
    gap: 0.6rem;
  }
}
.footer-bottom-links a {
  color: #fff;
  text-decoration: none;
}
.footer-bottom-links a:hover {
  color: var(--color-primary);
}

.footer-logo img {
  height: 40px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.logo-grid--row {
  margin-bottom: var(--space-md);
}
.logo-grid--row:last-child {
  margin-bottom: 0;
}

.service-category-card p {
  margin-bottom: 0;
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid var(--color-border);
}
.service-category-card .checklist {
  margin-top: var(--space-sm);
  padding-top: var(--space-sm);
  border-top: 0;
}

@media (min-width: 1024px) {
  .grid-5 {
    grid-template-columns: repeat(5, 1fr);
  }
  .reference-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
[data-component-name=kontakt-karriere-cta] h2 {
  color: var(--color-secondary-contrast);
}

.badge-light {
  background-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

.cta-with-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.blog-post-hero {
  padding-top: calc(var(--space-xl) + var(--space-lg));
}
.blog-post-hero__title {
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  margin-bottom: var(--space-md);
  line-height: 1.2;
}
.blog-post-hero__meta {
  margin-bottom: var(--space-lg);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  align-items: center;
}
.blog-post-hero__image-wrapper {
  border-radius: var(--radius-lg, 12px);
  overflow: hidden;
  background: var(--bg, #f5f5f5);
}
.blog-post-hero__image {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  display: block;
}

.blog-post-list > h1,
.blog-post-list > h2,
.blog-post-list > .blog-post-list__grid,
.blog-post-list > .blog-post-list__empty,
.blog-post-list > .blog-pagination {
  max-width: var(--container-max, 1200px);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-sm);
  padding-right: var(--space-sm);
}
.blog-post-list > h1,
.blog-post-list > h2 {
  margin-bottom: var(--space-md);
}
.blog-post-list {
  padding-top: var(--space-xl);
  padding-bottom: var(--space-xl);
}

img {
  image-rendering: auto;
}

.hero-image-wrapper img,
.blog-post-hero__image,
.blog-card img,
.blog-post-card__image-link img {
  image-rendering: -webkit-optimize-contrast;
  max-width: 100%;
  height: auto;
}

/* Cookie-Consent-Banner – Die Zahlenbude CI */
#consent-banner {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.5);
  padding: 1.5rem;
  font-family: var(--font-body);
  backdrop-filter: blur(4px);
}
#consent-banner[hidden] {
  display: none;
}

.consent-card {
  width: 100%;
  max-width: 480px;
  max-height: 85vh;
  overflow-y: auto;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.35);
  padding: 2rem;
}
.consent-card h2 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 0.6rem;
  line-height: 1.25;
}
.consent-card > p {
  margin: 0 0 1.5rem;
  color: #475569;
  font-size: 0.9rem;
  line-height: 1.6;
}

#consent-stage-1,
#consent-stage-2 {
  transition: opacity 0.2s ease;
}

#consent-stage-2[hidden] {
  display: none;
}

.consent-actions--primary {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.consent-actions--primary button {
  flex: 1 1 0;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.8rem 0.5rem;
  border-radius: 10px;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: all 0.15s ease;
  text-align: center;
}

#consent-accept-all {
  background: var(--primary);
  color: var(--secondary);
  border-color: var(--primary);
}
#consent-accept-all:hover {
  background: var(--secondary);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(19, 19, 20, 0.25);
}

#consent-reject {
  background: #f8fafc;
  color: #334155;
  border-color: #e2e8f0;
}
#consent-reject:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
}

.consent-settings-link {
  display: block;
  width: 100%;
  text-align: center;
  background: none;
  border: none;
  color: var(--primary);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
  padding: 0.5rem 0;
}
.consent-settings-link:hover {
  color: var(--secondary);
}

.consent-category {
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  padding: 0.9rem 1rem;
  margin-bottom: 0.6rem;
  transition: border-color 0.15s ease;
}
.consent-category[data-category=necessary] {
  background: #f8fafc;
  border-color: #e2e8f0;
}
.consent-category:not([data-category=necessary]):has(input:checked) {
  border-color: var(--primary);
  background: rgba(127, 237, 223, 0.06);
}

.consent-category__label {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  cursor: pointer;
  margin: 0;
}
.consent-category__label input[type=checkbox] {
  width: 1.2rem;
  height: 1.2rem;
  accent-color: var(--primary);
  cursor: pointer;
  flex-shrink: 0;
}
.consent-category__label input[type=checkbox][disabled] {
  cursor: default;
  opacity: 0.7;
}

.consent-category__title {
  font-weight: 700;
  font-size: 0.95rem;
  color: #0f172a;
}

.consent-category__desc {
  margin: 0.4rem 0 0 1.85rem;
  font-size: 0.82rem;
  color: #64748b;
  line-height: 1.4;
}

.consent-actions--secondary {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
}
.consent-actions--secondary button {
  flex: 1 1 0;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.75rem 0.5rem;
  border-radius: 10px;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: all 0.15s ease;
  text-align: center;
}

#consent-back {
  background: #f8fafc;
  color: #64748b;
  border-color: #e2e8f0;
}
#consent-back:hover {
  background: #f1f5f9;
  color: #475569;
}

#consent-save {
  background: var(--primary);
  color: var(--secondary);
  border-color: var(--primary);
}
#consent-save:hover {
  background: var(--secondary);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(19, 19, 20, 0.25);
}

.consent-footer-links {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid #e2e8f0;
  text-align: center;
  font-size: 0.82rem;
  color: #94a3b8;
}
.consent-footer-links a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}
.consent-footer-links a:hover {
  text-decoration: underline;
}
.consent-footer-links span {
  margin: 0 0.4rem;
  color: #cbd5e1;
}

.consent-revoke-link {
  cursor: pointer;
  color: inherit;
  text-decoration: underline;
  background: none;
  border: none;
  padding: 0;
  font: inherit;
}
.consent-revoke-link:hover {
  color: var(--primary);
}

@media (max-width: 600px) {
  #consent-banner {
    align-items: flex-end;
    padding: 0;
    background: rgba(15, 23, 42, 0.6);
  }
  .consent-card {
    padding: 1.5rem;
    border-radius: 16px 16px 0 0;
    max-height: 90vh;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.3);
  }
  .consent-actions--primary button,
  .consent-actions--secondary button {
    padding: 0.85rem 0.5rem;
    font-size: 0.92rem;
  }
}
