body.marketing-layout {
  background-color: var(--app-background-solid);
  background-image: var(--app-body-gradient), var(--app-body-pattern);
  background-size: cover, var(--app-body-pattern-size);
  background-repeat: no-repeat, repeat;
  background-attachment: fixed, fixed;
  color: var(--app-text-secondary);
}

.marketing-layout__background {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
  background: linear-gradient(140deg, rgba(18, 18, 20, 0.96), rgba(6, 6, 8, 0.98));
}

.marketing-layout__background::before,
.marketing-layout__background::after {
  content: "";
  position: absolute;
  inset: 0;
}

.marketing-layout__background::before {
  background: linear-gradient(155deg, rgba(20, 20, 24, 0.9), rgba(8, 8, 12, 0.96));
}

.marketing-layout__background::after {
  background-image:
    radial-gradient(65% 70% at 20% 15%, rgba(140, 140, 148, 0.08), transparent 70%),
    radial-gradient(60% 65% at 80% 25%, rgba(110, 110, 118, 0.07), transparent 72%),
    radial-gradient(55% 60% at 50% 95%, rgba(140, 140, 148, 0.06), transparent 80%);
  opacity: 0.58;
}

.nav-link-base {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding-bottom: 0.15rem;
  transition: color 0.25s ease;
}

.nav-link-base::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.65rem;
  height: 2px;
  background: var(--app-accent-trail);
  transform: scaleX(0.4);
  opacity: 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-link-base:hover::after {
  opacity: 0.45;
  transform: scaleX(1);
}

.nav-link-active {
  color: var(--app-text-primary) !important;
}

.nav-link-active::after {
  opacity: 1;
  transform: scaleX(1);
  background: linear-gradient(90deg, var(--app-accent), var(--app-accent-strong));
}

.glass-panel {
  background: var(--app-surface-glass-gradient);
  border: 1px solid var(--app-surface-border-soft);
  box-shadow: var(--app-surface-shadow);
  -webkit-backdrop-filter: blur(1.125rem);
          backdrop-filter: blur(1.125rem);
}

.gradient-divider {
  width: 100%;
  height: 1px;
  background: var(--app-surface-divider);
}

.button-glow {
  box-shadow: 0 12px 45px var(--app-accent-glow);
}

.section-heading {
  font-size: clamp(2rem, 2vw + 1rem, 3.25rem);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.body-text {
  color: var(--app-text-secondary);
  font-size: 1.05rem;
  line-height: 1.75;
}

footer .footer-link {
  color: var(--app-text-muted);
  transition: color 0.2s ease;
}

footer .footer-link:hover {
  color: var(--app-text-primary);
}

@media (max-width: 768px) {
  .nav-link-base::after {
    bottom: -0.4rem;
  }
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  max-width: 420px;
  width: calc(100% - 3rem);
  background: var(--app-surface-panel-strong);
  border: 1px solid var(--app-surface-border-soft);
  border-radius: 1.25rem;
  box-shadow: var(--app-cookie-shadow);
  -webkit-backdrop-filter: blur(0.875rem);
          backdrop-filter: blur(0.875rem);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  color: var(--app-text-secondary);
  z-index: 1080;
}

.cookie-banner__title {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 0 0.35rem;
  color: var(--app-text-primary);
}

.cookie-banner__body {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: flex-end;
}

.cookie-banner__button {
  background: linear-gradient(135deg, var(--app-accent-solid), var(--app-accent-strong-solid));
  color: var(--app-text-inverse);
  border: none;
  border-radius: 999px;
  padding: 0.55rem 1.6rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 12px 32px var(--app-accent-glow);
}

.cookie-banner__button:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px var(--app-accent-strong-glow);
}

.cookie-banner__link {
  font-size: 0.9rem;
  color: var(--app-text-muted);
}

.cookie-banner__link:hover {
  color: var(--app-text-primary);
}

.marketing-header {
  background: linear-gradient(180deg, rgba(8, 9, 14, 0.95), rgba(8, 9, 14, 0.88));
  border-bottom: 1px solid rgba(148, 163, 184, 0.08);
  -webkit-backdrop-filter: blur(1.25rem);
          backdrop-filter: blur(1.25rem);
}

.marketing-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: none;
  background: transparent;
  box-shadow: none;
  vertical-align: middle;
}

.marketing-logo .app-logo-letter {
  font-size: 2.8rem;
  -webkit-text-stroke: 0.15rem rgba(148, 163, 184, 0.9);
}

.marketing-cta-primary,
.marketing-cta-secondary {
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.01));
  color: var(--app-text-primary);
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 14px 28px rgba(5, 6, 15, 0.45);
}

.marketing-cta-primary {
  border-color: rgba(36, 208, 255, 0.35);
  background: linear-gradient(150deg, rgba(36, 208, 255, 0.16), rgba(36, 208, 255, 0.05));
  color: var(--app-text-primary);
}

.marketing-cta-primary:hover {
  border-color: rgba(36, 208, 255, 0.55);
  box-shadow: 0 18px 36px rgba(9, 12, 20, 0.6);
  color: var(--app-text-primary);
}

.marketing-cta-secondary {
  border-color: rgba(255, 255, 255, 0.08);
}

.marketing-cta-secondary:hover {
  border-color: rgba(148, 163, 184, 0.4);
  color: var(--app-text-primary);
}

.marketing-menu-button {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  color: var(--app-text-primary);
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.marketing-menu-button:hover {
  border-color: rgba(36, 208, 255, 0.4);
  color: var(--app-text-primary);
}

@media (prefers-reduced-motion: no-preference) {
  .marketing-layout__background {
    background-size: 140% 140%, var(--app-body-pattern-size);
    animation: marketing-bg-pan 24s ease-in-out infinite alternate;
  }

  .marketing-layout__background::after {
    animation: marketing-bg-glow 18s ease-in-out infinite;
  }

  .motion-fade-in {
    opacity: 0;
    transform: translateY(22px);
    animation: marketing-fade-in 0.85s ease forwards;
  }

  .motion-card-hover {
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  }

  .motion-card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 14px 46px rgba(0, 0, 0, 0.18), 0 4px 18px rgba(0, 0, 0, 0.16);
    border-color: rgba(255, 255, 255, 0.12);
  }

  .motion-delay-1 { animation-delay: 0.08s; }
  .motion-delay-2 { animation-delay: 0.16s; }
  .motion-delay-3 { animation-delay: 0.24s; }
  .motion-delay-4 { animation-delay: 0.32s; }
}

@keyframes marketing-bg-pan {
  from { background-position: 0% 30%, 0% 0%; }
  to { background-position: 80% 10%, 0% 0%; }
}

@keyframes marketing-bg-glow {
  0% { opacity: 0.52; filter: saturate(1); }
  50% { opacity: 0.72; filter: saturate(1.08); }
  100% { opacity: 0.52; filter: saturate(1); }
}

@keyframes marketing-fade-in {
  0% { opacity: 0; transform: translateY(22px); }
  100% { opacity: 1; transform: translateY(0); }
}

@media (max-width: 640px) {
  .cookie-banner {
    right: 1rem;
    left: 1rem;
    width: auto;
    border-radius: 1rem;
  }
  .cookie-banner__actions {
    justify-content: space-between;
  }
}
