/* Legacy page styles; shared tokens and consent styles live in src/app/site.css. */

.site-wrap {
  position: relative;
  z-index: 1;
  overflow: visible !important;
}

.topbar,
.trust-strip,
.services-preview,
.journey-section,
.pricing-grid,
.locations-section,
.features-section,
.features-grid,
.faq-section,
.testimonials-section,
.footer-inner {
  width: min(1320px, calc(100% - 40px));
  margin-left: auto;
  margin-right: auto;
}

.topbar {
  position: fixed;
  top: 16px;
  left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;
  width: min(1280px, calc(100% - 24px));
  z-index: 100;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 8px 14px 8px 18px;
  background: rgba(10, 12, 20, 0.72);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.3),
    0 12px 36px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  text-decoration: none;
  flex: 0 0 auto;
}

.brand-text {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #ffffff;
  text-shadow: 0 8px 22px rgba(11, 8, 27, 0.42);
}

/* Brand - hexagon mark + plain text */
.site-brand {
  gap: 9px;
  padding: 4px 4px;
  border-radius: 10px;
  transition: opacity 180ms ease;
}
.site-brand:hover {
  opacity: 0.85;
}
.site-brand-mark {
  width: 26px;
  height: 26px;
  display: block;
  filter: drop-shadow(0 2px 8px rgba(138, 118, 255, 0.35));
}
.site-brand-name {
  font-size: 15px;
  font-weight: 700;
  color: #f2f4fb;
  letter-spacing: -0.02em;
  line-height: 1;
}

/* Mobile burger menu - hidden on desktop, shown on small screens */
.mobile-menu {
  position: relative;
  display: none;
}
.mobile-menu > summary.mobile-menu-toggle {
  list-style: none;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #f2f4fb;
  transition: background-color 180ms ease;
}
.mobile-menu > summary.mobile-menu-toggle::-webkit-details-marker {
  display: none;
}
.mobile-menu > summary.mobile-menu-toggle:hover {
  background: rgba(255, 255, 255, 0.10);
}
.mobile-menu-icon-close {
  display: none;
}
.mobile-menu[open] .mobile-menu-icon-open {
  display: none;
}
.mobile-menu[open] .mobile-menu-icon-close {
  display: block;
}
.mobile-menu-panel {
  position: fixed;
  top: 92px;
  left: 12px;
  right: 12px;
  background: #0a0c14;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 14px;
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.4),
    0 16px 40px rgba(0, 0, 0, 0.55),
    0 32px 80px rgba(0, 0, 0, 0.4);
  z-index: 99;
  max-height: calc(100vh - 110px);
  overflow-y: auto;
}
.mobile-menu-nav {
  display: flex;
  flex-direction: column;
}
.mobile-menu-nav a {
  display: block;
  padding: 12px 14px;
  border-radius: 8px;
  color: #e8ecf7;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  transition: background-color 120ms ease;
}
.mobile-menu-nav a:hover {
  background: rgba(255, 255, 255, 0.06);
}
.mobile-menu-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 8px 0;
}
.mobile-menu-section {
  padding: 4px 0;
}
.mobile-menu-section-title {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7a8299;
  padding: 6px 14px;
}
.mobile-menu-sublink {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 8px;
  color: #c8cee0;
  text-decoration: none;
  font-size: 13.5px;
  transition: background-color 120ms ease;
}
.mobile-menu-sublink:hover {
  background: rgba(138, 118, 255, 0.08);
  color: #ffffff;
}
.mobile-menu-sublink svg {
  color: #b8a9ff;
}
.mobile-menu-actions {
  padding: 6px 0 2px;
}
.mobile-menu-actions .mobile-menu-cta {
  width: 100%;
  justify-content: center;
}

@media (max-width: 900px) {
  /* !important needed because the @media (max-width: 980px) block later in the file
     sets .nav { display: grid } which would otherwise win on source order. */
  .nav {
    display: none !important;
  }
  .top-actions .pill-group {
    display: none !important;
  }
  .top-actions .nav-discord {
    display: none !important;
  }
  .mobile-menu {
    display: inline-flex;
  }
  /* Strip the rounded pill chrome on mobile - just brand + burger on a transparent bar. */
  .topbar {
    flex-wrap: nowrap !important;
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 12px 14px !important;
  }
  .top-actions {
    order: initial !important;
    width: auto !important;
    flex: 0 0 auto !important;
    justify-content: flex-end !important;
    flex-direction: row !important;
    gap: 0 !important;
  }
  /* Anchor the mobile menu panel to the burger itself so it always sits right below it,
     regardless of scroll position or topbar height. */
  .mobile-menu-panel {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: auto;
    width: min(360px, calc(100vw - 24px));
    max-height: calc(100vh - 120px);
  }
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 6px 18px rgba(11, 8, 27, 0.3);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  padding: 0;
  transition: opacity 180ms ease;
}

.nav-dropdown-toggle:hover {
  opacity: 0.8;
}

.nav-dropdown-toggle svg {
  transition: transform 180ms ease;
}

.nav-dropdown-toggle.active svg {
  transform: rotate(180deg);
}

.nav-dropdown-details > summary.nav-dropdown-toggle {
  list-style: none;
}

.nav-dropdown-details > summary.nav-dropdown-toggle::-webkit-details-marker {
  display: none;
}

.nav-dropdown-details[open] > summary.nav-dropdown-toggle svg {
  transform: rotate(180deg);
}

.nav-dropdown-details[open] > .nav-dropdown-menu-grid {
  display: block;
  animation: slideInBottom 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.nav-dropdown-menu-grid {
  position: fixed;
  top: clamp(72px, 10vw, 88px);
  left: 0;
  right: 0;
  width: min(820px, calc(100vw - 32px));
  margin-left: auto;
  margin-right: auto;
  background: #0a0c14;
  border-radius: 14px;
  padding: 10px;
  max-height: min(72vh, 600px);
  overflow-y: auto;
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.4),
    0 12px 32px rgba(0, 0, 0, 0.55),
    0 32px 80px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.06);
  z-index: 9999 !important;
  display: none;
}

.nav-dropdown-menu-grid.active {
  display: block;
}

.nav-dropdown-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
  background: #13151d;
  border: 1px solid rgba(255, 255, 255, 0.04);
  transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.nav-dropdown-item:hover {
  background-color: #181b25;
  border-color: rgba(138, 118, 255, 0.22);
  box-shadow: 0 4px 14px rgba(138, 118, 255, 0.10);
}

.nav-dropdown-item-featured {
  grid-column: 1 / -1;
  display: block;
  position: relative;
  overflow: hidden;
  padding: 0;
  min-height: 150px;
  background: #0a0c14;
  border-color: rgba(138, 118, 255, 0.22);
}

.nav-dropdown-item-featured:hover {
  background: #0a0c14;
  border-color: rgba(138, 118, 255, 0.45);
}

.nav-dropdown-item-featured .nav-dropdown-item-thumb {
  position: absolute;
  inset: 0;
  flex: none;
  width: 100%;
  height: 100%;
  border-radius: 0;
  background: none;
  box-shadow: none;
  z-index: 0;
}

.nav-dropdown-item-featured .nav-dropdown-item-thumb img {
  width: 100%;
  height: 100%;
  padding: 0;
  object-fit: cover;
  transition: transform 500ms ease;
}

.nav-dropdown-item-featured:hover .nav-dropdown-item-thumb img {
  transform: scale(1.04);
}

.nav-dropdown-item-featured::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(10, 12, 20, 0.95) 0%,
    rgba(10, 12, 20, 0.78) 35%,
    rgba(10, 12, 20, 0.35) 65%,
    rgba(10, 12, 20, 0.05) 100%
  );
  pointer-events: none;
  z-index: 1;
}

.nav-dropdown-item-featured .nav-dropdown-item-body {
  position: relative;
  z-index: 2;
  padding: 26px 28px;
  max-width: 60%;
}

.nav-dropdown-item-featured .nav-dropdown-item-name {
  font-size: 17px;
}

.nav-dropdown-item-featured .nav-dropdown-item-desc {
  font-size: 13px;
  color: #c8cee0;
}

.nav-dropdown-item-thumb {
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.nav-dropdown-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
  display: block;
}

.nav-dropdown-item-thumb[data-fit="cover"] img {
  object-fit: cover;
  padding: 0;
}

.nav-dropdown-item-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.nav-dropdown-item-name {
  font-weight: 700;
  font-size: 14.5px;
  color: #f2f4fb;
  line-height: 1.25;
  letter-spacing: -0.005em;
}

.nav-dropdown-item-badge {
  display: inline-block;
  margin-left: 8px;
  padding: 1px 7px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #b8a9ff;
  background: rgba(138, 118, 255, 0.16);
  border: 1px solid rgba(138, 118, 255, 0.32);
  vertical-align: middle;
}

/* Bandeau d'annonce Subnautica 2 (haut de la home) */
.sub2-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 24px;
  padding: 9px 10px 9px 18px;
  border-radius: 999px;
  text-decoration: none;
  color: #e8e3ff;
  font-size: 14px;
  font-weight: 600;
  background:
    radial-gradient(120% 180% at 0% 50%, rgba(138, 118, 255, 0.22), transparent 60%),
    linear-gradient(135deg, rgba(138, 118, 255, 0.12), rgba(138, 118, 255, 0.04));
  border: 1px solid rgba(138, 118, 255, 0.32);
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}
.sub2-banner:hover {
  border-color: rgba(138, 118, 255, 0.55);
  transform: translateY(-1px);
  box-shadow: 0 10px 30px rgba(106, 85, 248, 0.18);
}
.sub2-banner-wave { font-size: 17px; line-height: 1; }
.sub2-banner-text { color: #d7d1ff; }
.sub2-banner-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 13px;
  border-radius: 999px;
  background: rgba(138, 118, 255, 0.22);
  border: 1px solid rgba(138, 118, 255, 0.4);
  color: #efecff;
  font-weight: 700;
  white-space: nowrap;
}
.sub2-banner:hover .sub2-banner-cta {
  background: rgba(138, 118, 255, 0.34);
}
@media (max-width: 640px) {
  .sub2-banner { font-size: 13px; padding: 10px 16px; }
}

.nav-dropdown-item-desc {
  font-size: 12.5px;
  color: #9097ae;
  line-height: 1.45;
}

.nav a,
.footer-links a {
  color: var(--nav);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}

.topbar .nav a {
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 6px 18px rgba(11, 8, 27, 0.3);
}

.top-actions {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex: 0 0 auto;
  flex-wrap: nowrap;
}

.pill,
.hero-cta,
.pricing-btn {
  position: relative;
  overflow: hidden;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, color 180ms ease, filter 180ms ease;
  margin-top: auto;
  padding: 14px 28px;
  font-weight: 700;
  font-size: 15px;
  display: inline-block;
  width: 100%;
  text-align: center;
}

.pill {
  min-width: auto;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: visible;
}

.pill svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

.hero-cta::before,
.pricing-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, 0.22) 50%, transparent 80%);
  transform: translateX(-140%);
  transition: transform 420ms ease;
  pointer-events: none;
}

.hero-cta,
.pricing-btn {
  color: #ffffff;
  background: linear-gradient(90deg, var(--button), var(--button-2));
  box-shadow: 0 18px 38px rgba(106, 85, 248, 0.22);
}

.pill-primary {
  color: #ffffff;
  background: linear-gradient(180deg, #8b74ff 0%, #7a64ff 55%, #6852ee 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 1px 2px rgba(0, 0, 0, 0.25),
    0 6px 16px rgba(138, 118, 255, 0.38);
}

.pill-primary:hover {
  background: linear-gradient(180deg, #ad9aff 0%, #8c79ff 55%, #7763f5 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 2px 4px rgba(0, 0, 0, 0.28),
    0 10px 22px rgba(138, 118, 255, 0.48);
}

.pill-muted {
  color: #e8ecf7;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

.pill-muted:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(138, 118, 255, 0.22);
}

.pill-muted svg {
  color: inherit;
}

/* Pair: dark outer capsule containing "Espace Client" text + inset violet "Panels" pill */
.pill-group {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex: 0 0 auto;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 4px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 1px 2px rgba(0, 0, 0, 0.3),
    0 8px 20px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(8px);
}

.pill-group > .pill-muted {
  background: transparent;
  border: none;
  box-shadow: none;
  min-height: 34px;
  padding: 0 12px 0 16px;
  color: #e8ecf7;
}

.pill-group > .pill-muted:hover {
  background: transparent;
  color: #ffffff;
  transform: none;
}

.pill-group .pill-dropdown-toggle {
  min-height: 34px;
  padding: 0 14px;
}

.pill-group-divider {
  width: 1px;
  height: 18px;
  background: rgba(255, 255, 255, 0.12);
  margin: 0 4px;
  flex: 0 0 auto;
}

.pill-group .lang-switcher-toggle {
  padding: 6px 8px;
}

/* ---------- Pill dropdown (Panels button) ---------- */

.pill-dropdown {
  position: relative;
}

.pill-dropdown-details > summary.pill-dropdown-toggle {
  list-style: none;
  cursor: pointer;
}

.pill-dropdown-details > summary.pill-dropdown-toggle::-webkit-details-marker {
  display: none;
}

.pill-dropdown-caret {
  transition: transform 180ms ease;
}

.pill-dropdown-details[open] .pill-dropdown-caret {
  transform: rotate(180deg);
}

.pill-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 220px;
  background: #0a0c14;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 6px;
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.4),
    0 12px 32px rgba(0, 0, 0, 0.55),
    0 28px 56px rgba(0, 0, 0, 0.4);
  z-index: 9999;
  display: none;
}

.pill-dropdown-details[open] .pill-dropdown-menu {
  display: block;
}

.pill-dropdown-item {
  display: block;
  padding: 10px 14px;
  border-radius: 6px;
  color: #e8ecf7;
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background-color 120ms ease, color 120ms ease;
}

.pill-dropdown-item:hover {
  background: rgba(138, 118, 255, 0.12);
  color: #ffffff;
}

/* ---------- Language switcher ---------- */

.lang-switcher {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.lang-switcher-details > summary.lang-switcher-toggle {
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #ffffff;
  text-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
  cursor: pointer;
  border-radius: 8px;
  transition: background-color 120ms ease;
}

.lang-switcher-details > summary.lang-switcher-toggle::-webkit-details-marker {
  display: none;
}

.lang-switcher-toggle:hover {
  background: rgba(255, 255, 255, 0.06);
}

.lang-flag {
  display: inline-flex;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.15);
}

.lang-flag svg {
  display: block;
  width: 100%;
  height: 100%;
}

.lang-switcher-caret {
  transition: transform 180ms ease;
  opacity: 0.75;
}

.lang-switcher-details[open] .lang-switcher-caret {
  transform: rotate(180deg);
}

.lang-switcher-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 160px;
  background: #0a0c14;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 6px;
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.4),
    0 12px 32px rgba(0, 0, 0, 0.55),
    0 28px 56px rgba(0, 0, 0, 0.4);
  z-index: 9999;
  display: none;
}

.lang-switcher-details[open] .lang-switcher-menu {
  display: block;
}

.lang-switcher-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 6px;
  color: #e8ecf7;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: background-color 120ms ease, color 120ms ease;
}

.lang-switcher-item:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
}

.lang-switcher-item[aria-current="true"] {
  background: rgba(138, 118, 255, 0.10);
  color: #ffffff;
}

.nav-discord {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: #c8cee0;
  text-decoration: none;
  cursor: pointer;
  flex: 0 0 auto;
  line-height: 0;
  transition:
    background-color 200ms ease,
    border-color 200ms ease,
    color 200ms ease;
}

.nav-discord svg {
  width: 16px;
  height: 16px;
  display: block;
}

@media (hover: hover) and (pointer: fine) {
  .nav-discord:hover {
    background: rgba(88, 101, 242, 0.22);
    border-color: rgba(88, 101, 242, 0.55);
    color: #c7ccff;
    box-shadow: 0 10px 24px rgba(88, 101, 242, 0.22);
  }

  .top-actions .pill:hover {
    transform: none;
  }
}

.nav-discord:focus-visible {
  outline: 3px solid rgba(88, 101, 242, 0.4);
  outline-offset: 2px;
}

.hero-shell {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: none;
  margin-top: 0;
  padding: 124px 24px 80px;
  min-height: 460px;
  border-radius: 0;
  overflow: hidden;
  background:
    linear-gradient(180deg, #0d0724 0%, #13092f 18%, #28145c 40%, #c8bfeb 74%, #f2f1fa 88%, #ececf6 100%);
  box-shadow: none;
  border: none;
}

.hero-shell::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -84px;
  height: 320px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(246, 244, 252, 0.36) 30%,
    rgba(238, 238, 248, 0.84) 64%,
    rgba(233, 234, 245, 0.98) 100%
  );
  filter: blur(16px);
  pointer-events: none;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px 6px 24px 10px;
}

.hero-shell-centered {
  text-align: center;
}

.hero-copy-centered {
  position: relative;
  z-index: 2;
  align-items: center;
  max-width: 820px;
  padding: 18px 0 0;
}

.hero-kicker,
.section-kicker,
.feature-chip,
.card-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #1a1431;
  font-weight: 800;
}

.hero-kicker {
  padding: 7px 14px;
  font-size: 12px;
  font-weight: 600;
  box-shadow: none;
}

.hero-side-mascot {
  position: absolute;
  right: clamp(48px, 9vw, 180px);
  top: 50%;
  width: clamp(170px, 20vw, 310px);
  height: auto;
  transform: translateY(-38%);
  object-fit: contain;
  filter: drop-shadow(0 18px 32px rgba(11, 8, 27, 0.22));
  pointer-events: none;
  z-index: 2;
}

.hero-shell h1,
.section-heading h2 {
  margin: 18px 0 0;
  color: #08183e;
  line-height: 1.04;
  letter-spacing: -0.055em;
  font-weight: 700;
}

.hero-shell h1 {
  max-width: 760px;
  color: #12111d;
  font-size: clamp(40px, 5vw, 62px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.hero-shell h1 .hero-accent {
  background: linear-gradient(135deg, #6a55f8 0%, #b8a9ff 60%, #ff7ad9 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  background-size: 200% 200%;
  background-position: 0% 50%;
}

.hero-subtitle,
.section-heading p,
.services-copy p,
.pricing-grid > p,
.location-card p,
.faq-card p,
.journey-card p,
.network-copy span {
  color: var(--muted);
  line-height: 1.7;
}

.hero-subtitle {
  max-width: 680px;
  margin: 20px 0 0;
  color: #505773;
  font-size: 15px;
  font-weight: 500;
  text-align: center;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.hero-actions-centered {
  justify-content: center;
}

.hero-cta {
  min-width: 194px;
  min-height: 49px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-size: 14px;
  font-weight: 700;
  border-radius: 9px;
  box-shadow: none;
}

.trust-strip-item strong {
  display: block;
  color: #0f1e51;
  font-size: clamp(26px, 1.9vw, 34px);
  letter-spacing: -0.03em;
  line-height: 1;
  font-weight: 820;
}

.trust-strip-item span {
  display: block;
  margin-top: 10px;
  color: #40557f;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.35;
}

.section-kicker,
.feature-chip,
.card-kicker {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  font-size: 12px;
  letter-spacing: 0.02em;
  border-radius: 999px;
}

.hero-aurora {
  position: absolute;
  inset: -18% -14% 2% -14%;
  background:
    linear-gradient(180deg, rgba(8, 5, 24, 0.97) 0%, rgba(14, 8, 36, 0.84) 18%, rgba(25, 14, 58, 0.52) 34%, rgba(42, 27, 90, 0.2) 50%, transparent 66%),
    radial-gradient(88% 54% at 50% 52%, rgba(167, 134, 255, 0.96) 0%, rgba(152, 119, 244, 0.62) 24%, rgba(113, 82, 208, 0.26) 48%, transparent 72%),
    radial-gradient(62% 46% at 14% 72%, rgba(146, 111, 255, 0.82) 0%, rgba(146, 111, 255, 0.44) 24%, rgba(146, 111, 255, 0.14) 44%, transparent 66%),
    radial-gradient(62% 46% at 86% 72%, rgba(146, 111, 255, 0.82) 0%, rgba(146, 111, 255, 0.44) 24%, rgba(146, 111, 255, 0.14) 44%, transparent 66%),
    radial-gradient(130% 94% at 50% 90%, rgba(255, 255, 255, 1) 20%, rgba(255, 255, 255, 0.86) 38%, rgba(255, 255, 255, 0.34) 58%, transparent 76%);
  filter: blur(8px) saturate(1.02);
  pointer-events: none;
}

.service-card li,
.pricing-card li {
  position: relative;
  padding-left: 18px;
}

.service-card li::before,
.pricing-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line);
}

/* Hide the global pricing-card dot when the bullet list already has its own marker (Lucide Check) */
.pricing-card .dedicated-config-bullets li::before {
  display: none;
}

.trust-strip {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: -26px;
  padding: 18px 26px;
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(252, 253, 255, 0.94), rgba(246, 249, 255, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.82);
  box-shadow:
    0 22px 52px rgba(49, 65, 114, 0.16),
    0 2px 0 rgba(255, 255, 255, 0.82) inset,
    0 0 0 1px rgba(188, 200, 233, 0.35) inset;
  overflow: visible;
}

.trust-strip::before {
  content: '';
  position: absolute;
  top: -142px;
  left: 50%;
  width: 100vw;
  height: 398px;
  transform: translateX(-50%);
  background: linear-gradient(
    180deg,
    rgba(242, 241, 250, 0) 0%,
    rgba(239, 239, 248, 0.52) 28%,
    rgba(234, 235, 246, 0.87) 62%,
    rgba(230, 232, 244, 0.97) 100%
  );
  filter: blur(20px);
  pointer-events: none;
  z-index: -1;
}

.trust-strip::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -214px;
  width: 100vw;
  height: 354px;
  transform: translateX(-50%);
  background: linear-gradient(
    180deg,
    rgba(231, 233, 245, 0.8) 0%,
    rgba(233, 234, 246, 0.44) 42%,
    rgba(236, 238, 247, 0) 100%
  );
  filter: blur(16px);
  pointer-events: none;
  z-index: -1;
}

.trust-strip-item {
  position: relative;
  padding: 24px 22px 22px;
}

.trust-strip-item:not(:last-child) {
  border-right: 1px solid rgba(84, 100, 147, 0.22);
}

.services-preview,
.journey-section,
.pricing-grid,
.locations-section,
.features-grid,
.faq-section,
.testimonials-section {
  margin-top: 96px;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 24px;
}

.services-preview {
  position: relative;
  isolation: isolate;
  margin-top: 56px;
  padding: 78px 24px 12px;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}

.services-preview::before {
  content: '';
  position: absolute;
  left: 50%;
  top: -154px;
  width: 100vw;
  height: calc(100% + 208px);
  transform: translateX(-50%);
  z-index: -2;
  background:
    radial-gradient(84% 46% at 50% 6%, rgba(158, 138, 255, 0.2) 0%, rgba(230, 233, 245, 0.46) 44%, rgba(233, 236, 247, 0.82) 72%, rgba(233, 236, 247, 0.98) 100%),
    linear-gradient(180deg, rgba(235, 237, 248, 0) 0%, rgba(235, 237, 248, 0.82) 30%, #eaedf8 66%, #e8ebf7 100%);
  filter: blur(4px);
}

.services-preview::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 212px;
  width: 100vw;
  height: 340px;
  transform: translateX(-50%);
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(36% 46% at 22% 54%, rgba(170, 189, 255, 0.18), transparent 72%),
    radial-gradient(36% 46% at 76% 54%, rgba(170, 189, 255, 0.12), transparent 72%);
  filter: blur(14px);
}

.section-heading {
  max-width: 820px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-heading-centered {
  margin-bottom: 60px !important;
}

.services-heading {
  max-width: 980px;
  margin: 0 auto 66px;
  text-align: center;
}

.services-heading h2 {
  max-width: 920px;
  margin: 0 auto;
  font-size: clamp(28px, 5.5vw, 54px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 800;
  color: #0f1d4c;
}

.services-heading p {
  max-width: 860px;
  margin: 12px auto 0;
  color: #5b6987;
  font-size: 16px;
  line-height: 1.6;
}

.services-mosaic {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: minmax(220px, auto);
  gap: 14px;
  margin-top: 16px;
}

.services-tile {
  border-radius: 26px;
  border: 1px solid rgba(207, 216, 239, 0.9);
  box-shadow: 0 14px 30px rgba(77, 93, 136, 0.08);
  padding: 34px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 220px;
}

.services-tile-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-bottom: 16px;
}

.services-tile h3 {
  margin: 0;
  color: #0f1d4c;
  font-size: clamp(26px, 2.4vw, 36px);
  line-height: 1.08;
  letter-spacing: -0.04em;
  font-weight: 700;
}

.services-tile p {
  margin: 14px 0 0;
  color: #3f527e;
  font-size: 16px;
  line-height: 1.5;
}

.services-tile-security {
  grid-column: 1 / span 2;
  background: #e8ecf7;
}

.services-shield {
  width: 62px;
  height: 62px;
  border-radius: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  line-height: 1;
  font-weight: 800;
  color: #ffffff;
  background: linear-gradient(180deg, #2474ff 0%, #1d5eff 100%);
  box-shadow: 0 14px 24px rgba(29, 94, 255, 0.28);
}

.services-tile-support {
  grid-column: 3;
  background: #f2eadf;
}

.services-tile-dashboard {
  grid-column: 4;
  grid-row: 1 / span 2;
  overflow: hidden;
  background: #2d40f0;
}

.services-tile-dashboard h3,
.services-tile-dashboard p {
  color: #ffffff;
}

.services-tile-dashboard img {
  width: auto;
  max-width: 55%;
  height: auto;
  margin: 24px auto 0;
  display: block;
  filter: drop-shadow(0 14px 36px rgba(255, 255, 255, 0.25));
}

.services-tile-eco {
  grid-column: 1;
  background: #d8ede8;
}

.services-tile-performance {
  grid-column: 2 / span 2;
  background: #e8ecf7;
}

.services-tech-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.services-tech-badges span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border-radius: 999px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(194, 205, 235, 0.88);
  color: #2a4070;
  font-size: 13px;
  font-weight: 700;
}

.section-heading-left {
  margin-left: 0;
  margin-right: 0;
  text-align: left;
}

.section-heading h2 {
  font-size: clamp(26px, 3.4vw, 38px);
}

.section-heading p {
  margin: 12px auto 0;
  font-size: 15px;
}

.services-story {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 520px);
  gap: 42px;
  align-items: stretch;
}

.services-story-featured {
  grid-template-columns: minmax(0, 1fr) minmax(420px, 520px);
  gap: 42px;
  align-items: stretch;
}

.services-copy p {
  margin: 0 0 20px;
  font-size: 18px;
}

.services-copy-featured p {
  max-width: 740px;
  color: #5b6c8f;
}

.services-track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.services-track-item {
  position: relative;
  min-height: 130px;
  padding: 18px 18px 16px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(245, 248, 255, 0.78));
  border: 1px solid rgba(216, 224, 244, 0.94);
  box-shadow: 0 14px 28px rgba(79, 93, 136, 0.09);
  overflow: hidden;
}

.services-track-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, rgba(96, 74, 243, 0.9), rgba(136, 119, 255, 0.46));
}

.services-track-item strong {
  display: block;
  font-size: 19px;
  margin-bottom: 6px;
  color: #122252;
}

.services-track-item span {
  display: block;
  color: #5e6f90;
  font-size: 15px;
  line-height: 1.58;
}

.services-visual {
  min-height: 420px;
}

.services-visual-featured {
  min-height: 540px;
}

.services-showcase {
  position: relative;
  min-height: 540px;
  border-radius: 32px;
  border: 1px solid rgba(212, 221, 245, 0.96);
  box-shadow: 0 28px 54px rgba(71, 87, 128, 0.14);
  overflow: hidden;
  background:
    radial-gradient(78% 38% at 50% 8%, rgba(163, 146, 255, 0.24), transparent 66%),
    linear-gradient(180deg, rgba(247, 249, 255, 0.97) 0%, rgba(241, 245, 253, 0.95) 100%);
}

.services-showcase::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.24), transparent 36%),
    radial-gradient(60% 50% at 80% 78%, rgba(103, 81, 247, 0.14), transparent 72%);
  pointer-events: none;
}

.services-showcase-image-wrap {
  position: absolute;
  left: 24px;
  right: 24px;
  top: 92px;
  bottom: 88px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(213, 221, 245, 0.9);
  background: #e8edf8;
  box-shadow: 0 18px 36px rgba(86, 102, 145, 0.16);
}

.services-showcase-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.05) contrast(1.03);
}

.services-showcase-stat {
  position: absolute;
  min-width: 122px;
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(210, 219, 242, 0.95);
  box-shadow: 0 12px 24px rgba(76, 91, 133, 0.12);
  backdrop-filter: blur(4px);
  z-index: 2;
}

.services-showcase-stat strong {
  display: block;
  color: #13245a;
  font-size: 20px;
  letter-spacing: -0.03em;
  line-height: 1;
}

.services-showcase-stat span {
  display: block;
  margin-top: 6px;
  color: #4f638f;
  font-size: 13px;
  font-weight: 700;
}

.services-showcase-stat-a {
  top: 20px;
  left: 20px;
}

.services-showcase-stat-b {
  top: 20px;
  right: 20px;
}

.services-showcase-stat-c {
  left: 20px;
  bottom: 66px;
}

.services-showcase-foot {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  z-index: 2;
}

.services-showcase-foot span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(208, 217, 241, 0.88);
  color: #314978;
  font-size: 13px;
  font-weight: 700;
}

.journey-card,
.location-card,
.faq-card {
  padding: 20px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(106, 85, 248, 0.12);
  box-shadow: 0 16px 34px rgba(74, 92, 156, 0.08);
}

.location-card h3,
.faq-card h3,
.journey-card h3 {
  display: block;
  color: #10204d;
  font-size: 19px;
  margin-bottom: 8px;
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 60px;
}

.service-card,
.pricing-card,
.feature-card,
.why-card,
.network-panel {
  border-radius: 26px;
  background: var(--card);
  border: 1px solid rgba(106, 85, 248, 0.12);
  box-shadow: var(--shadow);
}

.service-card {
  padding: 28px;
}

.service-card-wide {
  grid-column: span 2;
}

.service-card-featured {
  background:
    radial-gradient(circle at top right, rgba(106, 85, 248, 0.14), transparent 32%),
    rgba(255, 255, 255, 0.94);
}

.service-card h3,
.pricing-card h3,
.feature-card h3 {
  margin: 0 0 8px;
  color: #0b173e;
  font-size: 32px;
  line-height: 1.15;
  letter-spacing: -0.05em;
}

.service-card p,
.pricing-desc,
.why-card p,
.card-subtitle {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.service-card ul,
.pricing-card ul {
  margin: 24px 0;
  padding: 0;
  list-style: none;
  flex-grow: 1;
}

.service-card li,
.pricing-card li {
  margin-top: 14px;
  color: #213459;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.5;
}

.journey-grid,
.faq-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 42px;
}

.faq-card {
  padding: 32px 28px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(106, 85, 248, 0.12);
  box-shadow: 0 16px 34px rgba(74, 92, 156, 0.08);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-card:hover {
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 24px 48px rgba(74, 92, 156, 0.12);
  transform: translateY(-2px);
}

.faq-card-icon {
  display: inline-flex;
  width: 56px;
  height: 56px;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(106, 85, 248, 0.15), rgba(136, 119, 255, 0.08));
  color: #6655f8;
}

.faq-card h3 {
  margin: 0;
  font-size: 20px;
  color: #10204d;
  font-weight: 700;
  line-height: 1.3;
  text-align: left;
}

.faq-card p {
  margin: 0;
  font-size: 15px;
  color: #3f527e;
  line-height: 1.6;
  text-align: left;
}

.docs-timeline {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0;
  margin-top: 60px;
  padding: 0 0;
}

.timeline-line {
  position: absolute;
  top: 28px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #3B82F6, #F59E0B, #10B981);
  z-index: 0;
}

.docs-step {
  position: relative;
  z-index: 1;
  flex: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.step-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  font-size: 24px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 32px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  background-color: white;
}

.docs-step-1 .step-badge {
  background: linear-gradient(135deg, #3B82F6, #1D9EF8);
}

.docs-step-2 .step-badge {
  background: linear-gradient(135deg, #F59E0B, #FBBF24);
}

.docs-step-3 .step-badge {
  background: linear-gradient(135deg, #10B981, #34D399);
}

.step-content {
  max-width: 320px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.step-content h3 {
  margin: 0;
  font-size: 20px;
  color: #10204d;
  font-weight: 700;
  line-height: 1.3;
}

.step-subtitle {
  margin: 0;
  font-size: 15px;
  color: #0f1e51;
  font-weight: 600;
  line-height: 1.4;
}

.step-description {
  margin: 0;
  font-size: 14px;
  color: #3f527e;
  line-height: 1.6;
}

.journey-card {
  min-height: 220px;
}

.journey-step {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(106, 85, 248, 0.1);
  color: var(--line);
  font-weight: 800;
}

.pricing-grid {
  margin-bottom: 0;
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

/* Single pricing card in dedicated page takes 1/3 width or full width on smaller screens */
section:has(> .pricing-cards > .pricing-card:only-child) .pricing-cards {
  grid-template-columns: minmax(0, 1fr);
  max-width: 380px;
  margin: 0 auto;
}

.pricing-card {
  padding: 40px 36px;
  min-height: 520px;
  display: flex;
  flex-direction: column;
}

.pricing-card.highlighted {
  border: 2px solid rgba(106, 85, 248, 0.36);
  background: linear-gradient(180deg, rgba(116, 95, 255, 0.08), rgba(255, 255, 255, 0.95));
}

.pricing-amount {
  margin-top: 24px;
  margin-bottom: 28px;
  color: #102156;
  font-size: 48px;
  font-weight: 800;
  line-height: 1.05;
}

.pricing-amount span {
  font-size: 16px;
  color: #5b6d98;
  font-weight: 600;
  display: block;
  margin-top: 4px;
}

.locations-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 20px;
  align-items: stretch;
}

.location-cards {
  display: grid;
  gap: 16px;
}

.tech-stack-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.tech-stack-item {
  border-radius: 26px;
  border: 1px solid rgba(207, 216, 239, 0.9);
  box-shadow: 0 14px 30px rgba(77, 93, 136, 0.08);
  padding: 34px 28px 30px;
  text-align: center;
  transition: all 0.3s ease;
}

.tech-stack-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(77, 93, 136, 0.12);
}

.tech-stack-item:nth-child(1) {
  background: linear-gradient(135deg, #e8f0ff 0%, #f0e8ff 100%);
}

.tech-stack-item:nth-child(2) {
  background: linear-gradient(135deg, #ffe8e8 0%, #ffe8f0 100%);
}

.tech-stack-item:nth-child(3) {
  background: linear-gradient(135deg, #fff8e8 0%, #ffe8e8 100%);
}

.tech-stack-item:nth-child(4) {
  background: linear-gradient(135deg, #e8f0ff 0%, #e8f8ff 100%);
}

.tech-stack-icon {
  margin-bottom: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 50px;
  width: 100%;
}

.tech-stack-item h3 {
  color: #0f1d4c;
  font-size: 20px;
  margin: 12px 0 8px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.tech-stack-item p {
  color: #3f527e;
  font-size: 15px;
  margin: 0;
  line-height: 1.5;
}

.network-panel {
  display: grid;
  place-items: center;
  padding: 28px;
  background:
    radial-gradient(circle at 50% 35%, rgba(106, 85, 248, 0.14), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(238, 244, 255, 0.96));
}

.network-panel img {
  width: min(100%, 420px);
  display: block;
}

.network-asset {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 24px 46px rgba(22, 37, 77, 0.16);
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
}

.feature-item svg {
  margin-bottom: 4px;
}

.feature-item h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 0;
  color: var(--ink);
}

.feature-item p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}

.line-through {
  text-decoration: none;
  position: relative;
  display: inline-block;
}

.line-through::after {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  height: 2px;
  background-color: var(--ink);
  transform: translateY(-50%);
}

.strikethrough-wrapper {
  position: relative;
  display: inline-block;
  margin: 0 4px;
}

.strikethrough-wrapper svg {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 100%;
  transform: translateY(-50%);
  color: currentColor;
}

.strikethrough-text {
  position: relative;
  z-index: 1;
}

.panel-showcase {
  margin: 80px 0;
  display: flex;
  justify-content: center;
  padding: 0 20px;
}

.panel-image {
  width: 100%;
  max-width: 1200px;
  height: auto;
  border-radius: 16px;
  display: block;
  transition: transform 0.1s ease-out;
  transform-origin: center;
}

.eco-section {
  margin: 100px 0;
  padding: 60px 20px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.05), rgba(16, 185, 129, 0.02));
}

.eco-container {
  width: min(1320px, calc(100% - 40px));
  margin: 0 auto;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
}

.eco-left,
.eco-right {
  width: 200px;
  height: 400px;
  object-fit: contain;
  object-position: center;
}

.eco-content {
  max-width: 720px;
  text-align: center;
}

.eco-content h2 {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--ink);
}

.eco-highlight {
  color: #10b981;
  font-weight: 700;
}

.eco-content p {
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 40px;
  font-size: 15px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.eco-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.eco-feature {
  display: flex;
  gap: 12px;
  text-align: left;
}

.eco-check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  min-width: 20px;
  background: #10b981;
  color: white;
  border-radius: 50%;
  font-size: 12px;
  font-weight: bold;
  margin-top: 2px;
}

.eco-feature div {
  flex: 1;
}

.eco-feature strong {
  color: var(--ink);
  font-size: 14px;
  display: block;
}

.eco-feature p {
  color: var(--muted);
  margin: 4px 0 0 0;
  font-size: 13px;
}

.eco-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: white;
  border: 2px solid #10b981;
  color: #10b981;
  text-decoration: none;
  border-radius: 24px;
  font-weight: 600;
  font-size: 14px;
  transition: all 240ms ease;
}

.eco-button:hover {
  background: #10b981;
  color: white;
}

.features-section {
  padding-top: 80px;
  padding-bottom: 80px;
}

.features-image {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #6a55f8, #8b74ff);
  border-radius: 24px;
  padding: 24px;
  min-height: 300px;
}

.dashboard-image {
  width: 100%;
  height: auto;
  border-radius: 16px;
  display: block;
}

.network-copy {
  max-width: 380px;
  text-align: center;
}

.network-copy strong {
  display: block;
  color: #0e1f54;
  font-size: 24px;
  margin-top: 8px;
  margin-bottom: 20px;
}

.tech-specs {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
}

.tech-spec {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px;
  background: rgba(99, 102, 241, 0.08);
  border-radius: 8px;
  border-left: 3px solid rgba(99, 102, 241, 0.3);
}

.tech-label {
  font-weight: 600;
  color: #4b5c83;
  font-size: 14px;
}

.tech-value {
  color: #0e1f54;
  font-weight: 500;
  font-size: 14px;
}

.tech-stack-mosaic {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: auto;
  gap: 14px;
  margin-top: 16px;
}

.tech-stack-tile {
  border-radius: 26px;
  border: 1px solid rgba(207, 216, 239, 0.9);
  box-shadow: 0 14px 30px rgba(77, 93, 136, 0.08);
  padding: 34px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 220px;
}

.tech-stack-tile h3 {
  margin: 0;
  color: #0f1d4c;
  font-size: clamp(26px, 2.4vw, 36px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.tech-stack-tile p {
  margin: 12px 0 0;
  color: #3f527e;
  font-size: 16px;
  line-height: 1.5;
}

.tech-stack-cpu {
  grid-column: 1 / span 2;
  grid-row: 1;
  background: #e8ecf7;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: center;
}

.tech-stack-cpu .tech-stack-icon {
  flex-shrink: 0;
}

.tech-stack-connectivity {
  grid-column: 3;
  grid-row: 1;
  background: #f2eadf;
}

.tech-stack-connectivity h3 {
  font-size: clamp(26px, 2.2vw, 36px);
}

.tech-stack-storage-tile {
  grid-column: 4;
  grid-row: 1;
  background: #2d40f0;
  padding: 34px;
}

.tech-stack-storage-tile h3,
.tech-stack-storage-tile p {
  color: #ffffff;
}

.tech-stack-storage-tile .tech-stack-icon {
  margin-bottom: 16px;
}

.tech-stack-memory {
  grid-column: 1;
  grid-row: 2;
  background: #d8ede8;
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.tech-stack-memory .tech-stack-icon {
  margin-bottom: 16px;
}

.tech-stack-redundancy {
  grid-column: 2;
  grid-row: 2;
  background: #e8e3f2;
  padding: 34px 28px 30px;
}

.tech-stack-security {
  grid-column: 3 / span 2;
  grid-row: 2;
  background: #ffe8e8;
  padding: 34px 28px 30px;
}

.tech-stack-cooling {
  grid-column: 1 / span 4;
  grid-row: 3;
  background: #e0f2e9;
  padding: 34px 28px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: 200px;
}

.tech-stack-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.features-grid {
  margin-bottom: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
}

.features-grid-container {
  display: block;
}

.feature-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.feature-card {
  overflow: hidden;
  padding: 28px;
  min-height: 520px;
  transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
}

.feature-card h3 {
  font-size: 32px;
}

.feature-chip {
  padding: 8px 12px;
  font-size: 12px;
}

.card-art {
  width: 100%;
  margin-top: 26px;
  border-radius: 18px;
  object-fit: cover;
}

.faq-cards {
  margin-bottom: 110px;
}

.site-footer {
  margin-top: 80px;
  padding: 0;
  background: transparent;
  border-top: none;
}

.site-footer > section,
.site-footer .footer-columns,
.site-footer .footer-trustpilot,
.site-footer .footer-bottom {
  width: min(1320px, calc(100% - 40px));
  margin-left: auto;
  margin-right: auto;
}

/* Top decoration - two violet line segments with HG logo cleanly separated in the middle */
.footer-top-decoration {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0;
  padding: 28px 0;
  margin-bottom: 8px;
}
.footer-top-decoration::before,
.footer-top-decoration::after {
  content: '';
  flex: 1;
  height: 2px;
  background: rgba(138, 118, 255, 0.6);
  box-shadow: 0 0 24px rgba(138, 118, 255, 0.22);
}
.footer-top-logo {
  width: 160px;
  height: 160px;
  display: block;
  flex-shrink: 0;
  margin: 0 -32px;
}

/* Help section */
.footer-help {
  padding: 40px 0 24px;
}
.footer-help-heading h2 {
  margin: 0 0 8px;
  font-size: 22px;
  color: #f2f4fb;
}
.footer-help-heading p {
  margin: 0 0 28px;
  color: #9aa3c0;
  max-width: 720px;
  line-height: 1.6;
}
.footer-help-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
}
.footer-help-card {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 18px 20px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
  text-decoration: none;
  color: inherit;
  transition: background-color 200ms ease, border-color 200ms ease, transform 200ms ease;
}
.footer-help-card:hover {
  background: rgba(138, 118, 255, 0.06);
  border-color: rgba(138, 118, 255, 0.22);
  transform: translateY(-1px);
}
.footer-help-card-icon {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(138, 118, 255, 0.12);
  color: #b8a9ff;
}
.footer-help-card h3 {
  margin: 0 0 4px;
  font-size: 15px;
  color: #f2f4fb;
}
.footer-help-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: #9aa3c0;
}

/* Payment methods */
.footer-pay {
  padding: 28px 0 32px;
  text-align: center;
}
.footer-pay-title {
  margin: 0 0 16px;
  font-size: 15px;
  font-weight: 700;
  color: #c8cee0;
  letter-spacing: 0.02em;
}
.footer-pay-logos {
  display: inline-flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}
.footer-pay-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
}
.footer-pay-logo img,
.footer-pay-logo svg {
  display: block;
  height: 100%;
  width: auto;
  object-fit: contain;
}

/* Columns */
.footer-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 32px;
  padding: 28px 0;
}
.footer-column h4 {
  margin: 0 0 14px;
  font-size: 14px;
  font-weight: 700;
  color: #f2f4fb;
  letter-spacing: 0.01em;
}
.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-column li + li {
  margin-top: 8px;
}
.footer-column a {
  display: inline-block;
  font-size: 13.5px;
  font-weight: 500;
  color: #9aa3c0;
  text-decoration: none;
  transition: color 150ms ease;
}
.footer-column a:hover {
  color: #b8a9ff;
}

/* Trustpilot wrapper */
.footer-trustpilot {
  padding: 8px 0 16px;
  display: flex;
  justify-content: center;
}

/* Bottom bar - 3 columns: meta left, brand center, social right */
.footer-bottom {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 28px 0 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: 12px;
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #f2f4fb;
  justify-self: center;
}
.footer-brand-logo {
  width: 36px;
  height: 36px;
  display: block;
}
.footer-brand-text {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #f2f4fb;
}
.footer-bottom-meta {
  font-size: 12px;
  line-height: 1.55;
  color: #7a8299;
  justify-self: start;
}
.footer-bottom-meta p {
  margin: 0;
}
.footer-bottom-right {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-self: end;
}
.footer-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #c8cee0;
  text-decoration: none;
  transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease;
}
.footer-social:hover {
  background: rgba(88, 101, 242, 0.18);
  border-color: rgba(88, 101, 242, 0.45);
  color: #ffffff;
}

@media (max-width: 720px) {
  .footer-help {
    padding-top: 36px;
  }
  .footer-bottom {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-bottom-meta,
  .footer-bottom-right {
    justify-self: center;
  }
}

@media (hover: hover) and (pointer: fine) {
  .pill:hover,
  .hero-cta:hover,
  .pricing-btn:hover {
    transform: translateY(-1px);
  }

  .hero-cta:hover::before,
  .pricing-btn:hover::before {
    transform: translateX(145%);
  }

  .feature-card:hover,
  .service-card:hover,
  .pricing-card:hover,
  .why-card:hover,
  .journey-card:hover,
  .location-card:hover,
  .faq-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 30px 70px rgba(79, 97, 164, 0.16);
  }
}

.pill:focus-visible,
.hero-cta:focus-visible,
.pricing-btn:focus-visible,
.nav a:focus-visible,
.footer-links a:focus-visible {
  outline: 3px solid rgba(106, 85, 248, 0.26);
  outline-offset: 3px;
}

@media (max-width: 1180px) {
  .hero-shell {
    min-height: auto;
  }

  .trust-strip,
  .services-track,
  .pricing-cards,
  .feature-cards,
  .faq-cards,
  .journey-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-strip {
    padding: 14px 18px;
  }

  .trust-strip-item {
    padding: 20px 18px;
    border-right: none;
    border-bottom: 1px solid rgba(84, 100, 147, 0.2);
    text-align: center;
  }

  .trust-strip-item strong {
    font-size: clamp(30px, 8vw, 38px);
  }

  .trust-strip-item:last-child {
    border-bottom: none;
  }

  .trust-strip {
    margin-top: -12px;
    padding: 6px 14px;
  }

  .services-preview {
    margin-top: 38px;
    padding: 46px 0 4px;
  }

  .services-preview::before {
    top: -98px;
    height: calc(100% + 146px);
  }

  .services-heading {
    margin-bottom: 34px;
  }

  .services-heading h2 {
    font-size: clamp(34px, 10.4vw, 48px);
    letter-spacing: -0.055em;
  }

  .services-copy-featured p {
    font-size: 17px;
  }

  .services-mosaic {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: minmax(210px, auto);
  }

  .services-tile-security,
  .services-tile-dashboard,
  .services-tile-performance {
    grid-column: 1 / -1;
  }

  .services-tile-support,
  .services-tile-eco {
    grid-column: auto;
  }

  .services-tile-dashboard {
    grid-row: auto;
  }

  .services-dashboard-screen img {
    max-height: 300px;
  }

  .services-visual-featured,
  .services-showcase {
    min-height: 462px;
  }

  .services-showcase-image-wrap {
    top: 84px;
    bottom: 78px;
  }

  .services-showcase-foot {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .service-card-wide {
    grid-column: auto;
  }

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

  .service-card,
  .pricing-card,
  .feature-card,
  .faq-card,
  .location-card,
  .journey-card {
    padding: 22px;
    border-radius: 22px;
  }

  .feature-card {
    min-height: auto;
  }

  .docs-timeline {
    flex-direction: column;
    align-items: center;
    padding: 0;
  }

  .timeline-line {
    display: none;
  }

  .docs-step {
    width: 100%;
    max-width: 100%;
  }

  .step-badge {
    width: 48px;
    height: 48px;
    font-size: 20px;
  }

  .step-content h3 {
    font-size: 18px;
  }

  .step-subtitle {
    font-size: 15px;
  }

  .step-description {
    font-size: 14px;
  }

  .pricing-amount {
    font-size: 36px;
  }
}

/* CSS Fixes for Centered Layouts */
.services-mosaic {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  grid-auto-rows: auto;
  gap: 16px;
  margin-top: 16px;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}

/* Services mosaic for both landing and dedicated - 4 columns */
.hero-shell ~ section .services-mosaic,
section:has(.dedicated-tile-blue) .services-mosaic {
  grid-template-columns: repeat(4, minmax(200px, 1fr));
  grid-auto-rows: minmax(200px, auto);
  gap: 16px;
}

/* Dedicated Tiles with Colors */
.dedicated-tile-blue {
  background: #e8ecf7 !important;
}


.dedicated-tile-blue .services-icon-wrapper {
  background: linear-gradient(180deg, #2474ff 0%, #1d5eff 100%) !important;
  box-shadow: 0 10px 20px rgba(29, 94, 255, 0.2) !important;
}

/* Spacing for dedicated tiles mosaic */
.dedicated-tile-blue {
  background: #e8ecf7 !important;
  grid-column: 1 / span 2;
}

.dedicated-tile-orange {
  background: #f2eadf !important;
  grid-column: 3;
}

.dedicated-tile-orange .services-icon-wrapper {
  background: linear-gradient(180deg, #ff9d42 0%, #ff8c1a 100%) !important;
  box-shadow: 0 10px 20px rgba(255, 156, 66, 0.2) !important;
}

.dedicated-tile-purple {
  background: #f0e8ff !important;
  grid-column: 4;
}

.dedicated-tile-purple .services-icon-wrapper {
  background: linear-gradient(180deg, #7c5cfd 0%, #6a55f8 100%) !important;
  box-shadow: 0 10px 20px rgba(106, 85, 248, 0.2) !important;
}

.dedicated-tile-green {
  background: #e8f5f0 !important;
  grid-column: 1 / span 2;
}

.dedicated-tile-green .services-icon-wrapper {
  background: linear-gradient(180deg, #10b981 0%, #059669 100%) !important;
  box-shadow: 0 10px 20px rgba(16, 185, 129, 0.2) !important;
}

.dedicated-tile-teal {
  background: #e0f7f4 !important;
  grid-column: 3;
}

.dedicated-tile-teal .services-icon-wrapper {
  background: linear-gradient(180deg, #14b8a6 0%, #0d9488 100%) !important;
  box-shadow: 0 10px 20px rgba(20, 184, 166, 0.2) !important;
}

.dedicated-tile-indigo {
  background: #eef2ff !important;
  grid-column: 4;
}

.dedicated-tile-indigo .services-icon-wrapper {
  background: linear-gradient(180deg, #6366f1 0%, #4f46e5 100%) !important;
  box-shadow: 0 10px 20px rgba(99, 102, 241, 0.2) !important;
}

/* Services Tile updates for dedicated */
.services-tile {
  border-radius: 20px;
  border: 1px solid rgba(207, 216, 239, 0.3);
  padding: 32px 24px;
  transition: all 180ms ease;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  min-height: 240px;
  justify-content: flex-start;
}

.services-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(59, 80, 142, 0.12);
  border-color: rgba(106, 85, 248, 0.2);
}

.services-icon-wrapper {
  width: 60px;
  height: 60px;
  min-width: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  flex-shrink: 0;
}

.services-tile h3 {
  margin: 0;
  color: #0f1d4c;
  font-size: 18px;
  line-height: 1.3;
  letter-spacing: -0.02em;
  font-weight: 700;
}

.services-tile p {
  margin: 0;
  color: #5b6987;
  font-size: 14px;
  line-height: 1.6;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  margin-top: 48px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.feature-card {
  padding: 32px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(207, 216, 239, 0.3);
  text-align: center;
  transition: all 180ms ease;
}

.feature-card:hover {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(106, 85, 248, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(59, 80, 142, 0.12);
}

.feature-icon-box {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(106, 85, 248, 0.1), rgba(139, 116, 255, 0.05));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: #6a55f8;
}

.feature-card h3 {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 700;
  color: #0f1d4c;
}

.feature-card p {
  margin: 0;
  font-size: 14px;
  color: #5b6987;
  line-height: 1.6;
}

.pricing-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin: 48px auto;
  width: 100%;
  max-width: 1200px;
}

.pricing-card-single {
  display: flex;
  justify-content: center;
  margin: 48px auto;
}

.pricing-card-single .pricing-card {
  max-width: 500px;
  width: 100%;
}

.pricing-card {
  padding: 32px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(207, 216, 239, 0.3);
  position: relative;
  transition: all 180ms ease;
  display: flex;
  flex-direction: column;
}

.pricing-card:hover {
  border-color: rgba(106, 85, 248, 0.3);
  box-shadow: 0 12px 32px rgba(59, 80, 142, 0.12);
}

.pricing-card.highlighted {
  background: linear-gradient(135deg, rgba(106, 85, 248, 0.08), rgba(106, 85, 248, 0.04));
  border-color: rgba(106, 85, 248, 0.2);
  transform: scale(1.02);
}

.pricing-tag {
  position: absolute;
  top: -12px;
  right: 24px;
  background: linear-gradient(90deg, #6a55f8, #8b74ff);
  color: white;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.pricing-card h3 {
  margin: 16px 0 8px;
  font-size: 24px;
  font-weight: 700;
  color: #0f1d4c;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 16px 0 8px;
}

.pricing-price .amount {
  font-size: 28px;
  font-weight: 700;
  color: #6a55f8;
}

.pricing-price .period {
  font-size: 14px;
  color: #5b6987;
}

.pricing-subtitle {
  margin: 0 0 24px;
  font-size: 14px;
  color: #5b6987;
}

.pricing-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  flex: 1;
}

.pricing-bullets li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  font-size: 14px;
  color: #0c1735;
}

.pricing-bullets svg {
  color: #6a55f8;
  flex-shrink: 0;
}

.pricing-btn {
  display: block;
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  background: linear-gradient(90deg, #6a55f8, #8b74ff);
  color: white;
  text-align: center;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  transition: all 180ms ease;
  border: none;
  cursor: pointer;
}

.pricing-btn:hover {
  box-shadow: 0 12px 32px rgba(106, 85, 248, 0.3);
  transform: translateY(-2px);
}

/* Section Heading Fixes */
.section-heading {
  max-width: 820px;
  margin: 0 auto 42px;
  text-align: center;
  padding: 0 24px;
}

.section-heading .section-kicker {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6a55f8;
  margin-bottom: 12px;
}

.section-heading h2 {
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 800;
  color: #0f1d4c;
  margin: 0;
  line-height: 1.2;
}

.section-heading p {
  margin: 12px auto 0;
  font-size: 16px;
  color: #5b6987;
  line-height: 1.6;
}

/* CTA Section Fixes */
.cta-section {
  text-align: center;
  padding: 80px 40px;
  margin: 80px 24px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(106, 85, 248, 0.08), rgba(106, 85, 248, 0.04));
  border: 1px solid rgba(106, 85, 248, 0.15);
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.cta-section h2 {
  margin: 0 0 12px;
  font-size: clamp(32px, 6vw, 48px);
  font-weight: 800;
  color: #0f1d4c;
}

.cta-section p {
  margin: 0 0 32px;
  font-size: 18px;
  color: #5b6c8f;
}

/* Testimonials Section */
.testimonials-section {
  padding: 0 24px;
  margin-bottom: 60px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.testimonial-card {
  padding: 32px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(106, 85, 248, 0.1);
  border-radius: 16px;
  transition: all 180ms ease;
}

.testimonial-card:hover {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(106, 85, 248, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(59, 80, 142, 0.12);
}

.testimonial-stars {
  font-size: 18px;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.testimonial-text {
  font-size: 16px;
  line-height: 1.6;
  color: #0c1735;
  margin: 0 0 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6a55f8, #8b74ff);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 16px;
}

.author-info {
  display: flex;
  flex-direction: column;
}

.author-info strong {
  color: #0c1735;
  font-size: 15px;
  margin-bottom: 2px;
}

.author-info span {
  color: #5b6987;
  font-size: 13px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}

/* Disable scroll-reveal animations on mobile - they add nothing on small screens
   and hurt perceived speed / battery. Make animated elements immediately visible. */
@media (max-width: 900px) {
  .fade-in-up,
  .slide-in-left,
  .slide-in-right,
  .slide-in-bottom,
  .scale-in,
  .scale-in-pop {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }

  .fade-in-up.visible,
  .slide-in-left.visible,
  .slide-in-right.visible,
  .slide-in-bottom.visible,
  .scale-in.visible,
  .scale-in-pop.visible {
    animation: none !important;
    transform: none !important;
  }
}

/* --- Pages légales (même charte que le site) --- */
.legal-doc-page .legal-skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.legal-doc-page .legal-skip-link:focus {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 10000;
  width: auto;
  height: auto;
  padding: 12px 18px;
  background: var(--button);
  color: #fff;
  border-radius: 12px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(106, 85, 248, 0.35);
}

.legal-doc-page .legal-doc-updated {
  margin: 18px 0 0;
  font-size: 14px;
  font-weight: 600;
  color: #40557f;
}

.legal-doc-page .legal-updated-line {
  margin: 18px 0 0;
  font-size: 13px;
  color: #6a7088;
  font-style: italic;
}

.legal-doc-page .legal-retraction-form {
  margin: 18px 0 0;
  padding: 22px 24px;
  background: #f4f5fb;
  border: 1px solid rgba(106, 85, 248, 0.18);
  border-radius: 12px;
  font-family: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, monospace;
  font-size: 13.5px;
  line-height: 1.7;
  color: #2a3147;
  white-space: pre-wrap;
}

.legal-doc-page .legal-callout {
  margin: 18px 0 0;
  padding: 16px 20px;
  background: rgba(245, 158, 11, 0.08);
  border-left: 3px solid #f59e0b;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.6;
  color: #4a3a17;
}

.legal-doc-panel-section {
  padding: 0 20px 96px;
  max-width: 1280px;
  margin: 0 auto;
}

.legal-doc-inner {
  display: grid;
  grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

@media (max-width: 900px) {
  .legal-doc-inner {
    grid-template-columns: 1fr;
  }

  .legal-doc-page .legal-toc-wrap {
    position: relative;
    top: 0;
  }
}

.legal-doc-page .legal-toc-wrap {
  position: sticky;
  top: 24px;
}

.legal-doc-page .legal-toc {
  background: var(--card-solid);
  border: 1px solid rgba(106, 85, 248, 0.14);
  border-radius: 20px;
  padding: 22px;
  box-shadow: var(--shadow);
}

.legal-doc-page .legal-toc-title {
  margin: 0 0 14px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.legal-doc-page .legal-toc-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.legal-doc-page .legal-toc-list a {
  display: block;
  padding: 9px 11px;
  border-radius: 10px;
  color: var(--nav);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.legal-doc-page .legal-toc-list a:hover {
  background: var(--line-soft);
  color: var(--line);
}

.legal-doc-card {
  background: var(--card-solid);
  border: 1px solid rgba(106, 85, 248, 0.12);
  border-radius: 24px;
  padding: clamp(24px, 4vw, 44px);
  box-shadow: var(--shadow);
  min-width: 0;
}

.legal-doc-page .legal-disclaimer {
  margin: 0 0 28px;
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid rgba(234, 179, 8, 0.4);
  background: rgba(254, 243, 199, 0.45);
  color: #713f12;
  font-size: 14px;
  line-height: 1.55;
}

.legal-doc-page .legal-disclaimer strong {
  color: #422006;
}

.legal-doc-page .legal-section {
  scroll-margin-top: 96px;
  padding-bottom: 32px;
  margin-bottom: 8px;
  border-bottom: 1px solid rgba(84, 100, 147, 0.14);
}

.legal-doc-page .legal-section:last-of-type {
  border-bottom: none;
}

.legal-doc-page .legal-h2 {
  margin: 0 0 16px;
  font-size: 1.28rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0f1d4c;
}

.legal-doc-page .legal-h3 {
  margin: 26px 0 10px;
  font-size: 1.05rem;
  font-weight: 700;
  color: #0c1735;
}

.legal-doc-page .legal-section-body p {
  margin: 0 0 14px;
  color: #5b6987;
  font-size: 15px;
  line-height: 1.65;
}

.legal-doc-page .legal-section-body p strong,
.legal-doc-page .legal-section-body li strong {
  color: var(--ink);
}

.legal-doc-page .legal-section-body ul,
.legal-doc-page .legal-section-body ol {
  margin: 0 0 16px;
  padding-left: 1.25rem;
  color: #5b6987;
  font-size: 15px;
  line-height: 1.6;
}

.legal-doc-page .legal-section-body li {
  margin-bottom: 8px;
}

.legal-doc-page .legal-section-body a {
  color: var(--button);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-doc-page .legal-section-body a:hover {
  color: var(--button-2);
}

.legal-doc-page .legal-doc-back {
  margin-top: 40px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.legal-doc-page .legal-footer-note {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid rgba(84, 100, 147, 0.14);
  font-size: 13px;
  line-height: 1.65;
  color: #5b6987;
}

.legal-doc-page .legal-footer-note a {
  color: var(--button);
  font-weight: 600;
  text-decoration: none;
}

.legal-doc-page .legal-footer-note a:hover {
  text-decoration: underline;
}

/* Blog */
.blog-listing {
  width: min(1160px, calc(100% - 40px));
  margin: 72px auto 96px;
}

.blog-color-panels {
  margin: 0 0 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.blog-panel {
  border-radius: 16px;
  padding: 14px;
  border: 1px solid transparent;
  box-shadow: 0 10px 28px rgba(59, 80, 142, 0.1);
}

.blog-panel svg {
  margin-bottom: 8px;
}

.blog-panel strong {
  display: block;
  color: #0f1d4c;
  margin-bottom: 6px;
  font-size: 14px;
}

.blog-panel p {
  margin: 0;
  font-size: 13px;
  color: #4b5c83;
  line-height: 1.5;
}

.blog-panel-violet {
  border-color: rgba(124, 92, 253, 0.3);
  background: linear-gradient(135deg, rgba(124, 92, 253, 0.16), rgba(255, 255, 255, 0.94));
}

.blog-panel-blue {
  border-color: rgba(59, 130, 246, 0.3);
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.14), rgba(255, 255, 255, 0.94));
}

.blog-panel-amber {
  border-color: rgba(245, 158, 11, 0.34);
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.16), rgba(255, 255, 255, 0.94));
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.blog-card {
  border-radius: 22px;
  border: 1px solid rgba(106, 85, 248, 0.14);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 46px rgba(59, 80, 142, 0.12);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.blog-card-featured {
  border-color: rgba(106, 85, 248, 0.25);
  background:
    linear-gradient(180deg, rgba(124, 92, 253, 0.08), rgba(255, 255, 255, 0.92) 34%),
    rgba(255, 255, 255, 0.92);
}

.blog-card-image-link {
  display: block;
}

.blog-card-image {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}

.blog-card-body {
  padding: 22px;
}

.blog-meta {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(106, 85, 248, 0.2);
  color: #3e2eb1;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.blog-card h3 {
  margin: 14px 0 10px;
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.blog-card h3 a {
  color: #0f1d4c;
  text-decoration: none;
}

.blog-card p {
  margin: 0;
  color: #5b6987;
  line-height: 1.7;
  font-size: 16px;
}

.blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: #4d3df3;
  text-decoration: none;
  font-weight: 700;
}

.blog-post-layout {
  width: min(920px, calc(100% - 40px));
  margin: 58px auto 96px;
}

.blog-post-banner {
  width: 100%;
  border-radius: 24px;
  border: 1px solid rgba(106, 85, 248, 0.16);
  box-shadow: 0 20px 54px rgba(59, 80, 142, 0.14);
  display: block;
}

.blog-post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 24px;
}

.blog-post-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(106, 85, 248, 0.15);
  background: rgba(255, 255, 255, 0.7);
  padding: 6px 12px;
  color: #32497a;
  font-size: 13px;
  font-weight: 600;
}

.blog-post-content {
  padding: clamp(22px, 4vw, 40px);
  border-radius: 24px;
  border: 1px solid rgba(106, 85, 248, 0.14);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 24px 58px rgba(59, 80, 142, 0.12);
}

.blog-post-content h2 {
  margin: 34px 0 12px;
  font-size: clamp(27px, 3.2vw, 38px);
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #0f1d4c;
}

.blog-post-content h3 {
  margin: 24px 0 10px;
  font-size: clamp(21px, 2.4vw, 28px);
  color: #102254;
}

.blog-post-content p,
.blog-post-content li {
  color: #4b5c83;
  font-size: 17px;
  line-height: 1.75;
}

.blog-post-content ul {
  margin: 0 0 14px;
  padding-left: 1.2rem;
}

.blog-highlight-card,
.blog-promo-box,
.blog-note {
  margin: 26px 0 10px;
  border-radius: 20px;
  border: 1px solid rgba(106, 85, 248, 0.15);
  background: rgba(246, 248, 255, 0.92);
  padding: 16px 18px 16px 16px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  box-shadow: 0 14px 30px rgba(59, 80, 142, 0.1);
}

.blog-highlight-card p,
.blog-promo-box p,
.blog-note p {
  margin: 0;
}

.blog-highlight-card-violet {
  border-color: rgba(124, 92, 253, 0.3);
  background: linear-gradient(135deg, rgba(124, 92, 253, 0.16), rgba(255, 255, 255, 0.94));
}

.blog-highlight-card-blue {
  border-color: rgba(59, 130, 246, 0.32);
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.14), rgba(255, 255, 255, 0.95));
}

.blog-highlight-card-amber {
  border-color: rgba(245, 158, 11, 0.35);
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.16), rgba(255, 255, 255, 0.95));
}

.blog-promo-box-emerald {
  border-color: rgba(16, 185, 129, 0.38);
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.17), rgba(255, 255, 255, 0.96));
}

.blog-note-rose {
  border-color: rgba(225, 29, 72, 0.3);
  background: linear-gradient(135deg, rgba(225, 29, 72, 0.14), rgba(255, 255, 255, 0.96));
}

.blog-inline-cta {
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #4d3df3;
  text-decoration: none;
  font-weight: 700;
}

.blog-post-actions {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.blog-checklist {
  margin-top: 26px;
  border: 1px solid rgba(106, 85, 248, 0.18);
  border-radius: 18px;
  padding: 16px 16px 10px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.11), rgba(255, 255, 255, 0.95));
}

.blog-checklist h3 {
  margin: 0 0 10px;
}

.blog-checklist ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.blog-checklist li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.blog-command-card {
  margin: 14px 0 16px;
  padding: 18px 22px;
  border-radius: 14px;
  border: 1px solid rgba(124, 140, 179, 0.42);
  background: linear-gradient(135deg, #151b2d 0%, #1e2638 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 12px 28px rgba(11, 14, 24, 0.24);
  overflow-x: auto;
}

.blog-command-card code {
  display: block;
  margin: 0;
  color: #f2f6ff;
  font-family: 'JetBrains Mono', 'Fira Code', Consolas, 'Cascadia Code', Monaco, monospace;
  font-size: clamp(13px, 1.35vw, 17px);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.45;
  white-space: nowrap;
}

@media (max-width: 980px) {
  .blog-listing,
  .blog-post-layout {
    width: calc(100% - 24px);
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .blog-color-panels {
    grid-template-columns: 1fr;
  }

  .blog-card h3 {
    font-size: 24px;
  }
}

@media (max-width: 768px) {
  .blog-listing {
    margin-top: 54px;
  }

  .blog-post-layout {
    margin-top: 48px;
  }

  .blog-card-image {
    height: 180px;
  }

  .blog-post-content p,
  .blog-post-content li {
    font-size: 15px;
  }
}

/* Blog Catalog Redesign */
.blog-page {
  background: #e9edf2;
}

.blog-page main {
  padding-bottom: 72px;
}

.blog-hero-band {
  position: relative;
  min-height: 196px;
  padding: 92px 24px 64px;
  border-bottom-left-radius: 50% 24%;
  border-bottom-right-radius: 50% 24%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  text-align: center;
  background:
    url('/assets/jeu.jpg') center 24% / cover no-repeat,
    linear-gradient(120deg, rgba(7, 16, 41, 0.86), rgba(8, 22, 54, 0.78));
}

.blog-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 14, 31, 0.6) 0%, rgba(8, 14, 31, 0.4) 68%, rgba(8, 14, 31, 0.2) 100%);
}

.blog-hero-band p {
  margin: 0;
  position: relative;
  z-index: 1;
  color: #f8fbff;
  font-size: clamp(18px, 1.8vw, 31px);
  line-height: 1.35;
  font-weight: 600;
  max-width: 1080px;
}

.blog-catalog {
  width: min(1120px, calc(100% - 36px));
  margin: 40px auto 0;
}

.blog-sort-row {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.blog-sort-row > span {
  color: #4e596e;
  font-size: 16px;
  font-weight: 600;
}

.sort-chip {
  border-radius: 999px;
  border: 1px solid rgba(10, 163, 126, 0.32);
  background: #f5f9f8;
  color: #0f8f71;
  padding: 8px 14px;
  min-height: 38px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.sort-chip.active {
  background: #09a883;
  border-color: #09a883;
  color: #ffffff;
}

.blog-filter-row {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(0, 0.8fr) minmax(0, 0.8fr);
  gap: 12px;
  margin-bottom: 20px;
}

.blog-filter-row input,
.blog-filter-row select {
  width: 100%;
  height: 42px;
  border: 1px solid #ccd3dc;
  border-radius: 6px;
  background: #f2f4f7;
  color: #354056;
  padding: 0 12px;
  font-size: 17px;
  font-weight: 500;
}

.blog-filter-row input {
  border-color: #00b48c;
  box-shadow: 0 0 0 1px rgba(0, 180, 140, 0.1) inset;
}

.blog-filter-row input::placeholder {
  color: #818a9a;
}

.blog-post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.blog-post-card {
  background: #ffffff;
  border: 1px solid #d7dde5;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(36, 49, 77, 0.08);
  overflow: hidden;
}

.blog-post-card-cover-link {
  display: block;
  padding: 10px 10px 0;
}

.blog-post-card-cover {
  width: 100%;
  height: 118px;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}

.blog-post-card-body {
  padding: 10px 12px 12px;
}

.blog-post-card h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: #1f2838;
}

.blog-post-card h3 a {
  color: inherit;
  text-decoration: none;
}

.blog-post-card-meta {
  margin: 9px 0 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  color: #4d5a70;
  font-size: 13px;
  font-weight: 600;
}

.blog-post-card-meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.blog-post-card p {
  margin: 0;
  color: #455166;
  line-height: 1.48;
  font-size: 15px;
}

.blog-post-card-footer {
  margin-top: 11px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.blog-stats {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #14977b;
  font-size: 14px;
  font-weight: 700;
}

.blog-stats span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.blog-card-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #4a3cf0;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}

@media (max-width: 1180px) {
  .blog-post-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .blog-hero-band {
    min-height: 176px;
    padding: 88px 14px 54px;
  }

  .blog-catalog {
    width: calc(100% - 18px);
    margin-top: 28px;
  }

  .blog-sort-row {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .blog-filter-row {
    grid-template-columns: 1fr;
  }

  .blog-post-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .blog-hero-band {
    border-bottom-left-radius: 48% 18%;
    border-bottom-right-radius: 48% 18%;
  }
}

/* Mobile and tablet layout hardening */
@media (max-width: 980px) {
  .topbar {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    width: calc(100% - 24px);
    min-height: auto;
    padding: 14px 0 8px;
    gap: 12px;
    flex-wrap: wrap;
  }

  .brand-text {
    font-size: 24px;
  }

  .nav {
    order: 3;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 10px;
  }

  .nav > a,
  .nav > details {
    width: 100%;
  }

  .nav a,
  .nav-dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(4px);
  }

  .top-actions {
    order: 4;
    width: 100%;
    margin-left: 0;
    gap: 8px;
    justify-content: stretch;
  }

  .top-actions .pill {
    flex: 1 1 0;
    min-width: 0;
  }

  .nav-dropdown-menu-grid {
    position: static;
    top: auto;
    left: auto;
    right: auto;
    width: 100%;
    max-height: none;
    margin-top: 10px;
    padding: 6px;
    border-radius: 12px;
  }

  .nav-dropdown-list {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .nav-dropdown-item-desc {
    font-size: 12px;
  }

  .hero-shell {
    min-height: auto;
    padding: 42px 16px 64px;
  }

  .hero-shell h1 {
    font-size: clamp(36px, 10vw, 56px);
    line-height: 1.08;
    letter-spacing: -0.05em;
  }

  .hero-subtitle {
    margin-top: 18px;
    font-size: 15px;
  }

  .hero-side-mascot {
    right: 22px;
    width: clamp(126px, 18vw, 180px);
    transform: translateY(-34%);
  }

  .hero-actions {
    width: 100%;
    justify-content: center;
  }

  .hero-cta {
    min-width: 160px;
  }

  .trust-strip,
  .services-preview,
  .journey-section,
  .pricing-grid,
  .locations-section,
  .features-section,
  .features-grid,
  .faq-section,
  .footer-inner {
    width: calc(100% - 24px);
  }

  .services-preview,
  .pricing-grid,
  .locations-section,
  .features-section,
  .faq-section,
  .testimonials-section {
    margin-top: 68px;
    padding-left: 0;
    padding-right: 0;
  }

  .trust-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 12px;
    border-radius: 20px;
  }

  .trust-strip-item {
    border-right: none !important;
    padding: 18px 14px;
    text-align: left;
  }

  .trust-strip-item:nth-child(odd) {
    border-right: 1px solid rgba(84, 100, 147, 0.2) !important;
  }

  .section-heading {
    margin-bottom: 28px;
    padding: 0 4px;
  }

  .section-heading h2 {
    font-size: clamp(28px, 8vw, 40px);
  }

  .section-heading p {
    font-size: 15px;
  }

  .services-mosaic,
  .pricing-cards,
  .features-grid,
  .feature-cards,
  .faq-cards,
  .testimonials-grid,
  .tech-stack-mosaic {
    grid-template-columns: 1fr !important;
  }

  .services-mosaic {
    gap: 12px;
  }

  .pricing-cards {
    gap: 14px;
  }

  .pricing-card.highlighted {
    transform: none;
  }

  .service-card,
  .pricing-card,
  .feature-card,
  .faq-card,
  .location-card,
  .journey-card,
  .testimonial-card {
    padding: 20px;
    border-radius: 18px;
  }

  .services-tile,
  .services-tile-security,
  .services-tile-support,
  .services-tile-dashboard,
  .services-tile-eco,
  .services-tile-performance,
  .dedicated-tile-blue,
  .dedicated-tile-orange,
  .dedicated-tile-purple,
  .dedicated-tile-green,
  .dedicated-tile-teal,
  .dedicated-tile-indigo {
    grid-column: auto !important;
    grid-row: auto !important;
    min-height: auto;
  }

  .services-tile-dashboard img {
    max-height: 180px;
    max-width: 60%;
  }

  .services-tile h3 {
    font-size: 24px;
  }

  .tech-stack-tile,
  .tech-stack-cpu,
  .tech-stack-connectivity,
  .tech-stack-storage-tile,
  .tech-stack-memory,
  .tech-stack-redundancy,
  .tech-stack-security,
  .tech-stack-cooling {
    grid-column: auto !important;
    grid-row: auto !important;
    min-height: auto;
    text-align: left;
  }

  .tech-stack-cooling {
    align-items: flex-start;
  }

  .eco-container {
    grid-template-columns: 1fr !important;
    padding: 24px 18px;
  }

  .eco-left,
  .eco-right {
    display: none;
  }

  .eco-content h2 {
    font-size: clamp(28px, 8vw, 40px);
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (max-width: 768px) {
  .topbar {
    width: calc(100% - 16px);
    padding-top: 12px;
  }

  .nav {
    grid-template-columns: 1fr;
  }

  .nav a,
  .nav-dropdown-toggle {
    justify-content: flex-start;
    padding: 11px 14px;
  }

  .top-actions {
    flex-direction: column;
  }

  .top-actions .pill {
    width: 100%;
  }

  .hero-shell {
    padding: 28px 12px 52px;
  }

  .hero-shell h1 {
    font-size: clamp(32px, 11vw, 44px);
  }

  .hero-kicker {
    font-size: 11px;
  }

  .hero-side-mascot {
    display: none;
  }

  .trust-strip {
    grid-template-columns: 1fr;
  }

  .trust-strip-item {
    border-right: none !important;
  }

  .trust-strip-item:nth-child(odd) {
    border-right: none !important;
  }

  .services-preview,
  .pricing-grid,
  .locations-section,
  .features-section,
  .faq-section,
  .testimonials-section {
    margin-top: 52px;
  }

  .features-grid {
    gap: 16px;
    margin-top: 24px;
  }

  .pricing-amount {
    font-size: 30px;
  }

  .footer-inner {
    width: calc(100% - 16px);
  }
}

@media (max-width: 560px) {
  .hero-subtitle {
    font-size: 14px;
  }

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

  .section-heading p {
    font-size: 14px;
  }

  .pricing-card h3 {
    font-size: 20px;
  }

  .nav-dropdown-menu-grid {
    padding: 4px;
  }

  .nav-dropdown-item {
    padding: 10px;
  }
}

/* ==========================================================================
   DARK MODE OVERRIDES
   ========================================================================== */

/* ---------- Topbar / nav ---------- */

[data-theme="dark"] .topbar .nav a,
[data-theme="dark"] .topbar .nav-dropdown-toggle {
  color: rgba(232, 236, 247, 0.92);
  text-shadow: 0 6px 18px rgba(0, 0, 0, 0.55);
}

[data-theme="dark"] .brand,
[data-theme="dark"] .brand-text {
  color: #ffffff;
  text-shadow: 0 8px 22px rgba(0, 0, 0, 0.6);
}


/* ---------- Nav dropdown ---------- */

[data-theme="dark"] .nav-dropdown-menu-grid {
  background: #0b0d14;
  border-color: rgba(255, 255, 255, 0.06);
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.3),
    0 8px 24px rgba(0, 0, 0, 0.5),
    0 24px 56px rgba(0, 0, 0, 0.4);
}


/* ---------- Hero ---------- */

[data-theme="dark"] .hero-shell {
  background:
    linear-gradient(180deg, #010104 0%, #04031a 18%, #100735 40%, #0d0a30 74%, #050616 88%, #03040a 100%);
}

[data-theme="dark"] .hero-shell::after {
  background: linear-gradient(
    180deg,
    rgba(3, 4, 10, 0) 0%,
    rgba(3, 4, 10, 0.5) 30%,
    rgba(3, 4, 10, 0.9) 64%,
    rgba(3, 4, 10, 1) 100%
  );
}

[data-theme="dark"] .hero-shell h1 {
  color: #ffffff;
}

[data-theme="dark"] .hero-subtitle {
  color: #c0c5d8;
}

[data-theme="dark"] .hero-kicker,
[data-theme="dark"] .section-kicker,
[data-theme="dark"] .feature-chip,
[data-theme="dark"] .card-kicker {
  background: rgba(255, 255, 255, 0.08);
  color: #e8ecf7;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* ---------- Trust strip ---------- */

[data-theme="dark"] .trust-strip {
  background: linear-gradient(180deg, rgba(8, 10, 18, 0.92), rgba(4, 6, 12, 0.96));
  border: 1px solid rgba(138, 118, 255, 0.18);
  box-shadow:
    0 22px 52px rgba(0, 0, 0, 0.65),
    0 2px 0 rgba(255, 255, 255, 0.03) inset,
    0 0 0 1px rgba(138, 118, 255, 0.08) inset;
}

[data-theme="dark"] .trust-strip::before,
[data-theme="dark"] .trust-strip::after {
  background: transparent;
  filter: none;
}

[data-theme="dark"] .trust-strip-item:not(:last-child) {
  border-right-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .trust-strip-item strong {
  color: #f2f4fb;
}

[data-theme="dark"] .trust-strip-item span {
  color: #9aa3c0;
}

/* ---------- Section headings ---------- */

[data-theme="dark"] .hero-shell h1,
[data-theme="dark"] .section-heading h2 {
  color: #f2f4fb;
}

[data-theme="dark"] .section-heading p,
[data-theme="dark"] .services-copy p,
[data-theme="dark"] .pricing-grid > p,
[data-theme="dark"] .location-card p,
[data-theme="dark"] .faq-card p,
[data-theme="dark"] .journey-card p,
[data-theme="dark"] .network-copy span {
  color: #9aa3c0;
}

[data-theme="dark"] .section-heading .section-kicker {
  color: #b8a9ff;
  background: transparent;
  border: none;
}

/* ---------- Services preview ---------- */

[data-theme="dark"] .services-preview::before {
  background: transparent;
  filter: none;
}

[data-theme="dark"] .services-preview::after {
  background:
    radial-gradient(36% 46% at 22% 64%, rgba(138, 118, 255, 0.08), transparent 72%),
    radial-gradient(36% 46% at 76% 64%, rgba(138, 118, 255, 0.05), transparent 72%);
}

[data-theme="dark"] .services-heading h2 {
  color: #f2f4fb;
}

[data-theme="dark"] .services-heading p {
  color: #9aa3c0;
}

[data-theme="dark"] .services-tile {
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .services-tile h3 {
  color: #f2f4fb;
}

[data-theme="dark"] .services-tile p {
  color: #b0bad6;
}

[data-theme="dark"] .services-tile-security {
  background: #080a16;
}

[data-theme="dark"] .services-tile-support {
  background: #0e0b06;
}

[data-theme="dark"] .services-tile-dashboard {
  background: #0c127a;
}

[data-theme="dark"] .services-tile-dashboard h3,
[data-theme="dark"] .services-tile-dashboard p {
  color: #ffffff;
}

[data-theme="dark"] .services-tile-eco {
  background: #061412;
}

[data-theme="dark"] .services-tile-performance {
  background: #080a16;
}

[data-theme="dark"] .services-tech-badges span {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  color: #c5cce0;
}

[data-theme="dark"] .services-tile:hover {
  border-color: rgba(138, 118, 255, 0.3);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
}

/* ---------- Service cards / Pricing cards (uses --card var, mostly handled) ---------- */

[data-theme="dark"] .service-card,
[data-theme="dark"] .pricing-card,
[data-theme="dark"] .feature-card,
[data-theme="dark"] .why-card,
[data-theme="dark"] .network-panel {
  border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .pricing-card {
  background: rgba(8, 10, 18, 0.85);
  border-color: rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .pricing-card:hover {
  border-color: rgba(138, 118, 255, 0.4);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.7);
}

[data-theme="dark"] .pricing-card.highlighted {
  border-color: rgba(138, 118, 255, 0.4);
  background: linear-gradient(135deg, rgba(138, 118, 255, 0.16), rgba(8, 10, 18, 0.92));
}

[data-theme="dark"] .pricing-card h3,
[data-theme="dark"] .service-card h3,
[data-theme="dark"] .feature-card h3 {
  color: #f2f4fb;
}

[data-theme="dark"] .pricing-amount {
  color: #f2f4fb;
}

[data-theme="dark"] .pricing-amount span,
[data-theme="dark"] .pricing-price .period,
[data-theme="dark"] .pricing-subtitle {
  color: #9aa3c0;
}

[data-theme="dark"] .pricing-price .amount {
  color: #b8a9ff;
}

[data-theme="dark"] .pricing-bullets li {
  color: #d4dae8;
}

[data-theme="dark"] .pricing-bullets svg {
  color: #b8a9ff;
}

[data-theme="dark"] .service-card li,
[data-theme="dark"] .pricing-card li {
  color: #d4dae8;
}

[data-theme="dark"] .service-card-featured {
  background:
    radial-gradient(circle at top right, rgba(138, 118, 255, 0.16), transparent 32%),
    rgba(8, 10, 18, 0.9);
}

/* ---------- Feature items ---------- */

[data-theme="dark"] .feature-item h3 {
  color: #f2f4fb;
}

[data-theme="dark"] .feature-item p {
  color: #9aa3c0;
}

[data-theme="dark"] .feature-card {
  background: rgba(8, 10, 18, 0.75);
  border-color: rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .feature-card:hover {
  background: rgba(14, 16, 26, 0.88);
  border-color: rgba(138, 118, 255, 0.4);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.7);
}

[data-theme="dark"] .feature-icon-box {
  background: linear-gradient(135deg, rgba(138, 118, 255, 0.22), rgba(138, 118, 255, 0.08));
  color: #b8a9ff;
}

/* ---------- Docs timeline ---------- */

[data-theme="dark"] .step-content h3 {
  color: #f2f4fb;
}

[data-theme="dark"] .step-subtitle {
  color: #c0c5d8;
}

[data-theme="dark"] .step-description {
  color: #9aa3c0;
}

[data-theme="dark"] .step-badge {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

/* ---------- Tech stack ---------- */

[data-theme="dark"] .tech-stack-item,
[data-theme="dark"] .tech-stack-tile {
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.45);
}

[data-theme="dark"] .tech-stack-item h3,
[data-theme="dark"] .tech-stack-tile h3 {
  color: #f2f4fb;
}

[data-theme="dark"] .tech-stack-item p,
[data-theme="dark"] .tech-stack-tile p {
  color: #b0bad6;
}

[data-theme="dark"] .tech-stack-item:nth-child(1) {
  background: linear-gradient(135deg, #080b18 0%, #0c081a 100%);
}

[data-theme="dark"] .tech-stack-item:nth-child(2) {
  background: linear-gradient(135deg, #16080a 0%, #14080d 100%);
}

[data-theme="dark"] .tech-stack-item:nth-child(3) {
  background: linear-gradient(135deg, #0e0b06 0%, #14080d 100%);
}

[data-theme="dark"] .tech-stack-item:nth-child(4) {
  background: linear-gradient(135deg, #080b18 0%, #08111a 100%);
}

[data-theme="dark"] .tech-stack-cpu {
  background: #080a16;
}

[data-theme="dark"] .tech-stack-connectivity {
  background: #0e0b06;
}

[data-theme="dark"] .tech-stack-storage-tile {
  background: #0c127a;
}

[data-theme="dark"] .tech-stack-memory {
  background: #061412;
}

[data-theme="dark"] .tech-stack-redundancy {
  background: #0a0916;
}

[data-theme="dark"] .tech-stack-security {
  background: #16080a;
}

[data-theme="dark"] .tech-stack-cooling {
  background: #061410;
}

[data-theme="dark"] .tech-spec {
  background: rgba(138, 118, 255, 0.08);
  border-left-color: rgba(138, 118, 255, 0.4);
}

[data-theme="dark"] .tech-label {
  color: #9aa3c0;
}

[data-theme="dark"] .tech-value {
  color: #f2f4fb;
}

[data-theme="dark"] .network-copy strong {
  color: #f2f4fb;
}

[data-theme="dark"] .network-panel {
  background:
    radial-gradient(circle at 50% 35%, rgba(138, 118, 255, 0.16), transparent 24%),
    linear-gradient(180deg, rgba(8, 10, 18, 0.92), rgba(4, 6, 12, 0.96));
}

/* ---------- Eco section ---------- */

[data-theme="dark"] .eco-section {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.05), rgba(16, 185, 129, 0.01));
}

[data-theme="dark"] .eco-content h2 {
  color: #f2f4fb;
}

[data-theme="dark"] .eco-feature strong {
  color: #f2f4fb;
}

[data-theme="dark"] .eco-feature p {
  color: #9aa3c0;
}

[data-theme="dark"] .eco-content p {
  color: #b0bad6;
}

[data-theme="dark"] .eco-button {
  background: rgba(16, 185, 129, 0.08);
  color: #34d399;
  border-color: #10b981;
}

[data-theme="dark"] .eco-button:hover {
  background: #10b981;
  color: #0a0e22;
}

/* ---------- FAQ cards ---------- */

[data-theme="dark"] .faq-card {
  background: rgba(8, 10, 18, 0.85);
  border-color: rgba(255, 255, 255, 0.06);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.65);
}

[data-theme="dark"] .faq-card:hover {
  background: rgba(14, 16, 26, 0.95);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.75);
}

[data-theme="dark"] .faq-card h3 {
  color: #f2f4fb;
}

[data-theme="dark"] .faq-card p {
  color: #b0bad6;
}

[data-theme="dark"] .faq-card-icon {
  background: linear-gradient(135deg, rgba(138, 118, 255, 0.22), rgba(138, 118, 255, 0.08));
  color: #b8a9ff;
}

/* ---------- Journey / Location cards ---------- */

[data-theme="dark"] .journey-card,
[data-theme="dark"] .location-card {
  background: rgba(8, 10, 18, 0.85);
  border-color: rgba(255, 255, 255, 0.06);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.65);
}

[data-theme="dark"] .location-card h3,
[data-theme="dark"] .faq-card h3,
[data-theme="dark"] .journey-card h3 {
  color: #f2f4fb;
}

[data-theme="dark"] .journey-step {
  background: rgba(138, 118, 255, 0.18);
  color: #b8a9ff;
}

/* ---------- Testimonials ---------- */

[data-theme="dark"] .testimonial-card {
  background: rgba(8, 10, 18, 0.82);
  border-color: rgba(138, 118, 255, 0.16);
}

[data-theme="dark"] .testimonial-card:hover {
  background: rgba(14, 16, 26, 0.95);
  border-color: rgba(138, 118, 255, 0.4);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.75);
}

[data-theme="dark"] .testimonial-text {
  color: #d4dae8;
}

[data-theme="dark"] .author-info strong {
  color: #f2f4fb;
}

[data-theme="dark"] .author-info span {
  color: #9aa3c0;
}

/* ---------- Dedicated tiles (page /dedicated) ---------- */

[data-theme="dark"] .dedicated-tile-blue {
  background: #080a16 !important;
}

[data-theme="dark"] .dedicated-tile-orange {
  background: #0e0b06 !important;
}

[data-theme="dark"] .dedicated-tile-purple {
  background: #0c081a !important;
}

[data-theme="dark"] .dedicated-tile-green {
  background: #061412 !important;
}

[data-theme="dark"] .dedicated-tile-teal {
  background: #061212 !important;
}

[data-theme="dark"] .dedicated-tile-indigo {
  background: #0a0a18 !important;
}

/* ---------- Pages légales ---------- */

[data-theme="dark"] .legal-doc-page .legal-doc-updated {
  color: #9aa3c0;
}

[data-theme="dark"] .legal-doc-page .legal-toc {
  background: rgba(8, 10, 18, 0.92);
  border-color: rgba(138, 118, 255, 0.18);
}

[data-theme="dark"] .legal-doc-page .legal-toc-title {
  color: #9aa3c0;
}

[data-theme="dark"] .legal-doc-page .legal-toc-list a {
  color: #c5cce0;
}

[data-theme="dark"] .legal-doc-page .legal-toc-list a:hover {
  background: rgba(138, 118, 255, 0.16);
  color: #b8a9ff;
}

[data-theme="dark"] .legal-doc-card {
  background: rgba(8, 10, 18, 0.92);
  border-color: rgba(138, 118, 255, 0.16);
}

[data-theme="dark"] .legal-doc-page .legal-disclaimer {
  background: rgba(234, 179, 8, 0.08);
  border-color: rgba(234, 179, 8, 0.3);
  color: #fcd34d;
}

[data-theme="dark"] .legal-doc-page .legal-disclaimer strong {
  color: #fde68a;
}

[data-theme="dark"] .legal-doc-page .legal-section {
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .legal-doc-page .legal-h2,
[data-theme="dark"] .legal-doc-page .legal-h3 {
  color: #f2f4fb;
}

[data-theme="dark"] .legal-doc-page .legal-section-body p,
[data-theme="dark"] .legal-doc-page .legal-section-body ul,
[data-theme="dark"] .legal-doc-page .legal-section-body ol {
  color: #b0bad6;
}

[data-theme="dark"] .legal-doc-page .legal-footer-note {
  border-top-color: rgba(255, 255, 255, 0.08);
  color: #9aa3c0;
}

/* ---------- Blog ---------- */

[data-theme="dark"] .blog-page {
  background: #03040a;
}

[data-theme="dark"] .blog-panel {
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.7);
}

[data-theme="dark"] .blog-panel strong {
  color: #f2f4fb;
}

[data-theme="dark"] .blog-panel p {
  color: #b0bad6;
}

[data-theme="dark"] .blog-panel-violet {
  background: linear-gradient(135deg, rgba(124, 92, 253, 0.22), rgba(8, 10, 18, 0.86));
}

[data-theme="dark"] .blog-panel-blue {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(8, 10, 18, 0.86));
}

[data-theme="dark"] .blog-panel-amber {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.22), rgba(8, 10, 18, 0.86));
}

[data-theme="dark"] .blog-card {
  background: rgba(8, 10, 18, 0.78);
  border-color: rgba(138, 118, 255, 0.16);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .blog-card-featured {
  border-color: rgba(138, 118, 255, 0.32);
  background:
    linear-gradient(180deg, rgba(124, 92, 253, 0.16), rgba(8, 10, 18, 0.86) 34%),
    rgba(8, 10, 18, 0.86);
}

[data-theme="dark"] .blog-meta {
  border-color: rgba(138, 118, 255, 0.3);
  color: #b8a9ff;
}

[data-theme="dark"] .blog-card h3 a {
  color: #f2f4fb;
}

[data-theme="dark"] .blog-card p {
  color: #b0bad6;
}

[data-theme="dark"] .blog-read-more,
[data-theme="dark"] .blog-inline-cta,
[data-theme="dark"] .blog-card-link {
  color: #b8a9ff;
}

[data-theme="dark"] .blog-post-banner,
[data-theme="dark"] .blog-post-content {
  background: rgba(8, 10, 18, 0.85);
  border-color: rgba(138, 118, 255, 0.16);
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .blog-post-meta span {
  background: rgba(138, 118, 255, 0.1);
  border-color: rgba(138, 118, 255, 0.22);
  color: #c5cce0;
}

[data-theme="dark"] .blog-post-content h2,
[data-theme="dark"] .blog-post-content h3 {
  color: #f2f4fb;
}

[data-theme="dark"] .blog-post-content p,
[data-theme="dark"] .blog-post-content li {
  color: #b0bad6;
}

[data-theme="dark"] .blog-highlight-card,
[data-theme="dark"] .blog-promo-box,
[data-theme="dark"] .blog-note {
  background: rgba(8, 10, 18, 0.85);
  border-color: rgba(138, 118, 255, 0.18);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .blog-highlight-card-violet {
  background: linear-gradient(135deg, rgba(124, 92, 253, 0.22), rgba(8, 10, 18, 0.92));
}

[data-theme="dark"] .blog-highlight-card-blue {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(8, 10, 18, 0.92));
}

[data-theme="dark"] .blog-highlight-card-amber {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.22), rgba(8, 10, 18, 0.92));
}

[data-theme="dark"] .blog-promo-box-emerald {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.22), rgba(8, 10, 18, 0.94));
}

[data-theme="dark"] .blog-note-rose {
  background: linear-gradient(135deg, rgba(225, 29, 72, 0.2), rgba(8, 10, 18, 0.94));
}

[data-theme="dark"] .blog-checklist {
  border-color: rgba(138, 118, 255, 0.24);
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.16), rgba(8, 10, 18, 0.95));
}

/* Blog catalog redesign (lighter neutrals) */
[data-theme="dark"] .blog-page {
  background: #0a0e22;
}

[data-theme="dark"] .blog-sort-row > span {
  color: #9aa3c0;
}

[data-theme="dark"] .blog-filter-row input,
[data-theme="dark"] .blog-filter-row select {
  background: rgba(8, 10, 18, 0.78);
  border-color: rgba(138, 118, 255, 0.22);
  color: #e8ecf7;
}

[data-theme="dark"] .blog-filter-row input::placeholder {
  color: #6b7390;
}

[data-theme="dark"] .blog-post-card {
  background: rgba(8, 10, 18, 0.78);
  border-color: rgba(138, 118, 255, 0.16);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.45);
}

[data-theme="dark"] .blog-post-card h3 {
  color: #f2f4fb;
}

[data-theme="dark"] .blog-post-card-meta {
  color: #9aa3c0;
}

[data-theme="dark"] .blog-post-card p {
  color: #b0bad6;
}

[data-theme="dark"] .sort-chip {
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.3);
  color: #34d399;
}

[data-theme="dark"] .sort-chip.active {
  background: #09a883;
  color: #ffffff;
}

/* ---------- Mobile nav (dark) ---------- */

@media (max-width: 980px) {
  [data-theme="dark"] .nav a,
  [data-theme="dark"] .nav-dropdown-toggle {
    background: rgba(255, 255, 255, 0.06);
  }
}

/* ---------- CTA section ---------- */

[data-theme="dark"] .cta-section {
  background: linear-gradient(135deg, rgba(138, 118, 255, 0.16), rgba(8, 10, 18, 0.5));
  border-color: rgba(138, 118, 255, 0.22);
}

[data-theme="dark"] .cta-section h2 {
  color: #f2f4fb;
}

[data-theme="dark"] .cta-section p {
  color: #b0bad6;
}

/* ---------- Pricing tag (top-right badge) ---------- */

[data-theme="dark"] .pricing-tag {
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.5);
}

/* ---------- Services tile h3 in mobile (override hardcoded color) ---------- */

[data-theme="dark"] .services-tile h3,
[data-theme="dark"] .tech-stack-item h3,
[data-theme="dark"] .tech-stack-tile h3 {
  color: #f2f4fb;
}

[data-theme="dark"] .services-tile p,
[data-theme="dark"] .tech-stack-item p,
[data-theme="dark"] .tech-stack-tile p {
  color: #b0bad6;
}

/* Storage tile keeps light text on its blue background */
[data-theme="dark"] .tech-stack-storage-tile h3,
[data-theme="dark"] .tech-stack-storage-tile p {
  color: #ffffff;
}

/* ---------- Hero aurora - layered, asymmetric, grained ---------- */

[data-theme="dark"] .hero-aurora {
  background:
    /* Cool indigo glow, lower-right - secondary, smaller, recessed */
    radial-gradient(42% 36% at 74% 62%, rgba(99, 90, 222, 0.34) 0%, rgba(99, 90, 222, 0.14) 36%, transparent 70%),
    /* Warm violet primary glow, upper-left of center - main focal */
    radial-gradient(58% 46% at 38% 44%, rgba(174, 132, 255, 0.58) 0%, rgba(160, 112, 250, 0.30) 28%, rgba(112, 80, 215, 0.10) 54%, transparent 78%),
    /* Magenta whisper, very low intensity, top edge - chromatic variation */
    radial-gradient(48% 26% at 56% 12%, rgba(196, 110, 230, 0.16) 0%, rgba(196, 110, 230, 0.06) 40%, transparent 72%),
    /* Top atmospheric indigo wash */
    linear-gradient(180deg, rgba(28, 18, 64, 0.42) 0%, rgba(18, 12, 44, 0.22) 28%, transparent 56%),
    /* Bottom fade - integrates the aurora into the page bg */
    linear-gradient(180deg, transparent 0%, transparent 58%, rgba(3, 4, 10, 0.55) 82%, #03040a 100%);
  filter: blur(2px) saturate(1.08);
}

/* Edge vignette - focuses attention on the headline area */
[data-theme="dark"] .hero-aurora::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(72% 100% at 50% 48%, transparent 52%, rgba(3, 4, 10, 0.45) 100%);
  pointer-events: none;
}

/* SVG noise overlay - kills banding on the violet gradients */
[data-theme="dark"] .hero-aurora::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.5 0'/></filter><rect width='220' height='220' filter='url(%23n)'/></svg>");
  background-size: 220px 220px;
  opacity: 0.055;
  mix-blend-mode: overlay;
  pointer-events: none;
}

/* Kill any residual page-bg blooms */
[data-theme="dark"] body::before,
[data-theme="dark"] body::after {
  display: none !important;
}

/* ---------- Services story cards ---------- */

[data-theme="dark"] .services-track-item {
  background: linear-gradient(180deg, rgba(8, 10, 18, 0.72), rgba(4, 6, 12, 0.78));
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.45);
}

[data-theme="dark"] .services-track-item strong {
  color: #f2f4fb;
}

[data-theme="dark"] .services-track-item span {
  color: #b0bad6;
}

[data-theme="dark"] .services-showcase {
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 28px 54px rgba(0, 0, 0, 0.5);
  background:
    radial-gradient(78% 38% at 50% 8%, rgba(138, 118, 255, 0.16), transparent 66%),
    linear-gradient(180deg, rgba(8, 10, 18, 0.94) 0%, rgba(4, 6, 12, 0.95) 100%);
}

[data-theme="dark"] .services-showcase::before {
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.04), transparent 36%),
    radial-gradient(60% 50% at 80% 78%, rgba(138, 118, 255, 0.12), transparent 72%);
}

[data-theme="dark"] .services-showcase-image-wrap {
  background: #0c0e16;
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .services-showcase-stat {
  background: rgba(8, 10, 18, 0.85);
  border-color: rgba(138, 118, 255, 0.22);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .services-showcase-stat strong {
  color: #f2f4fb;
}

[data-theme="dark"] .services-showcase-stat span {
  color: #9aa3c0;
}

[data-theme="dark"] .services-showcase-foot span {
  background: rgba(8, 10, 18, 0.78);
  border-color: rgba(138, 118, 255, 0.2);
  color: #c5cce0;
}

/* ---------- Services tile dashboard image (logo) ---------- */

[data-theme="dark"] .services-tile-dashboard img {
  box-shadow: none;
  border-radius: 0;
  background: transparent;
  max-width: 55%;
  width: auto;
  margin: 24px auto 0;
  display: block;
  filter: drop-shadow(0 0 48px rgba(255, 255, 255, 0.35));
}

/* ---------- Mobile nav transparent bg in dark ---------- */

@media (max-width: 980px) {
  [data-theme="dark"] .topbar {
    background: transparent;
  }
}

/* ---------- Trustpilot wrapper styling ---------- */

.trustpilot-widget {
  border-radius: 8px;
  overflow: hidden;
  background: transparent;
}

[data-theme="dark"] .trustpilot-widget {
  display: none !important;
}

/* When the Trustpilot widget hasn't loaded yet, hide the fallback link's default styling */
.trustpilot-widget > a {
  color: inherit;
  text-decoration: none;
  font-size: 12px;
  opacity: 0.6;
}

/* ---------- Services list (editorial) ---------- */

.services-list {
  list-style: none;
  padding: 0;
  margin: 56px 0 0;
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(15, 29, 76, 0.12);
}

.services-list-row {
  display: block;
  border-bottom: 1px solid rgba(15, 29, 76, 0.12);
}

.services-list-link {
  --service-accent: #6a55f8;
  display: grid;
  grid-template-columns: 88px 1fr;
  align-items: baseline;
  gap: 36px;
  padding: 32px 16px;
  text-decoration: none;
  color: inherit;
  transition: background-color 240ms ease, color 240ms ease;
}

.services-list-link,
.services-list-link * {
  text-decoration: none;
}

.services-list-num {
  font-family: ui-monospace, 'JetBrains Mono', 'IBM Plex Mono', SFMono-Regular, Menlo, monospace;
  font-size: 13px;
  font-weight: 500;
  color: rgba(15, 29, 76, 0.45);
  letter-spacing: 0.12em;
  padding-top: 14px;
  transition: color 240ms ease;
}

.services-list-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 72ch;
}

.services-list-link h3 {
  margin: 0;
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 700;
  letter-spacing: -0.035em;
  color: #0f1d4c;
  line-height: 1.05;
  transition: color 240ms ease;
}

.services-list-link p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: #5b6d98;
  max-width: 60ch;
}

@media (hover: hover) and (pointer: fine) {
  .services-list-link:hover {
    background-color: color-mix(in srgb, var(--service-accent) 6%, transparent);
  }

  .services-list-link:hover h3,
  .services-list-link:hover .services-list-num {
    color: var(--service-accent);
  }
}

.services-list-link:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--service-accent) 45%, transparent);
  outline-offset: -4px;
}

@media (max-width: 720px) {
  .services-list-link {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 24px 12px;
  }

  .services-list-num {
    padding-top: 0;
  }

  .services-list-link h3 {
    font-size: clamp(24px, 6vw, 32px);
  }
}

[data-theme="dark"] .services-list {
  border-top-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .services-list-row {
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .services-list-link h3 {
  color: #f2f4fb;
}

[data-theme="dark"] .services-list-link p {
  color: #9aa3c0;
}

[data-theme="dark"] .services-list-num {
  color: rgba(242, 244, 251, 0.4);
}

/* ---------- Team section ---------- */

.team-section {
  margin: 96px auto 60px;
  max-width: 1280px;
  padding: 0 24px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 48px;
}

.team-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 32px 24px 28px;
  border-radius: 22px;
  border: 1px solid rgba(207, 216, 239, 0.9);
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 14px 30px rgba(77, 93, 136, 0.08);
  color: inherit;
  text-decoration: none;
  transition: box-shadow 220ms ease, border-color 220ms ease, background-color 220ms ease;
}

a.team-card,
a.team-card * {
  text-decoration: none;
}

a.team-card {
  cursor: pointer;
}

.team-card-linked::after {
  content: '↗';
  position: absolute;
  top: 14px;
  right: 16px;
  font-size: 14px;
  color: rgba(106, 85, 248, 0.45);
  transition: color 220ms ease;
}

.team-card-linked {
  position: relative;
}

.team-card-avatar {
  position: relative;
  width: 104px;
  height: 104px;
  border-radius: 50%;
  padding: 4px;
  background: linear-gradient(135deg, #6a55f8 0%, #b8a9ff 60%, #ff7ad9 100%);
  margin-bottom: 18px;
}

.team-card-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: block;
  object-fit: cover;
  background: #ffffff;
}

.team-card-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.team-card-role {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(106, 85, 248, 0.1);
  color: #5a48d6;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.team-card h3 {
  margin: 8px 0 0;
  color: #0f1d4c;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.team-card-handle {
  color: #6b7896;
  font-size: 14px;
  font-weight: 500;
}

@media (hover: hover) and (pointer: fine) {
  .team-card:hover {
    transform: translateY(-4px);
    border-color: rgba(106, 85, 248, 0.32);
    box-shadow: 0 22px 44px rgba(59, 80, 142, 0.14);
  }
}

@media (max-width: 980px) {
  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .team-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

[data-theme="dark"] .team-card {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(138, 118, 255, 0.18);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .team-card-avatar img {
  background: #0c0a1a;
}

[data-theme="dark"] .team-card-role {
  background: rgba(138, 118, 255, 0.14);
  color: #c7baff;
}

[data-theme="dark"] .team-card h3 {
  color: #f2f4fb;
}

[data-theme="dark"] .team-card-handle {
  color: #9aa3c0;
}

[data-theme="dark"] .team-card:hover {
  border-color: rgba(138, 118, 255, 0.45);
  box-shadow: 0 26px 52px rgba(0, 0, 0, 0.55);
}

