/* Self-hosted Inter (300/400/500/600). Replaces Google Fonts — kills the
   render-blocking third-party request and the GDPR exposure for DE audience. */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('/landing-assets/fonts/inter-300.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/landing-assets/fonts/inter-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/landing-assets/fonts/inter-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/landing-assets/fonts/inter-600.woff2') format('woff2');
}

:root {
  --ink: #ffffff;
  --muted: rgba(255, 255, 255, 0.72);
  --glass-bg: rgba(255, 255, 255, 0.06);
  --glass-border: rgba(255, 255, 255, 0.18);
}
html {
  background: #000;
}
body {
  background: transparent;
  color: var(--ink);
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, Segoe UI,
    sans-serif;
  -webkit-font-smoothing: antialiased;
}
/* Fixed full-page video background, no filter */
.bg-video-wrap {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #000;
  pointer-events: none;
}
.bg-video-wrap video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Lift real content above the video layer.
   NOTE: header is intentionally excluded — it uses its own
   `fixed top-0 z-40` Tailwind utilities, and including it here
   was overriding them (Tailwind utilities live in a lower CSS
   layer than these rules), which dropped the lang-menu under
   the hero section and made the dropdown unclickable. */
section,
footer {
  position: relative;
  z-index: 1;
}

/* Rotating headline */
.rotator {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  line-height: 1.1;
  height: 1.15em;
}
.rotator .word {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  text-align: center;
  font-weight: 600;
  opacity: 0;
  transform: translateY(100%);
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.7s ease;
  white-space: nowrap;
  background: linear-gradient(180deg, #ffffff 0%, #cbd5e1 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.rotator .word.is-active {
  opacity: 1;
  transform: translateY(0);
}
.rotator .word.is-leaving {
  opacity: 0;
  transform: translateY(-100%);
}

/* Glass buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: transform 0.2s ease, background 0.2s ease,
    border-color 0.2s ease;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn-primary {
  background: #ffffff;
  color: #0a0a0f;
}
.btn-primary:hover {
  background: #f1f1f3;
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* Polar-lights green LOG IN button */
.btn-login {
  position: relative;
  white-space: nowrap;
  color: #02140b;
  background: linear-gradient(135deg, #7CFFB2 0%, #3DF2A3 50%, #00E58C 100%);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow:
    0 0 0 1px rgba(124, 255, 178, 0.25),
    0 0 18px rgba(61, 242, 163, 0.45),
    0 8px 30px rgba(0, 229, 140, 0.25);
  font-weight: 600;
  letter-spacing: 0.02em;
}
.btn-login:hover {
  background: linear-gradient(135deg, #8dffbe 0%, #4dffab 50%, #0bf093 100%);
  box-shadow:
    0 0 0 1px rgba(124, 255, 178, 0.4),
    0 0 26px rgba(61, 242, 163, 0.6),
    0 10px 34px rgba(0, 229, 140, 0.35);
}

/* Language dropdown */
.lang-switch {
  position: relative;
}
.lang-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
}
.lang-caret {
  font-size: 0.7rem;
  opacity: 0.8;
  transition: transform 0.2s ease;
}
.lang-switch.is-open .lang-caret {
  transform: rotate(180deg);
}
.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 5.5rem;
  list-style: none;
  padding: 0.35rem;
  margin: 0;
  background: rgba(18, 20, 28, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity 0.15s ease, transform 0.15s ease;
  z-index: 50;
}
.lang-switch.is-open .lang-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.lang-menu li { margin: 0; }
.lang-menu button {
  width: 100%;
  text-align: left;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  color: #fff;
  font-size: 0.85rem;
  background: transparent;
  border: 0;
  cursor: pointer;
  transition: background 0.15s ease;
}
.lang-menu button:hover {
  background: rgba(255, 255, 255, 0.08);
}
.lang-menu button[aria-selected="true"] {
  background: rgba(124, 255, 178, 0.12);
  color: #7CFFB2;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-size: 0.8rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Logo */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.logo img {
  height: 48px;
  width: auto;
  display: block;
}

/* Parallax services section */
.services-stack {
  position: relative;
}
.service-card {
  position: sticky;
  top: 120px;
  margin: 0 auto 2.5rem auto;
  max-width: 980px;
  border-radius: 28px;
  padding: 2.5rem;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.08) 0%,
    rgba(255, 255, 255, 0.03) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transform-origin: top center;
  will-change: transform, opacity;
}
.service-card .num {
  font-variant-numeric: tabular-nums;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.55);
}
.service-card h3 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-top: 0.5rem;
}
.service-card p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: 68ch;
  margin-top: 0.9rem;
}
.service-card .icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

/* Non-sticky service card grid (used on /services subpage) */
.svc-grid {
  perspective: 1400px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
}
.svc-grid > .svc-card {
  flex: 0 0 calc((100% - 2 * 1.25rem) / 3);
}
@media (max-width: 1023px) {
  .svc-grid > .svc-card {
    flex: 0 0 calc((100% - 1.25rem) / 2);
  }
}
@media (max-width: 639px) {
  .svc-grid > .svc-card {
    flex: 0 0 100%;
    aspect-ratio: auto;
  }
}
.svc-card {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 20px;
  padding: 1.25rem;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.08) 0%,
    rgba(255, 255, 255, 0.03) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow:
    0 14px 40px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
  overflow: hidden;
  cursor: pointer;
  transform: translateY(0) scale(1);
  transition:
    transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1),
    aspect-ratio 0.5s cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 0.35s ease,
    box-shadow 0.4s ease,
    opacity 0.4s ease,
    filter 0.4s ease,
    background 0.35s ease;
}
.svc-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(124, 255, 178, 0.55), rgba(61, 242, 163, 0) 55%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.svc-card::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  width: 70%;
  height: 70px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(61, 242, 163, 0.35), transparent 70%);
  opacity: 0;
  filter: blur(20px);
  transition: opacity 0.5s ease;
  pointer-events: none;
}
.svc-card:focus-visible { outline: none; }
.svc-card:hover,
.svc-card:focus-visible {
  aspect-ratio: auto;
  justify-content: flex-start;
  transform: translateY(-6px) scale(1.03);
  z-index: 3;
  border-color: rgba(124, 255, 178, 0.4);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.11) 0%,
    rgba(124, 255, 178, 0.05) 100%
  );
  box-shadow:
    0 30px 70px rgba(0, 0, 0, 0.45),
    0 0 32px rgba(61, 242, 163, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* When one card is hovered, push the others away */
.svc-grid:has(.svc-card:hover) .svc-card:not(:hover),
.svc-grid:has(.svc-card:focus-visible) .svc-card:not(:focus-visible):not(:hover) {
  transform: scale(0.92);
  opacity: 0.38;
  filter: blur(2px) saturate(0.6);
}
.svc-grid:has(.svc-card:hover) .svc-card:not(:hover) .icon {
  transform: scale(0.9);
}
.svc-card:hover::before,
.svc-card:focus-visible::before { opacity: 1; }
.svc-card:hover::after,
.svc-card:focus-visible::after { opacity: 1; }

.svc-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 1.25rem;
  position: relative;
  z-index: 1;
  transition: gap 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.svc-card:hover .svc-head,
.svc-card:focus-visible .svc-head {
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  gap: 0.85rem;
}
.svc-card .icon {
  width: 76px;
  height: 76px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  flex: 0 0 auto;
  transition: background 0.35s ease, border-color 0.35s ease,
    width 0.4s cubic-bezier(0.2, 0.8, 0.2, 1),
    height 0.4s cubic-bezier(0.2, 0.8, 0.2, 1),
    border-radius 0.4s cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.svc-card .icon svg {
  width: 34px;
  height: 34px;
  transition: width 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), height 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.svc-card:hover .icon,
.svc-card:focus-visible .icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(124, 255, 178, 0.14);
  border-color: rgba(124, 255, 178, 0.4);
  transform: rotate(-3deg);
}
.svc-card:hover .icon svg,
.svc-card:focus-visible .icon svg {
  width: 22px;
  height: 22px;
}
.svc-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.2;
  margin: 0;
  transition: font-size 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.svc-card:hover h3,
.svc-card:focus-visible h3 {
  font-size: 1.15rem;
}

.svc-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
  position: relative;
  z-index: 1;
}
.svc-body > .svc-body-inner {
  overflow: hidden;
  min-height: 0;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.35s ease, transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.svc-card:hover .svc-body,
.svc-card:focus-visible .svc-body { grid-template-rows: 1fr; }
.svc-card:hover .svc-body > .svc-body-inner,
.svc-card:focus-visible .svc-body > .svc-body-inner {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.1s;
}
.svc-body-inner > :first-child { margin-top: 0.9rem; }

.svc-card p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
}
.svc-card ul {
  list-style: none;
  padding: 0;
  margin: 0.65rem 0 0;
  display: grid;
  gap: 0.4rem;
}
.svc-card ul li {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.78);
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
}
.svc-card ul li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #7CFFB2;
  box-shadow: 0 0 6px rgba(124, 255, 178, 0.6);
  opacity: 0.9;
  margin-top: 0.55rem;
  flex: 0 0 auto;
}

/* Reveal on enter */
/* JS adds .js-reveal on <html> at boot so .reveal can start hidden only
   when the IntersectionObserver is actually going to run. Without this
   hook, JS-disabled visitors and crawlers that pause script execution
   see a blank page (the .reveal opacity:0 never gets toggled). */
html.js-reveal .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
/* MUST keep the html.js-reveal prefix or this rule loses the CSS
   specificity battle against the line above and never raises opacity
   back to 1. Bit us on 2026-05-13: the entire page below the parallax
   service-stack stayed at opacity:0 because IO added .in but the
   higher-specificity html.js-reveal .reveal rule kept opacity at 0.
   Same goes for .reveal.reveal-blur.in further down. */
html.js-reveal .reveal.in {
  opacity: 1;
  transform: none;
}

/* Section headings */
.eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

/* Footer spacer so last sticky card can scroll off */
.stack-spacer {
  height: 8vh;
}
.stack-spacer-short { height: 2vh; }

/* Success story */
.case-link {
  transition: transform 0.3s ease;
}
.case-link:hover {
  transform: translateY(-4px);
}
.case-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 0.5rem 0.25rem;
}
.case-caption .case-name {
  font-weight: 500;
  font-size: 0.95rem;
  color: #fff;
  letter-spacing: -0.01em;
}
.case-caption .case-host {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.55);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.case-card {
  position: relative;
  border-radius: 20px;
  padding: 0.6rem;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.08) 0%,
    rgba(255, 255, 255, 0.03) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.case-card .glow {
  position: absolute;
  inset: -40%;
  background: radial-gradient(
    closest-side,
    rgba(129, 140, 248, 0.3) 0%,
    rgba(129, 140, 248, 0) 70%
  );
  filter: blur(40px);
  pointer-events: none;
}
/* Browser mockup */
.mockup {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: #0b0d14;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  aspect-ratio: 16 / 10;
}
.mockup > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}
.mockup-bar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 0.85rem;
  background: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.mockup-bar .dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}
.mockup-bar .dot:nth-child(1) { background: #ff5f57; }
.mockup-bar .dot:nth-child(2) { background: #febc2e; }
.mockup-bar .dot:nth-child(3) { background: #28c840; }
.mockup-bar .url {
  margin-left: 0.75rem;
  flex: 1;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 0.3rem 0.7rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.mockup-body {
  aspect-ratio: 16 / 10;
  background:
    radial-gradient(800px 400px at 20% 10%, rgba(94, 234, 212, 0.35), transparent 60%),
    radial-gradient(700px 400px at 80% 90%, rgba(129, 140, 248, 0.45), transparent 60%),
    radial-gradient(600px 400px at 60% 30%, rgba(244, 114, 182, 0.25), transparent 60%),
    linear-gradient(180deg, #0b1029 0%, #05060a 100%);
  position: relative;
  padding: 1.6rem;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.mockup-body .m-logo {
  font-weight: 600;
  letter-spacing: -0.01em;
}
.mockup-body h4 {
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  max-width: 22ch;
  line-height: 1.1;
}
.mockup-body .m-tag {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}
.mockup-body .m-btn {
  align-self: flex-start;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  background: #fff;
  color: #0a0a0f;
  font-size: 0.8rem;
  font-weight: 500;
}

.stat {
  padding: 1.1rem 1.2rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.stat .num {
  font-size: 1.8rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  background: linear-gradient(180deg, #fff 0%, #c7d2fe 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat .label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 0.15rem;
}

::selection {
  background: rgba(255, 255, 255, 0.25);
}

/* Glass footer */
.site-footer {
  position: relative;
  margin-top: 6rem;
  border-top-left-radius: 32px;
  border-top-right-radius: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background-color: rgba(255, 255, 255, 0.04);
  background-image: radial-gradient(
    35% 128px at 50% 0%,
    rgba(255, 255, 255, 0.09),
    transparent
  );
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
}
.footer-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 33%;
  height: 2px;
  background: rgba(255, 255, 255, 0.45);
  filter: blur(6px);
  border-radius: 999px;
  pointer-events: none;
}
.footer-head {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 500;
}
.footer-list {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.footer-list a {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.875rem;
  transition: color 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.footer-list a:hover {
  color: #fff;
}
.footer-list svg {
  width: 16px;
  height: 16px;
}

/* Blur reveal (used in footer) — overrides base .reveal */
html.js-reveal .reveal.reveal-blur {
  transform: translateY(-8px);
  filter: blur(4px);
  transition: opacity 0.9s ease, transform 0.9s ease, filter 0.9s ease;
}
html.js-reveal .reveal.reveal-blur.in {
  transform: none;
  filter: none;
}

/* Scrolled nav — blurry translucent bg once past hero */
header.site-header {
  transition: background-color 0.3s ease, backdrop-filter 0.3s ease,
    border-color 0.3s ease, box-shadow 0.3s ease;
  border-bottom: 1px solid transparent;
}
header.site-header.is-scrolled {
  background: rgba(10, 10, 15, 0.55);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

/* Animated nav tabs */
.nav-tabs {
  position: relative;
  display: flex;
  align-items: center;
  padding: 0;
  margin: 0;
  list-style: none;
}
.nav-tab {
  position: relative;
  display: inline-block;
  padding: 0.55rem 1.1rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.25s ease;
  z-index: 1;
  white-space: nowrap;
}
.nav-tab:hover,
.nav-tab.is-active {
  color: #fff;
}
.nav-hover-bg,
.nav-underline {
  position: absolute;
  pointer-events: none;
  transition: left 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    width 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.2s ease;
  left: 0;
  width: 0;
}
.nav-hover-bg {
  top: 6px;
  bottom: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  opacity: 0;
}
.nav-underline {
  bottom: 0;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  opacity: 0;
}

/* Quote / pricing CTA card */
.quote-card {
  position: relative;
  border-radius: 28px;
  padding: 2.5rem 2.25rem 2rem;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.07) 0%,
    rgba(255, 255, 255, 0.025) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(6px) saturate(120%);
  -webkit-backdrop-filter: blur(6px) saturate(120%);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
}
.quote-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
  width: 100%;
}
@media (min-width: 768px) {
  .quote-card { padding: 3.25rem 3rem 2.5rem; }
}
.quote-copy { max-width: 32rem; }
.quote-title {
  color: #fff;
  font-size: 1.75rem;
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0;
}
@media (min-width: 768px) {
  .quote-title { font-size: 3rem; }
}
.quote-sub {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  line-height: 1.55;
  margin: 0.85rem 0 0;
}
.quote-price {
  display: flex;
  align-items: baseline;
  gap: 0.85rem;
  white-space: nowrap;
}
.quote-price-label {
  color: rgba(255, 255, 255, 0.65);
  font-size: 1rem;
}
.quote-price-value {
  color: #fff;
  font-size: 3.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
}
@media (min-width: 768px) {
  .quote-price-value { font-size: 3.75rem; }
}
.quote-cta {
  width: 100%;
  max-width: 28rem;
  justify-content: center;
  padding: 1rem 1.5rem;
  font-size: 1rem;
}
.quote-trust {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.82rem;
}

/* Ruixen feature section */
@property --rx-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}
.rx-feature { color: #fff; }
.rx-title {
  text-align: center;
  font-size: clamp(2.25rem, 5vw, 4.5rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0;
}
.rx-sub {
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.05rem;
  letter-spacing: -0.005em;
  max-width: 44rem;
  margin: 1.25rem auto 0;
  line-height: 1.55;
}
@media (min-width: 768px) {
  .rx-sub { font-size: 1.15rem; }
}

.rx-tabs {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin: 2.5rem auto 0;
  align-items: stretch;
  max-width: 22rem;
}
@media (min-width: 1024px) {
  .rx-tabs {
    flex-direction: row;
    justify-content: center;
    max-width: none;
  }
}
.rx-tab {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 1rem 0.55rem 0.55rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 400;
  text-align: left;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.rx-tab:hover { background: rgba(255, 255, 255, 0.08); }
.rx-tab-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.rx-tab-glow {
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(
    from var(--rx-angle),
    rgba(124, 255, 178, 0) 0deg,
    rgba(124, 255, 178, 0) 60deg,
    #3DF2A3 90deg,
    #7CFFB2 120deg,
    rgba(124, 255, 178, 0) 150deg,
    rgba(124, 255, 178, 0) 360deg
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}
.rx-tab.is-selected .rx-tab-glow {
  opacity: 1;
  animation: rx-spin 4s linear infinite;
}
.rx-tab.is-selected {
  background: rgba(124, 255, 178, 0.08);
}
@keyframes rx-spin {
  to { --rx-angle: 360deg; }
}

/* Fallback for browsers without @property: a static glowing border */
@supports not (background: paint(something)) {
  .rx-tab.is-selected .rx-tab-glow {
    background: linear-gradient(135deg, #7CFFB2, transparent 50%, #3DF2A3);
    animation: none;
  }
}

.rx-frame {
  margin: 2.5rem auto 0;
  border-radius: 24px;
  padding: 10px;
  border: 2px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.03);
}
.rx-image {
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  overflow: hidden;
  background: #f4f5f7;
  position: relative;
}
.rx-image .dash,
.rx-image .rx-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transition: opacity 0.45s ease;
}
.rx-image .rx-video {
  object-fit: contain;
  background: #000;
  opacity: 0;
  pointer-events: none;
}
.rx-image.show-video {
  background: #000;
  aspect-ratio: 1918 / 914;
}
.rx-image.show-video .dash { opacity: 0; }
.rx-image.show-video .rx-video { opacity: 1; }

/* Per-tab info bullets */
.rx-info {
  margin-top: 2.25rem;
  display: grid;
  gap: 1rem;
}
@media (min-width: 768px) {
  .rx-info { grid-template-columns: repeat(3, 1fr); }
}
.rx-info-panel { display: none; }
.rx-info-panel.is-active { display: contents; }
.rx-info-card {
  border-radius: 16px;
  padding: 1.1rem 1.25rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  color: #fff;
}
.rx-info-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(124, 255, 178, 0.14);
  border: 1px solid rgba(124, 255, 178, 0.35);
  color: #7CFFB2;
}
.rx-info-card h4 {
  font-size: 0.98rem;
  font-weight: 600;
  margin: 0;
  letter-spacing: -0.005em;
}
.rx-info-card ul {
  list-style: none;
  padding: 0;
  margin: 0.2rem 0 0;
  display: grid;
  gap: 0.35rem;
}
.rx-info-card li {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.45;
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
}
.rx-info-card li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #7CFFB2;
  margin-top: 0.55rem;
  flex: 0 0 auto;
  box-shadow: 0 0 6px rgba(124, 255, 178, 0.6);
}

/* Dashboard mockup */
.dash {
  height: 100%;
  display: flex;
  font-family: Inter, system-ui, sans-serif;
  font-size: 12px;
  color: #0f172a;
}
.dash-sidebar {
  width: 17%;
  min-width: 130px;
  background: #0a1024;
  color: #fff;
  display: flex;
  flex-direction: column;
  padding: 14px 12px 12px;
  gap: 10px;
}
.dash-logo img { height: 26px; width: auto; }
.dash-user-label {
  font-size: 9px;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 4px;
}
.dash-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 2px;
}
.dash-nav-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 7px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 11px;
  font-weight: 500;
}
.dash-nav-item.is-active {
  background: #fff;
  color: #0a1024;
  font-weight: 600;
  position: relative;
}
.dash-nav-item.is-active::before {
  content: "";
  position: absolute;
  left: -12px;
  top: 4px;
  bottom: 4px;
  width: 3px;
  background: #ff5722;
  border-radius: 2px;
}
.dash-edit-btn {
  margin-top: auto;
  background: #ff5722;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 10px;
  border-radius: 7px;
  font-weight: 600;
  font-size: 11px;
}
.dash-user {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 4px 0;
  margin-top: 4px;
}
.dash-user-avatar {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: #1e293b;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 700;
}
.dash-user-name { font-size: 11px; font-weight: 600; }

.dash-main {
  flex: 1;
  background: #f4f5f7;
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
}
.dash-topbar {
  display: flex;
  align-items: center;
  gap: 10px;
}
.dash-search {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border-radius: 999px;
  padding: 7px 14px;
  color: #6b7280;
  font-size: 11px;
  border: 1px solid #e5e7eb;
}
.dash-topbar-icons {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #475569;
}
.dash-avatar-sm {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: #e2e8f0;
  color: #0f172a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 700;
}
.dash-welcome {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.dash-welcome h2 {
  font-size: 18px;
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.01em;
}
.dash-welcome p {
  margin: 2px 0 0;
  color: #64748b;
  font-size: 11px;
}
.dash-welcome-actions { display: flex; gap: 8px; }
.dash-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #e5e7eb;
  color: #0f172a;
  font-size: 11px;
  font-weight: 600;
}
.dash-btn-primary {
  background: #ff5722;
  border-color: #ff5722;
  color: #fff;
}
.dash-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.kpi {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.kpi-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #64748b;
  font-size: 10px;
}
.kpi strong {
  font-size: 22px;
  font-weight: 700;
  color: #0f172a;
}
.dash-section-title {
  font-size: 12px;
  font-weight: 700;
  margin: 4px 0 0;
}
.dash-shortcuts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.shortcut {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 10px 12px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #ff5722;
}
.shortcut div { color: #0f172a; }
.shortcut strong { font-size: 11px; font-weight: 700; display: block; }
.shortcut small { color: #64748b; font-size: 10px; }

/* Legal pages (Privacy, Terms, Impressum) */
.legal-page {
  position: relative;
  padding: 8rem 0 4rem;
}
@media (min-width: 768px) {
  .legal-page { padding: 10rem 0 6rem; }
}
.legal-container {
  max-width: 52rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}
@media (min-width: 768px) {
  .legal-container { padding: 0 2.5rem; }
}
.legal-title {
  color: #fff;
  font-size: 2.25rem;
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0;
  overflow-wrap: anywhere;
  hyphens: auto;
}
@media (min-width: 768px) {
  .legal-title { font-size: 3.25rem; }
}
.legal-subtitle {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
  margin-top: 0.85rem;
}
.legal-card {
  border-radius: 22px;
  padding: 2rem 1.75rem;
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  line-height: 1.65;
}
@media (min-width: 768px) {
  .legal-card { padding: 2.5rem 2.75rem; }
}
.legal-card h2 {
  color: #fff;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  margin: 1.75rem 0 0.65rem;
}
.legal-card h2:first-child { margin-top: 0.25rem; }
.legal-card p { margin: 0 0 0.85rem; }
.legal-card ul {
  margin: 0 0 0.85rem;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.4rem;
}
.legal-card li { color: rgba(255, 255, 255, 0.78); }
.legal-card li::marker { color: #7CFFB2; }
.legal-card a {
  color: #7CFFB2;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal-card a:hover { color: #d3ffe6; }
.legal-card strong { color: #fff; }
.legal-intro {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.legal-todo {
  background: rgba(255, 200, 0, 0.18);
  border: 1px dashed rgba(255, 200, 0, 0.55);
  color: #ffe07a;
  padding: 0.05rem 0.4rem;
  border-radius: 4px;
  font-style: italic;
  font-weight: 500;
}
.legal-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 0.4rem 0 1.2rem;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.9rem;
}
.legal-table th,
.legal-table td {
  padding: 0.7rem 0.9rem;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  vertical-align: top;
}
.legal-table thead th {
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font-weight: 600;
}
.legal-table tbody tr:last-child td { border-bottom: 0; }
.legal-table td { color: rgba(255, 255, 255, 0.78); }

/* Contact profile */
.contact-profile {
  max-width: 32rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.75rem 1.6rem;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
}
@media (max-width: 600px) {
  .contact-profile {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
}
.contact-portrait {
  width: 96px;
  height: 96px;
  border-radius: 999px;
  object-fit: cover;
  object-position: center 25%;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.04);
}
.contact-profile-body { flex: 1; min-width: 0; }
.contact-name {
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 0.7rem;
}
.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.45rem;
}
.contact-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
}
.contact-list li svg {
  flex: 0 0 auto;
  color: #7CFFB2;
}
.contact-list li a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}
.contact-list li a:hover {
  color: #7CFFB2;
}
.contact-country {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.82rem;
  margin-left: 0.2rem;
}
@media (max-width: 600px) {
  .contact-list li { justify-content: center; }
}

/* Contact cards */
.contact-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .contact-grid { grid-template-columns: repeat(3, 1fr); }
}
.contact-card {
  position: relative;
  border-radius: 22px;
  padding: 1.75rem 1.6rem;
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  color: #fff;
  text-decoration: none;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}
.contact-card:hover {
  transform: translateY(-3px);
  border-color: rgba(124, 255, 178, 0.35);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.35), 0 0 26px rgba(61, 242, 163, 0.15);
}
.contact-card--accent {
  background: linear-gradient(180deg, rgba(124, 255, 178, 0.14), rgba(124, 255, 178, 0.04));
  border-color: rgba(124, 255, 178, 0.4);
}
.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
}
.contact-card--accent .contact-icon {
  background: rgba(124, 255, 178, 0.18);
  border-color: rgba(124, 255, 178, 0.45);
  color: #d3ffe6;
}
.contact-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0;
}
.contact-card p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.92rem;
  line-height: 1.55;
  margin: 0;
}
.contact-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #7CFFB2;
  font-weight: 600;
  font-size: 0.9rem;
  padding-top: 0.3rem;
}

.contact-meta {
  margin-top: 2.5rem;
  display: grid;
  gap: 0.85rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .contact-meta { grid-template-columns: repeat(3, 1fr); }
}
.contact-meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 1rem 1.1rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.contact-meta-label {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}
.contact-meta-value {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 500;
}

/* Pricing steps (two-part pricing explainer) */
.pricing-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
}
.pricing-steps > .pricing-step {
  flex: 1 1 100%;
  max-width: 36rem;
}
.pricing-step {
  position: relative;
  border-radius: 24px;
  padding: 2rem 1.75rem;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  color: #fff;
}
.pricing-step--highlight {
  background: linear-gradient(180deg, rgba(124, 255, 178, 0.12), rgba(124, 255, 178, 0.04));
  border-color: rgba(124, 255, 178, 0.4);
  box-shadow: 0 0 30px rgba(61, 242, 163, 0.15);
}
.pricing-step-num {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-weight: 600;
  font-size: 0.95rem;
}
.pricing-step--highlight .pricing-step-num {
  background: rgba(124, 255, 178, 0.18);
  border-color: rgba(124, 255, 178, 0.5);
  color: #d3ffe6;
}
.pricing-step-title {
  font-size: 1.65rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin: 0;
}
.pricing-step-sub {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  line-height: 1.55;
  margin: 0;
}
.pricing-step-price {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  margin-top: 0.4rem;
}
.pricing-step-price-label {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}
.pricing-step-price-value {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1;
}
.pricing-step-price-period {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.85rem;
}
.pricing-step-note {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.85rem;
  line-height: 1.5;
  margin: -0.2rem 0 0;
}
.pricing-step-list {
  list-style: none;
  padding: 0;
  margin: 0.4rem 0 0;
  display: grid;
  gap: 0.5rem;
}
.pricing-step-list li {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.82);
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  line-height: 1.45;
}
.pricing-step-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #7CFFB2;
  margin-top: 0.55rem;
  flex: 0 0 auto;
  box-shadow: 0 0 6px rgba(124, 255, 178, 0.55);
}

/* Vertical monthly plan stack */
.monthly-plans {
  margin-top: 3rem;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .monthly-plans {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    align-items: stretch;
  }
  .monthly-plans-head { grid-column: 1 / -1; }
}
.monthly-plans-head {
  text-align: center;
  margin-bottom: 0.5rem;
  color: #fff;
}
.monthly-plan {
  display: flex;
  flex-direction: column;
}
.monthly-plan .monthly-plan-list { flex: 1; }
.monthly-plans-head h2 {
  font-size: 1.85rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin: 0;
}
.monthly-plans-head p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.95rem;
  line-height: 1.55;
  margin: 0.55rem 0 0;
}
.monthly-plan {
  position: relative;
  border-radius: 22px;
  padding: 1.75rem 1.6rem;
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
}
.monthly-plan--highlight {
  background: linear-gradient(180deg, rgba(124, 255, 178, 0.14), rgba(124, 255, 178, 0.04));
  border-color: rgba(124, 255, 178, 0.45);
  box-shadow: 0 0 30px rgba(61, 242, 163, 0.18);
}
.monthly-plan-badge {
  position: absolute;
  top: -10px;
  left: 1.4rem;
  background: linear-gradient(135deg, #7CFFB2, #3DF2A3);
  color: #02140b;
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
}
.monthly-plan-header {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 1rem;
  margin-bottom: 1rem;
}
.monthly-plan-name {
  display: block;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.monthly-plan-tag {
  display: block;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  margin-top: 0.2rem;
}
.monthly-plan-price {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
}
.monthly-plan-amount {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1;
}
.monthly-plan-period {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.85rem;
}
.monthly-plan-note {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  margin: 0 0 0.6rem;
}
.monthly-plan-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.45rem;
}
.monthly-plan-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.45;
}
.monthly-plan-list .check {
  color: #7CFFB2;
  font-weight: 700;
  flex: 0 0 auto;
  width: 16px;
  text-align: center;
}
.monthly-plan-list .dash {
  color: rgba(255, 255, 255, 0.3);
  flex: 0 0 auto;
  width: 16px;
  text-align: center;
}
.monthly-plan-list li:has(.dash) {
  color: rgba(255, 255, 255, 0.42);
}

/* Info term with click-to-reveal popover */
.info-term {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.info-term-label,
.info-term[data-info-id] {
  text-decoration: underline dotted;
  text-underline-offset: 3px;
  text-decoration-color: rgba(124, 255, 178, 0.55);
  cursor: help;
}
.monthly-plan-list li:has(.dash) .info-term {
  text-decoration: underline dotted;
  text-decoration-color: rgba(124, 255, 178, 0.4);
}
.info-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: rgba(124, 255, 178, 0.15);
  border: 1px solid rgba(124, 255, 178, 0.5);
  color: #7CFFB2;
  font-size: 10px;
  font-weight: 700;
  font-style: italic;
  cursor: pointer;
  font-family: Georgia, serif;
  line-height: 1;
  padding: 0;
  flex: 0 0 auto;
  transition: background 0.2s ease, transform 0.2s ease;
}
.info-trigger:hover {
  background: rgba(124, 255, 178, 0.28);
  transform: scale(1.1);
}
.info-popover {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  width: max-content;
  max-width: 260px;
  padding: 0.7rem 0.85rem;
  background: rgba(18, 22, 32, 0.96);
  border: 1px solid rgba(124, 255, 178, 0.35);
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.82rem;
  line-height: 1.5;
  text-align: left;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 20;
  white-space: normal;
  text-decoration: none;
  cursor: default;
}
.info-popover strong {
  display: block;
  color: #7CFFB2;
  font-size: 0.82rem;
  margin-bottom: 0.25rem;
  text-decoration: none;
}
.info-popover::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: rgba(18, 22, 32, 0.96);
}
.info-term.is-open .info-popover {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.pricing-flow {
  margin-top: 2rem;
  display: grid;
  gap: 0.85rem;
  grid-template-columns: 1fr;
  align-items: stretch;
}
@media (min-width: 900px) {
  .pricing-flow {
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: 1rem;
    align-items: center;
  }
}
.pricing-flow-step {
  border-radius: 16px;
  padding: 1rem 1.1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  color: #fff;
}
.pricing-flow-step span {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}
.pricing-flow-step strong {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.005em;
}
.pricing-flow-step small {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.8rem;
}
.pricing-flow-step--accent {
  background: rgba(124, 255, 178, 0.1);
  border-color: rgba(124, 255, 178, 0.35);
}
.pricing-flow-step--final {
  background: linear-gradient(135deg, rgba(124,255,178,0.18), rgba(255,255,255,0.04));
  border-color: rgba(124, 255, 178, 0.4);
}
.pricing-flow-arrow {
  color: rgba(255, 255, 255, 0.55);
  font-size: 1.6rem;
  font-weight: 300;
  text-align: center;
}

/* Pricing table */
.pricing-table {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.pricing-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
}
.pricing-row:first-child { border-top: 0; }
.pricing-row-plans {
  align-items: stretch;
  border-top: 0;
}
.pricing-feature-cell {
  padding: 1.1rem 1.5rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
}
.pricing-feature-cell--header { padding: 0; }
.pricing-value-cell {
  padding: 1.1rem 1.5rem;
  text-align: left;
  color: #fff;
  font-size: 0.95rem;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}
.pricing-row .check { color: #7CFFB2; font-weight: 600; }
.pricing-row .dash { color: rgba(255, 255, 255, 0.35); }

.plan-cell {
  padding: 1.5rem 1.25rem;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
}
.plan-card {
  width: 100%;
  border-radius: 18px;
  padding: 1.25rem 1.25rem 1.4rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  color: #fff;
}
.plan-card--highlight {
  background: linear-gradient(180deg, rgba(124, 255, 178, 0.18), rgba(124, 255, 178, 0.06));
  border-color: rgba(124, 255, 178, 0.55);
  box-shadow:
    0 14px 40px rgba(0, 0, 0, 0.3),
    0 0 30px rgba(61, 242, 163, 0.18);
}
.plan-head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.95rem;
}
.plan-icon {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.plan-name { font-weight: 600; font-size: 1rem; }
.plan-tag {
  font-size: 0.7rem;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.85);
}
.plan-tag--accent {
  background: rgba(124, 255, 178, 0.16);
  border-color: rgba(124, 255, 178, 0.4);
  color: #d3ffe6;
}
.plan-price {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
}
.plan-price-amount {
  font-size: 2.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
}
.plan-price-old {
  text-decoration: line-through;
  color: rgba(255, 255, 255, 0.45);
  font-size: 1.05rem;
}
.plan-price-period {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.85rem;
}
.plan-cta {
  width: 100%;
  justify-content: center;
  padding: 0.75rem 1rem;
  font-size: 0.92rem;
}

/* Mobile: stack plans on top of each other, table becomes simple list */
@media (max-width: 767px) {
  .pricing-row {
    grid-template-columns: 1fr 1fr;
  }
  .pricing-row-plans {
    grid-template-columns: 1fr;
  }
  .pricing-row-plans .pricing-feature-cell--header { display: none; }
  .pricing-row-plans .plan-cell { border-left: 0; border-top: 1px solid rgba(255,255,255,0.08); }
  .pricing-row-plans .plan-cell:first-of-type { border-top: 0; }
  .pricing-row .pricing-feature-cell {
    grid-column: 1 / -1;
    padding-bottom: 0.4rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
  }
  .pricing-row:not(.pricing-row-plans) {
    padding: 0.6rem 0;
  }
  .pricing-value-cell {
    border-left: 0;
    padding: 0.4rem 1.5rem 0.9rem;
  }
  .pricing-value-cell + .pricing-value-cell {
    border-left: 1px solid rgba(255,255,255,0.08);
  }
}

/* ---------- Mobile menu (hamburger + drawer) ---------- */
.mobile-menu-btn {
  position: relative;
  width: 44px;
  height: 44px;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  margin-left: auto;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
@media (max-width: 767.98px) {
  .mobile-menu-btn {
    display: inline-flex;
  }
}
.mobile-menu-btn span {
  display: block;
  width: 20px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.mobile-menu-btn[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.mobile-menu-btn[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.mobile-menu-btn[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  visibility: hidden;
}
.mobile-menu.is-open {
  pointer-events: auto;
  visibility: visible;
}
@media (min-width: 768px) {
  .mobile-menu,
  .mobile-menu.is-open {
    display: none;
  }
}
.mobile-menu-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 8, 14, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.mobile-menu.is-open .mobile-menu-backdrop {
  opacity: 1;
}
.mobile-menu-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(86vw, 360px);
  padding: 4.25rem 1.75rem 2rem;
  background: linear-gradient(180deg, rgba(18, 22, 32, 0.96) 0%, rgba(10, 14, 22, 0.96) 100%);
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.5);
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  overflow-y: auto;
}
.mobile-menu.is-open .mobile-menu-panel {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 0.95rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}
.mobile-menu-close:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.mobile-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.mobile-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.95rem 1rem;
  border-radius: 12px;
  font-size: 1.05rem;
  font-weight: 500;
  color: #fff;
  border: 1px solid transparent;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.mobile-nav a:hover {
  background: rgba(255, 255, 255, 0.06);
}
.mobile-nav a.is-active {
  background: rgba(124, 255, 178, 0.10);
  border-color: rgba(124, 255, 178, 0.32);
  color: #d3ffe6;
}
.mobile-nav a::after {
  content: "→";
  opacity: 0.45;
  font-size: 0.95rem;
  transform: translateX(0);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.mobile-nav a:hover::after {
  opacity: 1;
  transform: translateX(2px);
}

.mobile-menu-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.10);
  margin: 0.25rem 0;
}

.mobile-menu-login {
  width: 100%;
  justify-content: center;
  padding: 0.9rem 1rem;
  font-size: 1rem;
}

.mobile-lang {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.mobile-lang-label {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  padding-left: 0.25rem;
}
.mobile-lang-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}
.mobile-lang-options button {
  padding: 0.7rem 0.5rem;
  border-radius: 10px;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.mobile-lang-options button:hover {
  background: rgba(255, 255, 255, 0.10);
}
.mobile-lang-options button[aria-selected="true"] {
  background: rgba(124, 255, 178, 0.14);
  border-color: rgba(124, 255, 178, 0.45);
  color: #d3ffe6;
}

body.menu-open {
  overflow: hidden;
}

/* On mobile, give the hamburger a tighter logo so the header doesn't feel cramped */
@media (max-width: 767px) {
  .site-header .logo img {
    height: 40px;
  }
  .site-header .max-w-7xl {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
  }

  /* Render the dashboard mockup at its natural desktop size, scaled to fit
     the mobile rx-image — keeps proportions and readability */
  .rx-image {
    container-type: inline-size;
  }
  .rx-image .dash {
    width: 1100px;
    height: 619px;
    inset: 0;
    transform-origin: top left;
    transform: scale(calc(100cqw / 1100px));
  }
  /* Make the mockup section bleed slightly closer to the screen edges for impact */
  .rx-feature .rx-frame {
    margin-left: -0.75rem;
    margin-right: -0.75rem;
    padding: 6px;
    border-radius: 18px;
  }

  /* Mobile-only: use the polar-lights green CTA in the home hero */
  #top .btn-primary {
    color: #02140b;
    background: linear-gradient(135deg, #7CFFB2 0%, #3DF2A3 50%, #00E58C 100%);
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow:
      0 0 0 1px rgba(124, 255, 178, 0.25),
      0 0 18px rgba(61, 242, 163, 0.45),
      0 8px 30px rgba(0, 229, 140, 0.25);
    font-weight: 600;
    letter-spacing: 0.02em;
  }
  #top .btn-primary:hover {
    background: linear-gradient(135deg, #8dffbe 0%, #4dffab 50%, #0bf093 100%);
  }
}
