@import url("/theme-vars.css");

/**
 * PaxMed marketing landing — loaded only by landing.html
 * Visual system: mint mesh, floating pill nav, podium carousel, soft cards
 */

html.scroll-smooth {
  scroll-behavior: smooth;
}

body.landing-body {
  --landing-primary: var(--accent);
  --landing-primary-rgb: var(--accent-rgb);
  --landing-on-primary: #ffffff;
  --landing-bg: var(--bg);
  --landing-surface: var(--surface);
  --landing-surface-soft: var(--elevated);
  --landing-text: var(--text-strong);
  --landing-muted: var(--muted);
  --landing-outline: rgb(191 201 193 / 0.45);
  --landing-shadow: var(--shadow);
  --landing-shadow-soft: var(--shadow-soft);
  --landing-radius-card: 40px;
  --landing-font: var(--font);

  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--landing-font);
  background: var(--landing-bg);
  color: var(--landing-text);
  overflow-x: hidden;
}

body.landing-body *,
body.landing-body *::before,
body.landing-body *::after {
  box-sizing: border-box;
}

.landing-body .container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.hidden {
  display: none !important;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ─── Floating pill navigation (structure + IDs preserved) ─── */
.landing-body header.site-header {
  position: fixed;
  top: 2rem;
  left: 50%;
  transform: translateX(-50%);
  width: min(92%, 1100px);
  z-index: 1000;
  background: transparent;
  border: none;
  box-shadow: none;
  transition: top 0.3s ease, transform 0.3s ease;
}

.landing-body header.site-header.is-compact {
  top: 1rem;
  transform: translateX(-50%) scale(0.98);
}

.landing-body .navbar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 0.7rem 0.75rem 0.7rem 1.35rem;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid rgb(255 255 255 / 0.9);
  box-shadow: 0 12px 40px -14px rgb(19 93 65 / 0.18), 0 4px 14px rgb(19 93 65 / 0.06);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}

.landing-body .logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--landing-primary);
  text-decoration: none;
  flex-shrink: 0;
  letter-spacing: -0.02em;
}

.landing-body .logo-img {
  height: 40px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
}

.landing-body .logo span {
  display: inline;
}

.landing-body .nav-links {
  display: flex;
  gap: clamp(18px, 3vw, 40px);
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.landing-body .nav-links a {
  text-decoration: none;
  color: var(--landing-muted);
  font-weight: 700;
  font-size: 0.95rem;
  transition: color 0.25s ease;
  white-space: nowrap;
}

.landing-body .nav-links a:hover {
  color: var(--landing-primary);
}

.landing-body .nav-cta.btn {
  padding: 0.65rem 1.5rem;
  font-size: 0.95rem;
  flex-shrink: 0;
  border-radius: 999px;
}

.landing-body .landing-nav-cta-item {
  display: none;
}

.landing-body .landing-nav-cta-item .btn {
  width: 100%;
  margin-top: 0.25rem;
}

.landing-body .landing-menu-btn {
  display: none;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgb(19 93 65 / 0.12);
  background: var(--landing-surface);
  color: var(--landing-text);
  font: inherit;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  box-shadow: var(--landing-shadow-soft);
}

.landing-body .landing-menu-btn__bars {
  width: 1rem;
  height: 0.7rem;
  display: inline-block;
  background:
    linear-gradient(currentColor, currentColor) 0 0 / 100% 2px no-repeat,
    linear-gradient(currentColor, currentColor) 0 50% / 100% 2px no-repeat,
    linear-gradient(currentColor, currentColor) 0 100% / 100% 2px no-repeat;
}

/* ─── Buttons ─── */
.landing-body .btn {
  padding: 1rem 2rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 700;
  font-family: inherit;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
}

.landing-body .btn-primary {
  background: var(--landing-primary);
  color: var(--landing-on-primary);
  box-shadow: 0 14px 30px rgb(var(--landing-primary-rgb) / 0.28);
}

.landing-body .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgb(var(--landing-primary-rgb) / 0.34);
}

.landing-body .btn-primary:active {
  transform: scale(0.97);
}

.landing-body .btn-arrow {
  transition: transform 0.25s ease;
}

.landing-body .btn-primary:hover .btn-arrow {
  transform: translateX(3px);
}

.landing-body .btn-secondary {
  background: var(--landing-surface);
  border: 1px solid var(--landing-outline);
  color: var(--landing-text);
  box-shadow: 0 4px 14px rgb(19 93 65 / 0.06);
}

.landing-body .btn-secondary:hover {
  transform: translateY(-1px);
  background: var(--landing-surface-soft);
}

/* ─── Hero ─── */
.landing-body .hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: clamp(120px, 16vh, 180px);
  padding-bottom: clamp(72px, 10vw, 120px);
  overflow: hidden;
  background:
    radial-gradient(at 0% 0%, #f1fcf7 0px, transparent 50%),
    radial-gradient(at 100% 0%, #ebf6f1 0px, transparent 50%),
    radial-gradient(at 100% 100%, #abf2cc 0px, transparent 50%),
    radial-gradient(at 0% 100%, #f1fcf7 0px, transparent 50%);
}

.landing-body .hero-glow {
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(120px);
}

.landing-body .hero-glow--right {
  top: 5rem;
  right: -5rem;
  width: 600px;
  height: 600px;
  background: rgb(var(--landing-primary-rgb) / 0.06);
}

.landing-body .hero-glow--left {
  bottom: -10rem;
  left: -10rem;
  width: 700px;
  height: 700px;
  background: rgb(144 213 177 / 0.22);
  filter: blur(150px);
}

.landing-body .hero-content {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
  width: 100%;
  position: relative;
  z-index: 1;
}

.landing-body .hero-text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.landing-body .hero-text h1 {
  font-size: clamp(2.25rem, 5.2vw, 4rem);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--landing-text);
  margin: 0;
}

.landing-body .hero-text h1 span {
  color: var(--landing-primary);
  background: none;
  -webkit-text-fill-color: unset;
}

.landing-body .hero-text p {
  font-size: clamp(1rem, 1.75vw, 1.25rem);
  line-height: 1.65;
  color: var(--landing-muted);
  margin: 0;
  max-width: 34rem;
  opacity: 0.88;
}

.landing-body .hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 0.5rem;
}

.landing-body .hero-visual {
  position: relative;
  min-width: 0;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.landing-body .hero-podium {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 120%;
  height: 220px;
  pointer-events: none;
  z-index: 0;
}

.landing-body .hero-podium__base,
.landing-body .hero-podium__mid,
.landing-body .hero-podium__top {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 100%;
}

.landing-body .hero-podium__base {
  bottom: 0;
  width: 100%;
  height: 160px;
  opacity: 0.4;
  background: linear-gradient(180deg, #fff 0%, #ebf6f1 100%);
  box-shadow: inset 0 2px 4px rgb(255 255 255 / 0.8), 0 10px 40px rgb(19 93 65 / 0.15);
}

.landing-body .hero-podium__mid {
  bottom: 1.75rem;
  width: 85%;
  height: 110px;
  background: #fff;
  border: 1px solid rgb(var(--landing-primary-rgb) / 0.05);
  box-shadow: inset 0 -4px 8px rgb(0 0 0 / 0.01);
}

.landing-body .hero-podium__top {
  bottom: 3rem;
  width: 65%;
  height: 72px;
  background: #fff;
  border: 1px solid rgb(var(--landing-primary-rgb) / 0.1);
  box-shadow: 0 8px 24px rgb(19 93 65 / 0.12);
}

.landing-body .cards-carousel {
  position: relative;
  width: min(100%, 420px);
  height: 500px;
  perspective: 2000px;
  transform-style: preserve-3d;
  z-index: 2;
}

.landing-body .carousel-card {
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  transition: transform 1s cubic-bezier(0.4, 0, 0.2, 1), opacity 1s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center center;
  backface-visibility: hidden;
  will-change: transform, opacity;
  text-decoration: none;
  color: inherit;
}

.landing-body .carousel-card.card-active {
  transform: translate3d(0, 0, 0) rotateY(0deg) scale(1);
  opacity: 1;
  z-index: 30;
  pointer-events: auto;
}

.landing-body .carousel-card.card-exit-left {
  transform: translate3d(-360px, 36px, -280px) rotateY(65deg) scale(0.7);
  opacity: 0;
  z-index: 10;
  pointer-events: none;
}

.landing-body .carousel-card.card-exit-right {
  transform: translate3d(360px, 36px, -280px) rotateY(-65deg) scale(0.7);
  opacity: 0;
  z-index: 10;
  pointer-events: none;
}

.landing-body .carousel-card.card-enter-left {
  transform: translate3d(-280px, 18px, -180px) rotateY(45deg) scale(0.85);
  opacity: 0.3;
  z-index: 20;
  pointer-events: none;
}

.landing-body .carousel-card.card-enter-right {
  transform: translate3d(280px, 18px, -180px) rotateY(-45deg) scale(0.85);
  opacity: 0.3;
  z-index: 20;
  pointer-events: none;
}

.landing-body .carousel-nav {
  position: absolute;
  top: 42%;
  z-index: 50;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  border: 1px solid rgb(var(--landing-primary-rgb) / 0.08);
  background: #fff;
  color: var(--landing-text);
  box-shadow: var(--landing-shadow-soft);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  line-height: 1;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.landing-body .carousel-nav:hover {
  background: var(--landing-primary);
  color: #fff;
}

.landing-body .carousel-nav:active {
  transform: scale(0.95);
}

.landing-body .carousel-nav--prev {
  left: -3.25rem;
}

.landing-body .carousel-nav--next {
  right: -3.25rem;
}

.landing-body .carousel-toggle {
  position: absolute;
  bottom: -3.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 40;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  border: 1px solid rgb(255 255 255 / 0.5);
  background: rgb(255 255 255 / 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--landing-primary);
  font: inherit;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: var(--landing-shadow-soft);
  transition: background 0.2s ease;
  white-space: nowrap;
}

.landing-body .carousel-toggle:hover {
  background: #fff;
}

.landing-body .carousel-toggle__icon {
  font-size: 0.95rem;
}

.landing-body .hero-float-plus {
  position: absolute;
  left: 0;
  bottom: 3rem;
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 999px;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgb(255 255 255 / 0.82);
  border: 1px solid rgb(255 255 255 / 0.5);
  color: var(--landing-primary);
  font-size: 2rem;
  font-weight: 300;
  box-shadow: var(--landing-shadow-soft);
  z-index: 3;
  animation: landing-float 6s ease-in-out infinite;
}

@keyframes landing-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-18px);
  }
}

@media (min-width: 1280px) {
  .landing-body .hero-float-plus {
    display: inline-flex;
  }
}

/* ─── Product preview cards ─── */
.landing-body .product-preview,
.landing-body .glass-card.product-preview {
  display: grid;
  gap: 0.85rem;
  align-content: start;
  border-radius: var(--landing-radius-card);
  background: var(--glass-bg-strong, rgb(255 255 255 / 0.88));
  border: 1px solid var(--glass-border, rgb(255 255 255 / 0.65));
  box-shadow: var(--landing-shadow), var(--glass-shadow-soft);
  backdrop-filter: blur(var(--glass-blur, 20px)) saturate(var(--glass-saturate, 145%));
  -webkit-backdrop-filter: blur(var(--glass-blur, 20px)) saturate(var(--glass-saturate, 145%));
  padding: clamp(1.5rem, 3vw, 2.25rem);
}

.landing-body .product-preview-link:hover,
.landing-body .product-preview-link:focus-visible {
  outline: none;
}

.landing-body .product-preview-kicker {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgb(var(--landing-primary-rgb) / 0.65);
}

.landing-body .product-preview-query {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--landing-text);
  margin-bottom: 0.5rem;
}

.landing-body .product-preview-rows {
  display: grid;
  gap: 0.75rem;
}

.landing-body .product-preview-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 0.65rem;
  align-items: center;
  padding: 1rem 1.1rem;
  border-radius: 1rem;
  background: #fff;
  border: 1px solid var(--landing-outline);
  box-shadow: none;
}

.landing-body .product-preview-row.is-best {
  background: rgb(235 246 241 / 0.7);
  border-color: rgb(var(--landing-primary-rgb) / 0.08);
}

.landing-body .product-preview-vendor {
  font-weight: 700;
  color: rgb(20 30 27 / 0.72);
  font-size: 0.95rem;
}

.landing-body .product-preview-price {
  font-weight: 800;
  color: var(--landing-text);
  font-variant-numeric: tabular-nums;
  font-size: 1.05rem;
}

.landing-body .product-preview-save {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--landing-primary);
  background: rgb(var(--landing-primary-rgb) / 0.1);
  border-radius: 0.5rem;
  padding: 0.3rem 0.55rem;
}

.landing-body .product-preview-row.is-best .product-preview-save {
  background: var(--landing-primary);
  color: #fff;
}

/* ─── Features ─── */
.landing-scroll-target {
  display: block;
  position: relative;
  top: -96px;
  height: 0;
  overflow: hidden;
}

.landing-body .features {
  scroll-margin-top: 120px;
  padding: clamp(72px, 12vw, 120px) 0;
  background: var(--landing-surface);
}

.landing-body .section-heading {
  text-align: center;
  margin-bottom: clamp(48px, 8vw, 88px);
  max-width: 900px;
  margin-inline: auto;
}

.landing-body .section-heading h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
  color: var(--landing-text);
  line-height: 1.15;
}

.landing-body .section-heading p {
  font-size: 1.125rem;
  color: var(--landing-muted);
  max-width: 40rem;
  margin: 0 auto;
  line-height: 1.65;
  opacity: 0.8;
}

.landing-body .feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem;
}

.landing-body .feature-card {
  position: relative;
  display: block;
  background: #fff;
  border-radius: 3rem;
  padding: clamp(1.75rem, 3vw, 2.75rem);
  border: 1px solid rgb(191 201 193 / 0.18);
  box-shadow: var(--landing-shadow-soft);
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.landing-body .feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--landing-shadow);
}

.landing-body .feature-icon {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 1.35rem;
  background: rgb(var(--landing-primary-rgb) / 0.06);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--landing-primary);
  margin-bottom: 1.75rem;
  box-shadow: none;
  transition: background 0.4s ease, color 0.4s ease;
}

.landing-body .feature-card:hover .feature-icon {
  background: var(--landing-primary);
  color: #fff;
}

.landing-body .feature-icon svg {
  display: block;
  width: 2rem;
  height: 2rem;
}

.landing-body .feature-card h3 {
  font-size: 1.35rem;
  margin: 0 0 0.85rem;
  color: var(--landing-text);
  font-weight: 800;
}

.landing-body .feature-card p {
  color: var(--landing-muted);
  line-height: 1.7;
  margin: 0 0 2.5rem;
  opacity: 0.8;
}

.landing-body .feature-card__arrow {
  position: absolute;
  right: 1.75rem;
  bottom: 1.75rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgb(var(--landing-primary-rgb) / 0.06);
  color: var(--landing-primary);
  font-size: 1rem;
  transition: background 0.25s ease, color 0.25s ease;
}

.landing-body .feature-card:hover .feature-card__arrow {
  background: var(--landing-primary);
  color: #fff;
}

/* ─── Community ─── */
.landing-body .community {
  scroll-margin-top: 120px;
  padding: clamp(64px, 10vw, 120px) 0;
  background: var(--landing-bg);
  border-top: none;
  border-bottom: none;
}

.landing-body .community-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.landing-body .community-eyebrow {
  display: inline-flex;
  margin: 0 0 1rem;
  padding: 0.35rem 0.9rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--landing-primary);
  background: rgb(var(--landing-primary-rgb) / 0.1);
  border-radius: 999px;
}

.landing-body .community-stat h2 {
  font-size: clamp(1.75rem, 3.4vw, 2.5rem);
  font-weight: 800;
  color: var(--landing-text);
  margin: 0 0 1.75rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
  max-width: 14ch;
}

.landing-body .active-users-card {
  background: #fff;
  border: 1px solid rgb(191 201 193 / 0.18);
  border-radius: 2.5rem;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  max-width: 360px;
  box-shadow: var(--landing-shadow-soft);
}

.landing-body .active-users-count-wrap {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}

.landing-body .active-users-count {
  font-size: clamp(2.5rem, 6vw, 3.25rem);
  font-weight: 800;
  line-height: 1;
  color: var(--landing-text);
}

.landing-body .active-users-label {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--landing-muted);
  opacity: 0.7;
}

.landing-body .active-users-note {
  margin: 1rem 0 0;
  font-size: 0.95rem;
  color: var(--landing-muted);
  line-height: 1.5;
  opacity: 0.8;
}

.landing-body .active-users-note span {
  font-weight: 800;
  color: var(--landing-text);
}

.landing-body .testimonials-wrap {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.landing-body .testimonials {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.landing-body .testimonial-card {
  background: #fff;
  border: 1px solid rgb(191 201 193 / 0.18);
  border-radius: 2.5rem;
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: 100%;
  box-shadow: 0 8px 24px rgb(19 93 65 / 0.05);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  position: relative;
}

.landing-body .testimonial-quote {
  margin: 0;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--landing-text);
  opacity: 0.85;
  font-style: italic;
}

.landing-body .testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}

.landing-body .testimonial-author strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--landing-text);
}

.landing-body .testimonial-location {
  display: block;
  font-size: 0.7rem;
  color: var(--landing-muted);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.7;
}

.landing-body .testimonial-avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 800;
  color: #fff;
  background: var(--landing-primary);
  flex-shrink: 0;
  overflow: hidden;
}

.landing-body .testimonial-avatar--photo,
.landing-body .testimonial-avatar img {
  padding: 0;
  object-fit: cover;
  width: 3rem;
  height: 3rem;
  display: block;
}

.landing-body .testimonial-saved {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--landing-primary);
}

.landing-body .testimonials-dots {
  display: flex;
  justify-content: center;
  gap: 0.65rem;
  margin-top: 0.25rem;
}

.landing-body .testimonials-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: rgb(var(--landing-primary-rgb) / 0.2);
  transition: width 0.25s ease, background 0.25s ease;
}

.landing-body .testimonials-dot.is-active {
  width: 2.25rem;
  background: var(--landing-primary);
}

.landing-body .community--loading .testimonial-card--skeleton .testimonial-quote {
  min-height: 72px;
  border-radius: 8px;
  background: linear-gradient(90deg, rgb(20 30 27 / 0.05), rgb(20 30 27 / 0.1), rgb(20 30 27 / 0.05));
  background-size: 200% 100%;
  animation: landing-shimmer 1.2s ease-in-out infinite;
}

@keyframes landing-shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* ─── Footer ─── */
.landing-body .site-footer {
  scroll-margin-top: 120px;
  padding: clamp(64px, 10vw, 110px) 0 2.5rem;
  background: #0b241b;
  color: rgb(255 255 255 / 0.75);
  text-align: left;
  font-size: 0.95rem;
}

.landing-body .site-footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 0.7fr)) minmax(0, 1.2fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
  border-bottom: 1px solid rgb(255 255 255 / 0.06);
  margin-bottom: 2rem;
}

.landing-body .footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: #fff;
  font-weight: 800;
  font-size: 1.35rem;
  margin-bottom: 1.25rem;
}

.landing-body .footer-logo-img {
  width: 2.5rem;
  height: 2.5rem;
  object-fit: contain;
  border-radius: 0.85rem;
  background: #fff;
}

.landing-body .footer-brand-copy {
  margin: 0;
  max-width: 28rem;
  line-height: 1.65;
  color: rgb(255 255 255 / 0.5);
  font-size: 1rem;
}

.landing-body .footer-col-title {
  margin: 0 0 1.25rem;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
}

.landing-body .footer-col-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.landing-body .footer-col-list a {
  color: rgb(255 255 255 / 0.42);
  text-decoration: none;
  transition: color 0.2s ease;
}

.landing-body .footer-col-list a:hover {
  color: #fff;
}

.landing-body .footer-newsletter {
  background: rgb(255 255 255 / 0.05);
  border: 1px solid rgb(255 255 255 / 0.1);
  border-radius: 2.5rem;
  padding: 1.75rem;
}

.landing-body .footer-newsletter-copy {
  margin: 0 0 1.25rem;
  color: rgb(255 255 255 / 0.42);
  font-size: 0.95rem;
}

.landing-body .footer-newsletter-form {
  position: relative;
}

.landing-body .footer-newsletter-form input {
  width: 100%;
  border-radius: 999px;
  border: 1px solid rgb(255 255 255 / 0.12);
  background: rgb(255 255 255 / 0.05);
  color: #fff;
  padding: 1rem 3.5rem 1rem 1.25rem;
  font: inherit;
  outline: none;
}

.landing-body .footer-newsletter-form input::placeholder {
  color: rgb(255 255 255 / 0.28);
}

.landing-body .footer-newsletter-form input:focus {
  border-color: var(--landing-primary);
}

.landing-body .footer-newsletter-submit {
  position: absolute;
  right: 0.35rem;
  top: 0.35rem;
  bottom: 0.35rem;
  width: 2.75rem;
  border: none;
  border-radius: 999px;
  background: var(--landing-primary);
  color: #fff;
  cursor: pointer;
  font-size: 1.1rem;
  transition: transform 0.2s ease;
}

.landing-body .footer-newsletter-submit:hover {
  transform: scale(1.05);
}

.landing-body .site-footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  text-align: left;
}

.landing-body .footer-copy {
  margin: 0;
  color: rgb(255 255 255 / 0.32);
  font-size: 0.875rem;
}

.landing-body .footer-legal {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.landing-body .footer-legal a {
  color: rgb(255 255 255 / 0.45);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.8rem;
}

.landing-body .footer-legal a:hover {
  color: #fff;
}

.landing-body .footer-dot {
  opacity: 0.35;
  user-select: none;
}

/* ─── Responsive ─── */
@media (max-width: 1100px) {
  .landing-body .carousel-nav--prev {
    left: -0.5rem;
  }

  .landing-body .carousel-nav--next {
    right: -0.5rem;
  }
}

@media (max-width: 1024px) {
  .landing-body .hero-content,
  .landing-body .feature-grid,
  .landing-body .community-layout,
  .landing-body .testimonials,
  .landing-body .site-footer-grid {
    grid-template-columns: 1fr;
  }

  .landing-body .site-footer-grid {
    gap: 1.75rem;
  }

  .landing-body .footer-brand,
  .landing-body .footer-col,
  .landing-body .footer-newsletter {
    min-width: 0;
  }

  .landing-body .community-stat h2 {
    max-width: none;
  }

  .landing-body .active-users-card {
    max-width: none;
  }

  .landing-body .hero-visual {
    justify-self: center;
    width: 100%;
    min-height: 560px;
  }

  .landing-body .hero-text {
    text-align: center;
    align-items: center;
  }

  .landing-body .hero-text p {
    margin-left: auto;
    margin-right: auto;
  }

  .landing-body .hero-buttons {
    justify-content: center;
  }

  .landing-body .site-footer-inner {
    justify-content: center;
    text-align: center;
  }

  .landing-body .footer-legal {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .landing-body header.site-header {
    top: 0.85rem;
    width: min(94%, 1100px);
  }

  .landing-body header.site-header.is-compact {
    top: 0.55rem;
  }

  .landing-body .landing-menu-btn {
    display: inline-flex;
    justify-self: end;
    grid-column: 2;
    grid-row: 1;
  }

  .landing-body .nav-cta {
    display: none;
  }

  .landing-body .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 0.65rem);
    right: 0;
    left: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
    padding: 0.65rem;
    background: rgb(255 255 255 / 0.97);
    border: 1px solid rgb(19 93 65 / 0.08);
    border-radius: 1.25rem;
    box-shadow: var(--landing-shadow);
    z-index: 40;
  }

  .landing-body .nav-links.is-open {
    display: flex;
  }

  .landing-body .landing-nav-cta-item {
    display: list-item;
  }

  .landing-body .nav-links a {
    display: block;
    padding: 0.75rem 0.9rem;
    border-radius: 0.85rem;
  }

  .landing-body .nav-links a:hover {
    background: rgb(var(--landing-primary-rgb) / 0.08);
  }

  .landing-body .navbar {
    grid-template-columns: 1fr auto;
    position: relative;
    padding: 0.7rem 1rem;
  }

  .landing-body .logo span {
    display: none;
  }

  .landing-body .product-preview-row {
    grid-template-columns: 1fr auto;
  }

  .landing-body .product-preview-save {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .landing-body .container {
    padding: 0 16px;
  }

  .landing-body .cards-carousel {
    height: 460px;
  }

  .landing-body .carousel-nav {
    top: auto;
    bottom: -0.25rem;
  }

  .landing-body .carousel-nav--prev {
    left: calc(50% - 4.5rem);
  }

  .landing-body .carousel-nav--next {
    right: calc(50% - 4.5rem);
  }

  .landing-body .carousel-toggle {
    bottom: -4.75rem;
  }

  .landing-body .hero-visual {
    min-height: 580px;
    padding-bottom: 3rem;
  }
}

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

  .landing-body .carousel-card,
  .landing-body .feature-card,
  .landing-body .btn,
  .landing-body .hero-float-plus {
    transition: none !important;
    animation: none !important;
  }
}
